mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
docs: Update docstring of SphinxDirective (add notice)
This commit is contained in:
parent
f9e2a41a48
commit
a4c30027bd
@ -301,10 +301,12 @@ def switch_source_input(state, content):
|
|||||||
|
|
||||||
|
|
||||||
class SphinxDirective(Directive):
|
class SphinxDirective(Directive):
|
||||||
"""A base class for Directives.
|
"""A base class for Sphinx directives.
|
||||||
|
|
||||||
Compared with ``docutils.parsers.rst.Directive``, this class improves
|
This class provides helper methods for Sphinx directives.
|
||||||
accessibility to Sphinx APIs.
|
|
||||||
|
.. note:: The subclasses of this class might not work with docutils.
|
||||||
|
This class is strongly coupled with Sphinx.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user