Skip to content

Commit 36f774a

Browse files
authored
Merge pull request #4922 from hroncok/add_object_type
Remove deprecated Sphinx directive add_description_unit()
2 parents a2b921f + 134b957 commit 36f774a

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)