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

DOC: Attempt at fixing theme on RTD #1019

Merged
merged 2 commits into from
Sep 2, 2023
Merged

Conversation

BenjaminBossan
Copy link
Collaborator

@BenjaminBossan BenjaminBossan commented Aug 31, 2023

Resolves #1018

Now always enforce the use of sphinx_rtd_theme. Previously, this was not done when the docs were built on RTD, instead using the default theme. I'm not really sure why that was so, maybe the default theme already was sphinx_rtd_theme but was changed later?

The docs after this change can be found here:

https://skorch.readthedocs.io/en/docs-try-fixing-rtd-theme/

At first I was suspicious if the change in conf.py was really the cause of the fix or if this was not instead somehow related to the latest version of the docs. Therefore, I created an empty PR #1020 and checked its docs. Those use the false theme, as can be witnessed here:

https://skorch.readthedocs.io/en/docs-experimental-branch-to-check-theme/

Therefore, I think the provided fix should also work for the latest, and any other, doc version.

@BenjaminBossan BenjaminBossan marked this pull request as ready for review August 31, 2023 13:53
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan thomasjpfan merged commit 7fd4b6e into master Sep 2, 2023
13 checks passed
@thomasjpfan thomasjpfan deleted the docs-try-fixing-rtd-theme branch September 2, 2023 11:57
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.

ReadTheDocs: Wrong theme of docs
2 participants