Skip to content

Fix sphinx build warnings #45

Closed
Closed

Description

@mwcraig

These are generated because automodapi tries to generate docs for things we import -- one fix is to set __all__ to something sensible in each module.

...
/Users/mcraig/Development/astronomy/ccdproc/docs/ccdproc/index.rst:49: WARNING: toctree references unknown document u'api/ccdproc.ccdproc.Quantity'
/Users/mcraig/Development/astronomy/ccdproc/docs/ccdproc/index.rst:49: WARNING: toctree references unknown document u'api/ccdproc.ccdproc.StdDevUncertainty'
...
None:None: WARNING: toctree contains reference to nonexisting document u'api/ccdproc.ccdproc.Quantity'
None:None: WARNING: toctree contains reference to nonexisting document u'api/ccdproc.ccdproc.StdDevUncertainty'
...

Activity

  1. cdeil commented on May 2, 2014

    @cdeil
    Member
  2. cdeil commented on May 2, 2014

    @cdeil
    Member
  3. mwcraig commented on May 2, 2014

    @mwcraig
    MemberAuthor

    What version of astropy are you using?

  4. cdeil commented on May 2, 2014

    @cdeil
    Member

    I'm using the latest Astropy master as of a few minutes ago:
    astropy==0.4.dev8255
    f754c3af4ed1ad30e761cb909f2f4f35179260a3

    This looks like a bug in astropy/sphinx/ext/smart_resolver.py from
    astropy/astropy#2292 to me.

    @mwcraig Can you reproduce this issue?

  5. cdeil commented on May 2, 2014

    @cdeil
    Member

    While you're cleaning up the Sphinx warnings, could you please also add a dot . at the end of the first line of each docstring?
    At the moment it's missing for most ccdproc functions / classes, which makes the HTML docs overview output garbled:

    screen shot 2014-05-02 at 18 43 19

  6. mwcraig commented on May 2, 2014

    @mwcraig
    MemberAuthor

    @cdeil

    • I hit the same error you do in building the docs now.
    • Thanks for the tip about a . -- I had no idea why that was happening in some cases!
  7. cdeil commented on May 2, 2014

    @cdeil
    Member

    I'll make an Astropy issue for @mdboom about the sphinx error.

  8. added a commit that references this issue on May 6, 2014
    99ab7e6
  9. added this to the 0.1 milestone on May 12, 2014
  10. added 5 commits that reference this issue on May 14, 2014
    e8134c0
    3b25eb2
    26f154c
    098b15e
    ec3c144
  11. added a commit that references this issue on Jun 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions