Skip to content

Commit 41179d5

Browse files
committed
doc: use builtin confval directive
Since version 7.4, Sphinx had a standard `confval` directive: https://www.sphinx-doc.org/en/master/usage/domains/standard.html#directive-confval So we can drop our custom one.
1 parent 922b603 commit 41179d5

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

changelog/14012.packaging.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sphinx>=7.4 is now required to build the documentation.

doc/en/conf.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,6 @@ def setup(app: sphinx.application.Sphinx) -> None:
279279
indextemplate="pair: %s; fixture",
280280
)
281281

282-
app.add_object_type(
283-
"confval",
284-
"confval",
285-
objname="configuration value",
286-
indextemplate="pair: %s; configuration value",
287-
)
288-
289282
app.add_object_type(
290283
"globalvar",
291284
"globalvar",

doc/en/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pluggy>=1.5.0
33
pygments-pytest>=2.5.0
44
sphinx-removed-in>=0.2.0
5-
sphinx>=7
5+
sphinx>=7.4
66
sphinxcontrib-trio
77
sphinxcontrib-svg2pdfconverter
88
furo

0 commit comments

Comments
 (0)