Docs: reorder Sphinx extensions. Napoleon must precede autodoc or it will trigger superfluous warnings about indentation.

This commit is contained in:
Nathan Williis 2024-09-02 17:13:48 +01:00
parent 1781cf8f75
commit cd1c31ff6c

View File

@ -31,9 +31,9 @@ needs_sphinx = "1.3"
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.autodoc", "sphinx.ext.autodoc",
"sphinx.ext.viewcode", "sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx.ext.coverage", "sphinx.ext.coverage",
"sphinx.ext.autosectionlabel", "sphinx.ext.autosectionlabel",
] ]