Skip to content

Commit c26c145

Browse files
authored
Merge pull request #14012 from bluetech/doc-confval
doc: use builtin `confval` directive, add `:type:` and `:default:`
2 parents 48fcc26 + eb8249a commit c26c145

3 files changed

Lines changed: 121 additions & 83 deletions

File tree

changelog/14012.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The :ref:`ini options ref` section of the API Reference now specified the type and default value of every configuration option.

doc/en/conf.py

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

286-
app.add_object_type(
287-
"confval",
288-
"confval",
289-
objname="configuration value",
290-
indextemplate="pair: %s; configuration value",
291-
)
292-
293286
app.add_object_type(
294287
"globalvar",
295288
"globalvar",

0 commit comments

Comments
 (0)