A Sphinx extension to insert code snippets from a git repository, helping you to keep a repository of versions working code examples.
Installation
Install this extension from PyPI:
pip install sphinxcontrib-gitinclude
The extension requires Sphinx 3.7.0 or later and Python 3.7 or later.
Usage
Just add this extension to extensions:
extensions = ['sphinxcontrib.gitinclude']
Now you can use a new directive gitinclude to insert code from a git repository.
For more information on how to use this project see the example directory with a project that uses this directive.
Release files for sphinxcontrib-gitinclude 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinxcontrib-gitinclude-0.0.1.tar.gz | 14.0 kB | Details |
Release files / sphinxcontrib-gitinclude-0.0.1.tar.gz
| Download URL | sphinxcontrib-gitinclude-0.0.1.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f7b9159ce730d8843960fb053ffe2555e13bca410a8e5a428e5f935cdf0b930
|
|
BLAKE2b-256 checksum How to use checksums |
f94c14d4fcb83af013df4b14429b229bf51cbaeb2ffca0b5a55fae8e6f524724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.9
|