Skip to content

Documentation doesn't build with sphinx >= 2.0 #2667

@daveminh

Description

@daveminh

Expected behavior

Documentation would build and I could see it in doc/html/index.html, as described here: https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard

Actual behavior

Attempting to autodetect OpenMP support... Did not detect OpenMP support.
No openmp compatible compiler found default to serial build.
Will attempt to use Cython.
/miniconda2/envs/mdanalysis-dev/lib/python3.6/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '0.20.2-dev0' to '0.20.2.dev0'
warnings.warn(tmpl.format(**locals()))
running build_sphinx
Running Sphinx v3.0.2
loading intersphinx inventory from https://docs.python.org/objects.inv...
loading intersphinx inventory from https://docs.scipy.org/doc/numpy/objects.inv...
loading intersphinx inventory from https://docs.scipy.org/doc/scipy/reference/objects.inv...
loading intersphinx inventory from https://matplotlib.org/objects.inv...
loading intersphinx inventory from https://networkx.github.io/documentation/stable/objects.inv...
loading intersphinx inventory from https://www.mdanalysis.org/GridDataFormats/objects.inv...
loading intersphinx inventory from https://gsd.readthedocs.io/en/stable/objects.inv...
loading intersphinx inventory from https://parmed.github.io/ParmEd/html/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: all of 0 po files
building [html]: all source files
updating environment: [new config] 146 added, 0 changed, 0 removed
reading sources... [ 9%] documentation_pages/analysis/encore/dimensionality_red/Users/dminh/Documents/GitHub/mdanalysis/package/MDAnalysis/analysis/hbonds/hbond_analysis.py:345: DeprecationWarning: This module is deprecated as of MDAnalysis version 1.0.It will be removed in MDAnalysis version 2.0Please use MDAnalysis.analysis.hydrogenbonds.hbond_analysis instead.
category=DeprecationWarning
reading sources... [100%] index
sphinx-sitemap warning: No pages generated for sitemap.xml

Warning, treated as error:
/Users/dminh/Documents/GitHub/mdanalysis/package/MDAnalysis/analysis/encore/similarity.py:docstring of MDAnalysis.analysis.encore.similarity.ces:1:duplicate object description of MDAnalysis.analysis.encore.similarity.ces, other instance in documentation_pages/analysis/encore/similarity, use :noindex: for one of them

Code to reproduce the behavior

python setup.py build_sphinx -E

Current version of MDAnalysis

  • Which version are you using? (run python -c "import MDAnalysis as mda; print(mda.__version__)")

0.20.2-dev0

  • Which version of Python (python -V)?

Python 3.6.10

  • Which operating system?

Mac OS X 10.14.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions