mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-15 22:13:31 -06:00
Fix invalid CSS rules in head elements (#1368)
Rectify and simplify CSS rules used in the head element. The rules now avoid the invalid use of nested `:not()` pseudo-classes. - Update CHANGELOG.md - Remove ignore statements re CSS parse errors - Add rules for excluded pages and simplify - Add `activation_no_nav_link` with the rules for excluded pages - Insert `activation_no_nav_link` when no other rules are generated - Replace `:nth-child(1)` by `:first-child` - Correct `:nth-child(n + {{ activation_index | plus: 1 }})` to `:not(:first-child)` - Eliminate `activation_collection_index` - Generate `.nav-category-list` selectors only for sites with collections --------- Co-authored-by: Matt Wang <matt@matthewwang.me>
This commit is contained in:
@@ -27,6 +27,7 @@ Code changes to `main` that are *not* in the latest release:
|
||||
- Fixed: improve build time by [@pdmosses] in [#1358]
|
||||
- Fixed: erroneous parentheses in `site_nav` conditional by [@mattxwang] in [#1366]
|
||||
- Fixed: navigation scroll to active link regression by [@pdmosses] in [#1367]
|
||||
- Fixed: invalid CSS rules in head elements by [@pdmosses] in [#1368]
|
||||
|
||||
{: .warning }
|
||||
[#1358] moved `_includes/nav.html` to the `_includes/components` directory,
|
||||
@@ -49,6 +50,7 @@ Users who were overriding that file will need to adjust their sites accordingly.
|
||||
[#1360]: https://github.com/just-the-docs/just-the-docs/pull/1360
|
||||
[#1366]: https://github.com/just-the-docs/just-the-docs/pull/1366
|
||||
[#1367]: https://github.com/just-the-docs/just-the-docs/pull/1367
|
||||
[#1368]: https://github.com/just-the-docs/just-the-docs/pull/1368
|
||||
[#1377]: https://github.com/just-the-docs/just-the-docs/pull/1377
|
||||
|
||||
## Release v0.6.2
|
||||
|
Reference in New Issue
Block a user