Description
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 your readthedocs.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 the python:
stanza.
sphinx:
# Path to your Sphinx configuration file.
configuration: docs/conf.py
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.