-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(docs): overall improvements #3129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docs): overall improvements #3129
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #3129 +/- ##
=======================================
Coverage 99.14% 99.14%
=======================================
Files 212 212
Lines 3860 3860
Branches 1153 1153
=======================================
Hits 3827 3827
Misses 26 26
Partials 7 7 Continue to review full report at Codecov.
|
…ootstrap-vue into fix-docs-improvements
Just noticed that scrollspy is not detecting the newer nested structure of the TOC section, keeping the H2 links active when the H3 links are also active. Will check on what has changed in the structure. Typically is looks for the following sibling structure: <ul>
<li>...</li> <!-- h2 -->
<li>...</li> <!-- h2 -->
<li>...</li> <!-- h2 -->
<ul> <!-- subsection of previous h2 -->
<li>...</li> <!-- h3 -->
<li>...</li> <!-- h3 -->
</ul>
<li>...</li> <!-- h2 -->
<ul> <!-- subsection of previous <li> -->
<li>...</li> <!-- h3 -->
<li>...</li> <!-- h3 -->
</ul>
</ul> As nested |
@tmorehouse The new structure is the one used by Bootstrap. |
But it doesn't follow their recommended structure for ScrollSpy navs (of which they are not using on the TOC because of their incorrect nested nav structure) |
The LI with the nested UL is not receiving the 'active' class (although the |
Just checked ScrollSpy code at Bootstrap V4 repo, and they have the same issue with scrollspy not setting the active state on the nested |
Move font-weight bold class to the nav-link for top TOC heading link
Describe the PR
This PR makes some overall improvements to the docs.
PR checklist
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
dev
branch, not themaster
branch[...] (fixes #xxx[,#xxx])
, where "xxx" is the issue number)fix(alert): not alerting during SSR render
,docs(badge): update pill examples, fix typos
,chore: fix typo in README
, etc). This is very important, as theCHANGELOG
is generated from these messages.If new features/enhancement/fixes are added or changed:
package.json
for slot and event changes)If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes: