Closed shanthanu9 closed 3 years ago
Can you check if your conf.py
contains import sphinx_rtd_theme
?
It looks like it fails to load the config because your documentation needs the package to be able to build it, not sphinx-multiversion.
No my conf.py
doesn't import sphinx_rtd_theme
. But I just realized what could have been the issue.. I was previously using sphinx-rtd-theme
and then shifted to furo
theme. So I guess sphinx-multiversion
needed sphinx-rtd-theme
to build docs for older versions.
I will close this PR since it's no longer relevant. Thanks for the help!
sphinx-multiversion
gives the below error whensphinx-rtd-theme
package is not present:After I installed
sphinx-rtd-theme
, the above error got resolved. So I believesphinx-rtd-theme
should be present insetup.py
file.This should also resolve #57. I faced a similar issue on GitLab CI, where the
sphinx-multiversion
build was failing and producing the above error. After I installedsphinx-rtd-theme
in GitLab CI, the build ran fine without any errors.