Simplfy the sidebar html and css, and then allow the text to wrap
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> Upstream-commit: c237f9f201bbf5c4b06fbfd65254eb2af75e136f Component: engine
This commit is contained in:
7
components/engine/docs/theme/mkdocs/toc.html
vendored
7
components/engine/docs/theme/mkdocs/toc.html
vendored
@ -1,8 +1,11 @@
|
||||
{% for toc_item in toc %}
|
||||
{% for toc_h2_item in toc_item.children %}
|
||||
<li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a></li>
|
||||
<li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a>
|
||||
<ul>
|
||||
{% for toc_h3_item in toc_h2_item.children %}
|
||||
<h3><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></h3>
|
||||
<li><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user