Skip to content

Commit 05ad8a0

Browse files
Bump version 0.13.1
1 parent a8211f6 commit 05ad8a0

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff 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
77
name = "ansys-sphinx-theme"
8-
version = "0.13.0"
8+
version = "0.13.1"
99
description = "A theme devised by ANSYS, Inc. for Sphinx documentation."
1010
readme = "README.rst"
1111
requires-python = ">=3.9,<4"
@@ -26,7 +26,7 @@ classifiers = [
2626
]
2727
dependencies = [
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
]

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html

+13-12
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,22 @@
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
>

0 commit comments

Comments
 (0)