New :issue: macro, closes #306

This commit is contained in:
Simon Willison 2021-08-02 14:29:00 -07:00
commit e83aef951b
2 changed files with 148 additions and 144 deletions

View file

@ -30,7 +30,11 @@ from subprocess import Popen, PIPE
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = ["sphinx.ext.extlinks"]
extlinks = {
"issue": ("https://github.com/simonw/sqlite-utils/issues/%s", "#"),
}
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]