New :issue: Sphinx macro, closes #1227

This commit is contained in:
Simon Willison 2021-02-17 17:20:15 -08:00
commit d2d53a5559
2 changed files with 245 additions and 241 deletions

View file

@ -31,7 +31,11 @@
# 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/datasette/issues/%s", "#"),
}
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]