Skip to content

Read the Docs build fails #2101

Closed
Closed
@stevepiercy

Description

@stevepiercy

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.

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