Skip to content

Commit

Permalink
[MRG] update numpydoc to upstream, include fix for line numbers (scik…
Browse files Browse the repository at this point in the history
  • Loading branch information
amueller authored and ogrisel committed Jul 18, 2017
1 parent 8cee70d commit 71408e0
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 1,096 deletions.
1 change: 1 addition & 0 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ conda update --yes --quiet conda
conda create -n $CONDA_ENV_NAME --yes --quiet python numpy scipy \
cython nose coverage matplotlib sphinx=1.6.2 pillow
source activate testenv
pip install numpydoc

# Build and install scikit-learn in dev mode
python setup.py develop
Expand Down
7 changes: 6 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autosummary',
'numpy_ext.numpydoc',
'numpydoc',
'sphinx.ext.linkcode', 'sphinx.ext.doctest',
'sphinx_gallery.gen_gallery',
'sphinx_issues',
]

# this is needed for some reason...
# see https://github.com/numpy/numpydoc/issues/69
numpydoc_class_members_toctree = False


# pngmath / imgmath compatibility layer for different sphinx versions
import sphinx
from distutils.version import LooseVersion
Expand Down
97 changes: 0 additions & 97 deletions doc/sphinxext/LICENSE.txt

This file was deleted.

52 changes: 0 additions & 52 deletions doc/sphinxext/README.txt

This file was deleted.

Empty file.
Loading

0 comments on commit 71408e0

Please sign in to comment.