Sphinx extension to show commit history in version control system
sphinxcontrib-vcs provides showing commit history in version control system.
$ pip install sphinxcontrib-vcs
Add ‘sphinxcontrib.vcs’ as extensions into conf.py.
$ vi conf.py extensions = ['sphinxcontrib.vcs']
Then, repository directives are available as follows.
.. git:: :number_of_revisions: 20 :with_ref_url: :include_diff:
.. mercurial:: :number_of_revisions: 20 :with_ref_url: :include_diff:
For more information have a look at the documentation.
Mercurial supports Python 2.x only. So sphinxcontrib-vcs supports the mercurial directive on Python 2.7.
sphinxcontrib-vcs is inspired from the sphinx-git.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|sphinxcontrib_vcs-0.1.0-py2.py3-none-any.whl (10.7 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Sep 6, 2016|
|sphinxcontrib-vcs-0.1.0.tar.gz (12.2 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 6, 2016|