Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions _templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
{%- endif %}
{% endblock %}

{#- The theme prints each css_files entry as a string, which Sphinx 9
no longer allows. css_tag renders the stylesheet objects Sphinx
passes instead. -#}

{% block css %}
{%- for css in css_files %}
{{ css_tag(css) }}
{%- endfor %}
{%- endblock %}

{% block footer %}

<div class="footer">
Expand Down
4 changes: 0 additions & 4 deletions conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import re
import warnings

from docutils import nodes
from docutils.parsers.rst import roles
from sphinx.deprecation import RemovedInSphinx90Warning
from sphinx.transforms import SphinxTransform

warnings.filterwarnings("ignore", category=RemovedInSphinx90Warning)

# No version in the name: under sphinx-polyversion the switcher shows it,
# and a hardcoded one goes stale on the branches that change version.
project = "publiccode.yml Standard"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.8.0"
# https://github.com/astral-sh/uv/pull/13510
requires-python = "==3.14.*"
dependencies = [
"sphinx==8.2.3",
"sphinx==9.2.0",
"sphinx-autobuild>=2025.8.25",
"sphinx-copybutton>=0.5.2",
"sphinx-polyversion>=2.0.0",
Expand Down
30 changes: 15 additions & 15 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.