Sphinx Issues

6.0.0 · active · verified Thu Apr 16

Sphinx Issues is a Sphinx extension designed to facilitate linking to a project's issue tracker directly within reStructuredText documentation. It provides roles for creating links to issues, pull requests, user profiles, and commits, with built-in support for GitHub and flexible configuration for other platforms like GitLab. The current version is 6.0.0, released on March 13, 2026, and it maintains an active development and release cadence.

Common errors

Warnings

Install

Imports

Quickstart

To quickly integrate `sphinx-issues`, first install it via pip. Then, add `'sphinx_issues'` to the `extensions` list in your Sphinx project's `conf.py`. For GitHub projects, configure `issues_github_path` to specify your repository. This enables the `:issue:`, `:pr:`, `:commit:`, and `:user:` roles in your reStructuredText files.

# conf.py

import os
import sys
sys.path.insert(0, os.path.abspath('.'))

project = 'My Project'
copyright = '2026, Your Name'
author = 'Your Name'
release = '0.1'

extensions = [
    'sphinx_issues'
]

# Required for GitHub integration
# Replace 'sloria/marshmallow' with your project's GitHub path (user/repo or org/repo)
issues_github_path = 'sloria/marshmallow'

# Example usage in an .rst file:
# See issue :issue:`42`
# See PR :pr:`58`
# Thanks to :user:`bitprophet`
# Fixed in :commit:`6bb9124d5e9dbb2f7b52864c3d8af7feb1b69403`

view raw JSON →