Skip to content

Commit f443bf2

Browse files
committed
Improvements
1 parent 7411917 commit f443bf2

File tree

3 files changed

+175
-250
lines changed

3 files changed

+175
-250
lines changed

changelog/4492.doc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Added comprehensive CLI options reference documentation in the reference section, documenting all command-line flags with detailed descriptions and examples. Added a new ``:optionval:`` role for cross-referencing CLI options throughout the documentation.
1+
The API Reference now contains cross-reference-able documentation of :ref:`pytest's command-line-options <command-line-options>`.

doc/en/conf.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,6 @@ def setup(app: sphinx.application.Sphinx) -> None:
293293
indextemplate="pair: %s; global variable interpreted by pytest",
294294
)
295295

296-
app.add_object_type(
297-
"optionval",
298-
"optionval",
299-
objname="command-line option",
300-
indextemplate="pair: %s; command-line option",
301-
)
302-
303296
app.add_crossref_type(
304297
directivename="hook",
305298
rolename="hook",

0 commit comments

Comments
 (0)