From c3277ee862444b81d91d81f75e0d906809ba83ba Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Thu, 11 Jan 2024 10:13:17 +0100 Subject: [PATCH 1/2] WIP: test main of pydata-sphinx-theme --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3b98ca05..0fa427bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,8 @@ classifiers = [ ] dependencies = [ "Sphinx>=4.2.0", - "pydata-sphinx-theme>=0.14.0", + "pydata-sphinx-theme@git+https://github.com/pydata/pydata-sphinx-theme#egg=main", + # "pydata-sphinx-theme>=0.14.0", "Jinja2>=3.1.2", "importlib-metadata>=4.0", ] From a4be3ad60cf116823727d69a8ec0ba2479e7ae3c Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Thu, 11 Jan 2024 10:13:42 +0100 Subject: [PATCH 2/2] WIP: apply side_bar changes --- src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html index 77e996aa..7a6f74f4 100644 --- a/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html +++ b/src/ansys_sphinx_theme/theme/ansys_sphinx_theme/search.html @@ -31,7 +31,7 @@
{# Primary sidebar #} {# If we have no sidebar TOC, pop the TOC component from the sidebar list #} {% if - get_sidebar_toctree_length(show_nav_level=theme_show_nav_level|int) == 0 %} + missing_sidebar_toctree(show_nav_level=theme_show_nav_level | int) == 0 %} {% set sidebars = sidebars | reject("in", "sidebar-nav-bs.html") | list %} {% endif %}