sphinxcontrib-vcs

Sphinx extension to show commit history in version control system


License
BSD-3-Clause
Install
pip install sphinxcontrib-vcs==0.3.0

Documentation

sphinxcontrib-vcs

Build Status

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