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.
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| sphinxcontrib-gitinclude-0.0.1.tar.gz | 14.0 kB | Without provenance | Details for sphinxcontrib-gitinclude-0.0.1.tar.gz |
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
|
Security for sphinxcontrib-gitinclude 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.