Skip to content

Commit

Permalink
Replace deprecated API
Browse files Browse the repository at this point in the history
The 'add_description_unit' is deprecated for removal in Sphinx 2.0. Get
ahead of the curve and use its replacement now.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin authored and gaborbernat committed Jun 19, 2018
1 parent 24f805e commit 116afb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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 116afb1

Please sign in to comment.