【文件属性】:
文件名称:sphinx-epytext:Sphinx“ epytext”扩展
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-02 13:59:21
Python
Sphinx epytext支持
sphinx-epytext在Sphinx autodoc < >中提供了对epytext docstrings < >的基本支持。
它连接到Sphinx的'autodoc-process-docstring'挂钩,以执行以下操作:
对于epydoc字段,将'@'替换为':'。 < >
将L {..}和C {..}替换为
从链接周围删除U {..}
配置
将其添加到conf.py的扩展中:
extensions = [
'sphinx.ext.autodoc',
'sphinx_epytext',
# your other sphinx extensions
# ...
]
然后运行sphinx-build 。
【文件预览】:
sphinx-epytext-master
----README.rst(708B)
----sphinx_epytext()
--------__init__.py(642B)
--------process_docstring.py(1KB)
----LICENSE(1KB)
----setup.py(1KB)
----.gitignore(675B)
----CHANGELOG.md(201B)