Skip to content

ReadTheDocs build is broken #53

Closed
Closed

Description

@pllim

At the time of opening this issue, the last successful build was over 3 weeks ago (July 24, 2022): https://readthedocs.org/projects/pyautogalaxy/builds/

Also see #50

astropy/astropy.github.com#491 (comment)

Activity

  1. Jammy2211 commented on Nov 28, 2022

    @Jammy2211
    Collaborator

    This build is now successful: https://readthedocs.org/projects/pyautogalaxy/builds/

    We intend to prevent releases via our biuld server if readthedocs does not build successfully - if you have a suggestion on how to do this it'd be much appreciated!

    PyAutoLabs/PyAutoHands#17

  2. pllim commented on Nov 28, 2022

    @pllim
    ContributorAuthor

    If you want to prevent release with failed RTD, you could run the same sphinx command that RTD runs as one of your release steps. It is in the logs:

    .../bin/python -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html
    

    As for the RTD build itself, optional but recommended:

    1. Resolve the 57 warnings. Example log: https://readthedocs.org/api/v2/build/18753466.txt
    2. To prevent future warnings creeping back it, set RTD build to fail on warning.
    3. To prevent bad cross-linking, set nitpicky=True in docs/conf.py and fix the broken refs.
    4. To prevent bad URLs, run linkcheck once in a while (could be a cron job). There might be false positives sometimes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions