From d919efbe5af441229a728ed4217c6300a3db1d16 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Tue, 14 May 2024 16:14:34 +0200 Subject: [PATCH] Upgrade docs to Sphinx 6.x & Furo theme 2024.04.27 --- docs/_templates/page.html | 34 +++++++++++++++++----------------- docs/requirements.txt | 4 ++-- pyproject.toml | 4 ++-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/_templates/page.html b/docs/_templates/page.html index 8f6fb93..6447336 100644 --- a/docs/_templates/page.html +++ b/docs/_templates/page.html @@ -13,6 +13,12 @@
Hide table of contents sidebar
+ + {%- trans -%} + Skip to content + {%- endtrans -%} + + {% if theme_announcement -%}
{{ next.title }}
- + {%- endif %} {% if prev -%} - +
{{ _("Previous") }} @@ -153,6 +151,7 @@ {%- endif %}
+ {% if theme_footer_icons or READTHEDOCS -%}
{% if theme_footer_icons -%} {% for icon_dict in theme_footer_icons -%} @@ -179,6 +178,7 @@ {%- endif -%} {%- endif %}
+ {%- endif %}
{% endblock footer %} @@ -190,7 +190,7 @@
- {{ _("Contents") }} + {{ _("On this page") }}
diff --git a/docs/requirements.txt b/docs/requirements.txt index dfa1434..3e2d227 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -furo==2022.04.07 -sphinx==4.5.0 +furo==2024.04.27 +sphinx==6.2.1 diff --git a/pyproject.toml b/pyproject.toml index 18cea1e..41f35c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ webauthn = "^1.6.0" black = "^23.3" flake8 = "^5.0" Flake8-pyproject = "^1.2.3" -furo = "2022.04.07" +furo = "2024.04.27" invoke = "^2.0" isort = "^5.11" livereload = "^2.6" @@ -53,7 +53,7 @@ pytest-cov = "^3.0" pytest-django = "^4.0" pytest-sugar = "^0.9" pytest-xdist = "^2.1" -sphinx = "^4.0" +sphinx = "^6.0" Werkzeug = "^2.0" [tool.autopub]