Skip to content

Sphinx warnings on local build and not on CI #9040

Closed

Description

@adrn

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

Activity

  1. pllim commented on Jul 24, 2019

    @pllim
    Member

    @adrn , on Slack, did you mean you fixed these as well in #9035 ?

  2. adrn commented on Jul 24, 2019

    @adrn
    MemberAuthor

    Nope. But it sounds like the ones about m_bol are a case-insensitivity issue. The two astropy.visualization ones look like the only remaining problems

  3. bsipocz commented on Jul 24, 2019

    @bsipocz
    Member

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

  4. bsipocz commented on Jul 24, 2019

    @bsipocz
    Member

    Not sure whether we can do anything with the case sensitivity, it very much looks like an addition to the "known problems" page, users are not normally building the docs themselves anyway, and us devs can live with the warning and messed up links locally.

  5. bsipocz commented on Jul 24, 2019

    @bsipocz
    Member

    Closing this now as upstream matplotlib/matplotlib#14551 was fixed (and will be available in mpl 3.1.2)

  6. bsipocz commented on Jul 24, 2019

    @bsipocz
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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