-
Notifications
You must be signed in to change notification settings - Fork 327
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
Read the Docs build fails #2101
Comments
@stevepiercy I was expecting periodic doc build failures this month due to a deprecation in RTD. I started to address it weeks ago in #2083 but got stuck getting playwright to install properly (#2083 (comment)). If you have any insight on how to get that unblocked, it would be much appreciated! |
@drammock it looks like you got over one hurdle, and are now playing whack a mole with warnings as errors. Should I close this issue, or will you handle that? If you want to pass in SPHINXOPTS ?=
SPHINXBUILD = "$(realpath venv/bin/sphinx-build)"
DOCS_DIR = ./docs/
BUILDDIR = ../_build
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: rtd-pr-preview
rtd-pr-preview: ## Build pull request preview on Read the Docs
<snip>
cd $(DOCS_DIR) && sphinx-build -b html $(ALLSPHINXOPTS) ${READTHEDOCS_OUTPUT}/html/ make SPHINXOPTS="-D suppress_warnings='misc.highlighting_failure'" rtd-pr-preview Please let me know. Thank you! |
this will now auto-close when #2083 is merged. Thanks for the suggestion about |
The Read the Docs build fails with the following error message.
https://readthedocs.org/projects/pydata-sphinx-theme/builds/26913127/
Error
The
sphinx.configuration
key is missing. This key is now required, see our blog post for more information.I don't see any
build.commands
in yourreadthedocs.yml
, assuming that is the file you use and have configured in your RTD project. The default is.readthedocs.yaml
. I think the fix would be to insert this snippet, immediately before thepython:
stanza.I filed an issue for a similar incident on Jan 6, 2025, but I use
build.commands
so it doesn't affect my projects. Y'all have a different configuration, and I am not entirely sure what is its intent, based on the RTD docs.https://docs.readthedocs.io/en/stable/config-file/index.html
Can you investigate and verify the core issue and whether this would be a correct fix? I can file a PR, too.
The text was updated successfully, but these errors were encountered: