Skip to main content

A Sphinx extension for linking to your project's issue tracker

Project description

A Sphinx extension for linking to your project’s issue tracker.

Installation and Configuration

$ pip install sphinx-issues

Add sphinx_issues to extensions in your conf.py. If your project is on Github, add the issues_github_path config variable. Otherwise, use issues_uri.

# docs/conf.py

#...
extensions = [
    #...
    'sphinx_issues',
]

# Github repo
issues_github_path = 'sloria/marshmallow'

# equivalent to
issues_uri = 'https://github.com/sloria/marshmallow/issues/{issue}'

Usage

Use the :issue: role in your docs like so:

See issue :issue:`42`

See issues :issue:`12,13`

Credits

Credit goes to Jeff Forcier for his work on the releases extension, which is a full-featured solution for generating changelogs. I just needed a quick way to reference Github issues in my docs, so I yoinked the bits that I needed.

License

MIT licensed. See the bundled LICENSE file for more details.

Changelog

0.1.0

  • Initial release.

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

sphinx-issues-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

sphinx_issues-0.1.0-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sphinx-issues-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sphinx-issues-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1258e4db2dd632e778ac9660bd515eee824fd0d593324c97f69c4168553cfd01
MD5 0baec0935c05de52f0133698425687f4
BLAKE2b-256 ef8ae44734f20572340604c9139fce9f861a24aa926424bd3b6cd69fa4b13985

See more details on using hashes here.

Provenance

File details

Details for the file sphinx_issues-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_issues-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d95e36ae94ffbaf0347e20f2a291dd2659420636d1392b364970355ad2c5fb5b
MD5 a6c7031229416dfcef150174242435cc
BLAKE2b-256 fd9264748b4065c4e26e6fa091184b713e0c0cc304ceb186d9038938cf6a9359

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page