summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2023-01-06 10:31:01 +0100
committerJustin Mayer <entroP@gmail.com>2023-01-06 10:31:01 +0100
commit4d82a42229c4065a989bb7536cdd5cf56e7dc746 (patch)
treee2e1df90088bfa954e71b5e927056c72d4d561ff
parentff665de3ca9224829a445ee355e919592093af16 (diff)
downloadpelican-4d82a42229c4065a989bb7536cdd5cf56e7dc746.tar.gz
Upgrade Furo theme to 2022.12.07. Refs #3077
Should fix "Previous" and "Next" arrow styling issue.
-rw-r--r--docs/_templates/page.html8
-rw-r--r--pyproject.toml2
2 files changed, 6 insertions, 4 deletions
diff --git a/docs/_templates/page.html b/docs/_templates/page.html
index c238b54c..233f43ad 100644
--- a/docs/_templates/page.html
+++ b/docs/_templates/page.html
@@ -102,12 +102,12 @@
</div>
<div class="title">{{ next.title }}</div>
</div>
- <svg><use href="#svg-arrow-right"></use></svg>
+ <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
</a>
{%- endif %}
{% if prev -%}
<a class="prev-page" href="{{ prev.link }}">
- <svg><use href="#svg-arrow-right"></use></svg>
+ <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>{{ _("Previous") }}</span>
@@ -145,6 +145,7 @@
{%- endif %}
</div>
<div class="right-details">
+ {% if theme_footer_icons or READTHEDOCS -%}
<div class="icons">
{% if theme_footer_icons -%}
{% for icon_dict in theme_footer_icons -%}
@@ -171,6 +172,7 @@
{%- endif -%}
{%- endif %}
</div>
+ {%- endif %}
</div>
</div>
{% endblock footer %}
@@ -182,7 +184,7 @@
<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
- {{ _("Contents") }}
+ {{ _("On this page") }}
</span>
</div>
<div class="toc-tree-container">
diff --git a/pyproject.toml b/pyproject.toml
index 4c41abec..002ebfff 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,7 +49,7 @@ lxml = "^4.3"
markdown = "~3.3.7"
typogrify = "^2.0"
sphinx = "^5.1"
-furo = "2022.06.21"
+furo = "2022.12.07"
livereload = "^2.6"
psutil = {version = "^5.7", optional = true}
pygments = "~2.8"