-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs assets and config (#612)
- Loading branch information
Showing
6 changed files
with
126 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% block docs_sidebar %} | ||
{% if sidebars %} | ||
<!-- Only show if we have sidebars configured, else just a small margin --> | ||
<div class="bd-sidebar-primary col-12 col-md-2 bd-sidebar"> | ||
<div class="sidebar-start-items"> | ||
{%- for sidebartemplate in sidebars %} | ||
{%- include sidebartemplate %} | ||
{%- endfor %} | ||
</div> | ||
<div class="sidebar-end-items"> | ||
{%- for leftsidebartemplate in theme_left_sidebar_end %} | ||
{%- include leftsidebartemplate %} | ||
{%- endfor %} | ||
</div> | ||
</div> | ||
{% else %} | ||
<div class="sidebar-primary col-12 col-md-1 col-xl-2 bd-sidebar no-sidebar"></div> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}"> | ||
<div class="bd-toc-item active"> | ||
{{ generate_nav_html("sidebar", | ||
show_nav_level=theme_show_nav_level|int, | ||
maxdepth=theme_navigation_depth|int, | ||
collapse=theme_collapse_navigation|tobool, | ||
includehidden=True, | ||
startdepth=0, | ||
titles_only=True) }} | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters