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

build: disable building of epub on readthedocs.org #1820

Merged

Conversation

aucampia
Copy link
Member

@aucampia aucampia commented Apr 15, 2022

Summary of changes

The epub build fails because we have sphinx.fail_on_warning set and
the epub builder does not know how to handle html_favicon = "_static/RDFlib.ico"
from docs/conf.py, which causes this warning:

WARNING: unknown mimetype for _static/RDFlib.ico, ignoring

I created an upstream issue for this: sphinx-doc/sphinx#10350

Also:

  • build: add .pytest_cache to .dockerignore - mainly because it is
    quite big and it is not needed when building the test Dockerfile.

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • 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
Copy link
Member Author

pre-commit.ci autofix

The epub build fails because we have `sphinx.fail_on_warning` set and
the epub builder does not know how to handle `html_favicon = "_static/RDFlib.ico"`
from `docs/conf.py`, which causes this warning:

```
WARNING: unknown mimetype for _static/RDFlib.ico, ignoring
```

I created an upstream issue for this: sphinx-doc/sphinx#10350

Also:
- build: add `.pytest_cache` to `.dockerignore` - mainly because it is
  quite big and it is not needed when building the test Dockerfile.
@aucampia aucampia force-pushed the iwana-20220415T1159-rtd_warn_icop branch from db50878 to 4f596d3 Compare April 15, 2022 13:47
@nicholascar
Copy link
Member

Merging after only one review (mine) this is a non-Python functional PR and the doc building failing is preventing other PRs progressing.

@nicholascar nicholascar merged commit 57f993d into RDFLib:master Apr 15, 2022
@aucampia aucampia deleted the iwana-20220415T1159-rtd_warn_icop 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.

docs build on readthedocs.org fails with "WARNING: unknown mimetype for _static/RDFlib.ico, ignoring"
2 participants