forked from docs/docsportal
Compare commits
2 Commits
main
...
upd_proces
Author | SHA1 | Date | |
---|---|---|---|
45bfb57c5e | |||
4414028f18 |
@ -47,12 +47,3 @@
|
||||
.navigator-container .card li {
|
||||
padding: 0.2rem 1rem;
|
||||
}
|
||||
|
||||
/* A "nice" workaround to let us keep l2 level permanently open
|
||||
* but hide child ul's not underneath current selection.
|
||||
* The only eventually open issue is that this way the whole child tree is
|
||||
* open including all subtrees.
|
||||
*/
|
||||
.docs-sidebar-toc li.toctree-l2:not(.current) > ul {
|
||||
display: none;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
{%- if theme_sidebar_mode == 'toc' %}
|
||||
{{ toc }}
|
||||
{%- elif theme_sidebar_mode == 'toctree' %}
|
||||
{{ toctree(maxdepth=3, includehidden=True, collapse=False, titles_only=True) }}
|
||||
{{ toctree(maxdepth=2,includehidden=True, collapse=False) }}
|
||||
{%- endif %}
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user