Skip to content
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 navigation.tabs for non-leaf pages #406

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"custom-property-empty-line-before": null,
"custom-property-pattern": null,
"declaration-colon-space-after": null,
"declaration-no-important": true,
"declaration-no-important": null,
"declaration-block-single-line-max-declarations": 0,
"function-calc-no-unspaced-operator": null,
"function-no-unknown": null,
Expand Down
4 changes: 2 additions & 2 deletions src/assets/stylesheets/main/layout/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
// sphinx-immaterial: hide nested nav items of current page, since
// they are redundant with integrated toc.
&__current-nested {
display: none;
display: none !important;
}

// Show link to table of contents
Expand Down Expand Up @@ -514,7 +514,7 @@

// sphinx-immaterial: hide integreated toc, since it is redundant with any nested items.
&__current-toc {
display: none;
display: none !important;
}

// Navigation title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ some_module.method_name(
some_parameter_with_a_long_name: collections.abc.MutableMapping[
tuple[str, float, numbers.Real],
dict[int, tuple[list[frozenset[int]]]],
]
],
) -> collections.abc.MutableMapping[
tuple[str, float, numbers.Real],
dict[int, tuple[list[frozenset[int]]]],
Expand Down