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

Add required .readthedocs.yaml, conf.py and set sphinx_rtd_theme #2049

Merged
merged 1 commit into from Feb 9, 2024

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Feb 9, 2024

RTD no longer automatically generates config files.

The .readthedocs.yaml is now required: https://blog.readthedocs.com/migrate-configuration-v2/

The conf.py for Sphinx is also required: https://blog.readthedocs.com/doctool-without-configuration-file/

  • The previously automatically generated conf.py contained sphinx_rtd_theme -> in order to keep it we have to set it and add it as a requirement.
  • The version field in conf.py.in remains uncofigured but I don't think it is a problem because it doesn't shows up in the html docs.

This fixes the currently failing dnf doc building.

RTD no longer automatically generates config files.

The `.readthedocs.yaml` is now required: https://blog.readthedocs.com/migrate-configuration-v2/

The `conf.py` for Sphinx is also required: https://blog.readthedocs.com/doctool-without-configuration-file/
- The previously automatically generated `conf.py` contained
  `sphinx_rtd_theme` -> in order to keep it we have to set it and add it
  as a requirement.
- The version field in `conf.py.in` remains uncofigured but I don't
  think it is a problem because it doesn't shows up in the html docs.
@jan-kolarik jan-kolarik self-assigned this Feb 9, 2024
@jan-kolarik
Copy link
Member

Thanks!

@jan-kolarik jan-kolarik merged commit 259e4c9 into rpm-software-management:master Feb 9, 2024
1 of 4 checks passed
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.

None yet

2 participants