Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Working on scipy doc building I get thisdeprecation warning when running latest sphinxmaster
:
/home/larsoner/python/sphinx/sphinx/util/docutils.py:271: RemovedInSphinx30Warning: function based directive support is now deprecated. Use class based directive instead.
Is anyone working on adding a new directive class that can be used instead of the directive function when callingapp.add_directive
?
I suspect it should be possible totry/except
using a class instead of a function insetup(app)
to maintain backward compatibility, so I'd try that first. Should I give this a shot, or is someone else working on it?