Merge pull request #4922 from hroncok/add_object_type
Remove deprecated Sphinx directive add_description_unit()
This commit is contained in:
commit
36f774a8fb
|
@ -0,0 +1 @@
|
|||
Remove deprecated Sphinx directive, ``add_description_unit()``.
|
|
@ -335,7 +335,7 @@ intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
|
|||
def setup(app):
|
||||
# from sphinx.ext.autodoc import cut_lines
|
||||
# app.connect('autodoc-process-docstring', cut_lines(4, what=['module']))
|
||||
app.add_description_unit(
|
||||
app.add_object_type(
|
||||
"confval",
|
||||
"confval",
|
||||
objname="configuration value",
|
||||
|
|
Loading…
Reference in New Issue