| 1 |
Utilities |
| 2 |
========= |
| 3 |
|
| 4 |
Sphinx provides utility classes and functions to develop extensions. |
| 5 |
|
| 6 |
|
| 7 |
Base classes for components |
| 8 |
--------------------------- |
| 9 |
|
| 10 |
These base classes are useful to allow your extensions to obtain Sphinx |
| 11 |
components (e.g. :class:`.Config`, :class:`.BuildEnvironment` and so on) easily. |
| 12 |
|
| 13 |
.. note:: The subclasses of them might not work with bare docutils because they |
| 14 |
are strongly coupled with Sphinx. |
| 15 |
|
| 16 |
.. autoclass:: sphinx.transforms.SphinxTransform |
| 17 |
:members: |
| 18 |
|
| 19 |
.. autoclass:: sphinx.transforms.post_transforms.SphinxPostTransform |
| 20 |
:members: |
| 21 |
|
| 22 |
.. autoclass:: sphinx.util.docutils.SphinxDirective |
| 23 |
:members: |
| 24 |
|
| 25 |
.. autoclass:: sphinx.util.docutils.SphinxRole |
| 26 |
:members: |
| 27 |
|
| 28 |
.. autoclass:: sphinx.util.docutils.ReferenceRole |
| 29 |
:members: |
| 30 |
|
| 31 |
.. autoclass:: sphinx.transforms.post_transforms.images.ImageConverter |
| 32 |
:members: |
| 33 |
|
| 34 |
|
| 35 |
Utility functions |
| 36 |
----------------- |
| 37 |
|
| 38 |
.. autofunction:: sphinx.util.parsing.nested_parse_to_nodes |
| 39 |
|
| 40 |
|
| 41 |
Utility types |
| 42 |
------------- |
| 43 |
|
| 44 |
.. autoclass:: sphinx.util.typing.ExtensionMetadata |
| 45 |
:members: |