Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sphinx Read-The-Docs Theme recognised but not "found"

I downloaded the read-the-docs theme for sphinx from Github and put it into the _themes folder.

conf.py:

html_theme = "sphinx_rtd_theme"
html_theme_path = ["_themes", ]

However, running "make html" I get this error:

Sphinx v4.1.2 in Verwendung
Lade Übersetzungen [de]…erledigt
loading pickled environment... erledigt
WARNING: sphinx_rtd_theme (< 0.3.0) found. It will not be available since Sphinx-6.0

Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)

Somehow Sphinx seems to find the theme and then disregard it. Can someone tell me what is happening and how I can fix it?

like image 351
glades Avatar asked Nov 30 '25 18:11

glades


1 Answers

Need to install:

pip install sphinx-rtd-theme
like image 50
Frederico Gago Avatar answered Dec 05 '25 17:12

Frederico Gago



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!