Remove deprecated Sphinx directive add_description_unit()

Partial solution for https://github.com/pytest-dev/pytest/issues/4912
This commit is contained in:
Miro Hrončok 2019-03-14 12:15:05 +01:00
parent 74416525d2
commit 134b957bf4
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",