File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
src/ansys_sphinx_theme/theme/ansys_sphinx_theme Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55[project ]
66# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77name = " ansys-sphinx-theme"
8- version = " 0.13.0 "
8+ version = " 0.13.1 "
99description = " A theme devised by ANSYS, Inc. for Sphinx documentation."
1010readme = " README.rst"
1111requires-python = " >=3.9,<4"
@@ -26,7 +26,7 @@ classifiers = [
2626]
2727dependencies = [
2828 " Sphinx>=4.2.0" ,
29- " pydata-sphinx-theme>=0.14.0 " ,
29+ " pydata-sphinx-theme>=0.14,<0.15 " ,
3030 " Jinja2>=3.1.2" ,
3131 " importlib-metadata>=4.0" ,
3232]
Original file line number Diff line number Diff line change 1919 id ="__secondary "
2020/>
2121< label class ="overlay overlay-secondary " for ="__secondary "> </ label >
22- < header >
23- {%- if theme_announcement -%} {% include "sections/announcement.html" %} {%-
24- endif %} {% block docs_navbar %}
25- < nav class ="bd-header navbar navbar-expand-lg bd-navbar ">
26- {%- include "sections/header.html" %}
27- </ nav >
28- {% endblock docs_navbar %}
29- </ header >
22+ <!-- header-- >
23+ {%- if theme_announcement -%} {% include "sections/announcement.html" %} {%-
24+ endif %} {% block docs_navbar %}
25+ < nav class ="bd-header navbar navbar-expand-lg bd-navbar ">
26+ {%- include "sections/header.html" %}
27+ </ nav >
28+ {% endblock docs_navbar %}
29+ <!-- /header -- >
3030< div class ="bd-container ">
3131 < div class ="bd-container__inner bd-page-width ">
3232 {# Primary sidebar #} {# If we have no sidebar TOC, pop the TOC component
33- from the sidebar list #} {% if
34- get_sidebar_toctree_length(show_nav_level=theme_show_nav_level|int) == 0 %}
35- {% set sidebars = sidebars | reject("in", "sidebar-nav-bs.html") | list %}
36- {% endif %}
33+ from the sidebar list #} {# % if
34+ get_sidebar_toctree_length(show_nav_level=theme_show_nav_level|int) == 0 %
35+ #} {# % set sidebars = sidebars | reject("in", "sidebar-nav-bs.html") | list
36+ % #} {# % endif % #}
37+
3738 < div
3839 class ="bd-sidebar-primary bd-sidebar{% if not sidebars %} hide-on-wide{% endif %} "
3940 >
You can’t perform that action at this time.
0 commit comments