Skip to content

Commit 5c91295

Browse files
mikedep333blueyed
authored andcommitted
Remove deprecated Sphinx directive add_description_unit() (#714)
Sphinx 2.0 dropped support for it. See pytest-dev/pytest#4922
1 parent 5a79fba commit 5c91295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
def setup(app):
5252
# Allow linking to pytest's confvals.
53-
app.add_description_unit(
53+
app.add_object_type(
5454
"confval",
5555
"pytest-confval",
5656
objname="configuration value",

0 commit comments

Comments
 (0)