Sphinx extension to show commit history in version control system
Project description
sphinxcontrib-vcs
sphinxcontrib-vcs provides showing commit history in version control system.
Setup
$ pip install sphinxcontrib-vcs
Usage
Add 'sphinxcontrib.vcs' as extensions into conf.py.
$ vi conf.py
extensions = ['sphinxcontrib.vcs']
Then, repository directives are available as follows.
Git
.. git::
:number_of_revisions: 20
:with_ref_url:
:include_diff:
For more information have a look at the documentation.
Acknowledgments
sphinxcontrib-vcs is inspired from the sphinx-git.
ChangeLog
0.2.0 (2018-11-17)
- drop Python 2.7 support and mercurial feature
- support internal git repository such as GitHub Enterprise
0.1.0 (2016-09-06)
- first release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinxcontrib-vcs-0.2.0.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for sphinxcontrib_vcs-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5de1c261d953dcaa3f24b06860dfc599db8b19c8dd7ce83f4bea2e07744ae24 |
|
MD5 | ae68569013135e0ec4f96d8a41f2024c |
|
BLAKE2b-256 | e47162333f80ef1ff6f567d5a3d0e5ecb3e1dc9ede349fef67fdca9c88bc5523 |