literalinclude from git repository.
Project description
sphinxcontrib-git_include
literalinclude
from git repository.
using git cat-file -p {rev}:{path_to_file}
pypi
pip install gitinclude
Sample
conf.py
extensions = [
"gitinclude",
]
``{gitinclude} HEAD^ gitinclude/__init__.py
:language: python
:linenos:
``
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
gitinclude-0.2.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for gitinclude-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6d2a4e3cbed399ea0e3e5e82b0e870bb5657de9a562bd38c7372d321c1f0e32 |
|
MD5 | d4281eced3bba557c4ebca27343c8261 |
|
BLAKE2b-256 | 1b2102a7be140ba627d8f69e39a35cec5e17e53af494fda599c8226582448c04 |