Skip to content

Conversation

@cchris28
Copy link
Collaborator

of sphinx_rtd_theme to sphinx-rtd-theme since that is what is in pypi.org.
Making the confusing situation a little less weird since pypi lists the package only as sphinx-rtd-theme
and conda manages to install both names if you ask for either.
The docs intimate the choice I made. See https://pypi.org/project/sphinx-rtd-theme/
and readthedocs/sphinx_rtd_theme#1363

Might just save some downstream headaches (although I doubt the situation will ever change).

…nce that is what is in pypi.org. It seems they both get installed though
Copy link
Member

@olivialynn olivialynn left a comment

Choose a reason for hiding this comment

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

That's an interesting mismatch - even just looking at the sphinx_rtd_theme readme's $ pip install sphinx-rtd-theme followed by html_theme = "sphinx_rtd_theme" is kind of strange.

Thanks for this!

Copy link
Collaborator

@drewoldag drewoldag left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Collaborator

@drewoldag drewoldag left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@cchris28 cchris28 merged commit 2f2be8c into main May 19, 2023
@cchris28 cchris28 deleted the cchris28/sphinx-rtd-theme branch May 19, 2023 22:55
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.

rationalize use of pypi package sphinx-rtd-theme and conf.py sphinx_rtd_theme

4 participants