Skip to content

Commit 134b957

Browse files
committed
Remove deprecated Sphinx directive add_description_unit()
Partial solution for #4912
1 parent 7441652 commit 134b957

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/4912.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated Sphinx directive, ``add_description_unit()``.

doc/en/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
def setup(app):
336336
# from sphinx.ext.autodoc import cut_lines
337337
# app.connect('autodoc-process-docstring', cut_lines(4, what=['module']))
338-
app.add_description_unit(
338+
app.add_object_type(
339339
"confval",
340340
"confval",
341341
objname="configuration value",

0 commit comments

Comments
 (0)