Prototype of rst_docs_for_dataclass mechanism, refs #1510

This commit is contained in:
Simon Willison 2023-06-27 19:00:33 -07:00
commit 6822378416
5 changed files with 161 additions and 1 deletions

View file

@ -31,7 +31,12 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.extlinks", "sphinx.ext.autodoc", "sphinx_copybutton"]
extensions = [
"sphinx.ext.extlinks",
"sphinx.ext.autodoc",
"sphinx_copybutton",
"jsoncontext",
]
extlinks = {
"issue": ("https://github.com/simonw/datasette/issues/%s", "#%s"),