Sphinx warnings on local build and not on CI
See original GitHub issueI did a fresh install of Anaconda with Python 3.7.3, Sphinx 2.1.2, and ran the docs build with current astropy master. I get a number of warnings that don’t seem to appear on circleCI:
WARNING: toctree references unknown document 'api/astropy.units.function.logarithmic.m_bol'
/Users/apricewhelan/projects/astropy/build/lib.macosx-10.7-x86_64-3.7/astropy/visualization/wcsaxes/core.py:docstring of astropy.visualization.wcsaxes.WCSAxes.get_tightbbox:40: WARNING: py:obj reference target not found: matplotlib.axis.Axes.get_window_extent
/Users/apricewhelan/projects/astropy/build/lib.macosx-10.7-x86_64-3.7/astropy/visualization/wcsaxes/core.py:docstring of astropy.visualization.wcsaxes.WCSAxes.get_tightbbox:44: WARNING: py:obj reference target not found: matplotlib.spines.get_window_extent
/Users/apricewhelan/projects/astropy/docs/index.rst:: WARNING: toctree contains reference to nonexisting document 'api/astropy.units.function.logarithmic.m_bol'
/Users/apricewhelan/projects/astropy/docs/units/index.rst:397:<autosummary>:1: WARNING: py:obj reference target not found: astropy.units.function.logarithmic.m_bol
/Users/apricewhelan/projects/astropy/docs/units/index.rst:397:<autosummary>:: WARNING: toctree contains reference to nonexisting document 'api/astropy.units.function.logarithmic.m_bol'
cc @pllim
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Fix sphinx warnings when generating the documentation #1433
The documentation generation process (including notebooks) generated 2200+ warnings, which makes the Travis log hard to use.
Read more >See all warnings as errors when building Sphinx docs on ...
Turn warnings into errors ( -W and --keep-going options). This means the build fails if there is a warning and exits with exit...
Read more >Docs build error with Sphinx 3.0 due to invalid C declaration
The following error is caused in Docs build for a 3.8 backport since sphinx is ran with warnings. Sphinx released 3.0 on April...
Read more >Contributing — scikit-learn 1.2.0 documentation
In the first few steps, we explain how to locally install scikit-learn, and how to set up your git repository: Create an account...
Read more >Change Log — Sphinx-Gallery 0.12.0.dev0-git documentation
Output text in dark mode is not visible #869. Using a .gif image works in .rst sphinx build but not inside example generated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The visualization ones are upstream, and will be fixed with the next mpl bugfix release (thus we pin the version in our CI).
@mhvk - RTD is linux based, so the case insensitive confusion doesn’t come up between
M_bol
andm_bol