瀏覽代碼

Change order of Sphinx extensions

Max Ryabinin 4 年之前
父節點
當前提交
ff610c9222
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -43,12 +43,12 @@ branch = "master"
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
+    "sphinx.ext.napoleon",  # alternative to numpydoc
     "sphinx.ext.autodoc",
     "sphinx.ext.autosummary",
     "sphinx.ext.doctest",
     "sphinx.ext.mathjax",
     "sphinx.ext.linkcode",  # link to github, see linkcode_resolve() below
-    "sphinx.ext.napoleon",  # alternative to numpydoc
 ]
 
 # see http://stackoverflow.com/q/12206334/562769