Skip to content

Commit

Permalink
Remove deprecated Sphinx directive add_description_unit()
Browse files Browse the repository at this point in the history
Partial solution for pytest-dev#4912
  • Loading branch information
hroncok committed Mar 14, 2019
1 parent 7441652 commit 134b957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/4912.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove deprecated Sphinx directive, ``add_description_unit()``.
2 changes: 1 addition & 1 deletion doc/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
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",
Expand Down

0 comments on commit 134b957

Please sign in to comment.