Sphinx README - Generate Beautiful README.rst for GitHub, PyPi, GitLab, BitBucketο
A Sphinx extension to generate README.rst
files that render beautifully on GitHub, PyPi, GitLab, BitBucket
About Sphinx READMEο
Whatβs Sphinx README?
sphinx_readme
is a reStructuredText
parser that uses Sphinx
to generate rst
files that render beautifully on
GitHub, PyPi, GitLab, and BitBucket.
With sphinx_readme
, thereβs no need to rewrite your README.rst
as a README.md
file
Files generated by sphinx_readme
have nearly identical appearance and functionality
as html
builds, including sphinx.ext.autodoc
cross-references!
π Featuresο
sphinx_readme
adds support for the following sphinx
and docutils
directives and features:
sphinx.ext.autodoc
cross-references (:mod:
,:class:
,:meth:
,:func:
, and:attr:
)Standard cross-reference roles (
:doc:
and:ref:
)Generic and Specific Admonitions
Only directives
Toctrees
Rubrics
Images
β Installationο
Install using pip:
pip install sphinx-readme
Add the extension to your conf.py
:
extensions = [
'sphinx_readme',
]
π§ Configurationο
Please see Extension Configuration