An open API service indexing awesome lists of open source software.

https://github.com/jayvdb/sphinx-epytext

Sphinx "epytext" extension
https://github.com/jayvdb/sphinx-epytext

Last synced: 11 months ago
JSON representation

Sphinx "epytext" extension

Awesome Lists containing this project

README

          

Sphinx epytext support
======================

sphinx-epytext provides basic support for epytext docstrings

in Sphinx autodoc .

It connects to the 'autodoc-process-docstring' hook of Sphinx, to perform the following:

- Replaces '@' with ':' for epydoc fields.
- Replaces L{..} and C{..} with :py:obj:`..`
- Removes U{..} from around links

Configuration
-------------

Add it to your extensions in ``conf.py``::

extensions = [
'sphinx.ext.autodoc',
'sphinx_epytext',
# your other sphinx extensions
# ...
]

Then run ``sphinx-build``.