literalinclude from git repository.
Project description
sphinxcontrib-git_include
https://github.com/ousttrue/sphinxcontrib-git_include
literalinclude from git repository.
using git cat-file -p {rev}:{path_to_file}
install
> pip install gitinclude
Sphinx: conf.py
extensions = [
"gitinclude",
]
Sphinx: usage
myst
``{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.1.tar.gz
(6.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitinclude-0.2.1.tar.gz.
File metadata
- Download URL: gitinclude-0.2.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9941abeaa7a5fb1fb02ee3e758df31da97982078b57827e97b6d780b59fb4061
|
|
| MD5 |
a5d78b872800435284b230a5f43856ee
|
|
| BLAKE2b-256 |
b2bf479e314e0885362f43fc89baf34d7df7850c652c38349a6e3a5498e2bc73
|
File details
Details for the file gitinclude-0.2.1-py3-none-any.whl.
File metadata
- Download URL: gitinclude-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c113758ea73789ada33babd73cf6ccbed5bc5857fc9ec6c9ae0814bb545b41a2
|
|
| MD5 |
931597160258151346ac01010cb35c94
|
|
| BLAKE2b-256 |
d82c53ed02672e38b475d43c4be6c2f0af080e0356db220a048e7c9b1fe38c8c
|