Skip to content

Commit 704a45e

Browse files
authored
Merge pull request pysal#47 from weikang9009/rel2.0
change napoleon to numpydoc for docstring support in Sphinx
2 parents e8f3238 + 3157bdd commit 704a45e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line.
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
7-
SPHINXPROJ = PACKAGE_NAME
7+
SPHINXPROJ = pysal
88
SOURCEDIR = .
99
BUILDDIR = _build
1010

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
'sphinx.ext.mathjax',
4343
'sphinx.ext.doctest',
4444
'sphinx.ext.intersphinx',
45-
'sphinx.ext.napoleon',
45+
'numpydoc',
46+
#'sphinx.ext.napoleon',
4647
'matplotlib.sphinxext.plot_directive']
4748

4849

doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" (
99
)
1010
set SOURCEDIR=.
1111
set BUILDDIR=_build
12-
set SPHINXPROJ=PACKAGE_NAME
12+
set SPHINXPROJ=pysal
1313

1414
if "%1" == "" goto help
1515

0 commit comments

Comments
 (0)