question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sphinx warnings on local build and not on CI

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bsipoczcommented, Jul 24, 2019

The visualization ones are upstream, and will be fixed with the next mpl bugfix release (thus we pin the version in our CI).

0reactions
bsipoczcommented, Jul 24, 2019

@mhvk - RTD is linux based, so the case insensitive confusion doesn’t come up between M_bol and m_bol

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found