Merge pull request #4922 from hroncok/add_object_type

Remove deprecated Sphinx directive add_description_unit()
This commit is contained in:
Bruno Oliveira 2019-03-14 12:31:34 -03:00 committed by GitHub
commit 36f774a8fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Remove deprecated Sphinx directive, ``add_description_unit()``.

View File

@ -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",