Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix sphinx warnings #1818

Merged

Conversation

aucampia
Copy link
Member

@aucampia aucampia commented Apr 14, 2022

Summary of changes

This patch fixes all sphinx warnings and also changes sphinx building to
treat warnings as errors so that we don't introduce new warnings.

Also:

  • ci: fail on sphinx warnings.
  • ci: don't use GitHub actions to build docs as this is being done by
    readthedocs.org.
  • build: supress "more than one target found for cross-reference"
    warnings from sphinx autodoc.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.

    NOTE: This is fixing a warning which is also fixed in Bind prefixes choices #1686 - though it should merge fine hopefully as the fixed source should be the same.

  • Checked that all tests and type checking passes.

  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

@aucampia aucampia force-pushed the iwana-20220414T2246-sphinx_warnings branch 2 times, most recently from 6693e2f to 8a6cf34 Compare April 14, 2022 21:01
This patch fixes all sphinx warnings and also changes sphinx building to
treat warnings as errors so that we don't introduce new warnings.

Also:
- ci: fail on sphinx warnings.
- ci: don't use GitHub actions to build docs as this is being done by
  readthedocs.org.
- build: supress "more than one target found for cross-reference"
  warnings from sphinx autodoc.
@aucampia aucampia force-pushed the iwana-20220414T2246-sphinx_warnings branch from 8a6cf34 to 8c65e6c Compare April 14, 2022 21:04
@aucampia aucampia marked this pull request as ready for review April 14, 2022 21:05
@aucampia aucampia linked an issue Apr 14, 2022 that may be closed by this pull request
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up, makes working on the docs easier.

@nicholascar nicholascar merged commit d711a35 into RDFLib:master Apr 15, 2022
@aucampia aucampia deleted the iwana-20220414T2246-sphinx_warnings branch May 7, 2022 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Eliminate sphinx warnings and fail on sphinx warnings
2 participants