-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Theme is not showing up in the RTD build documentation #11876
Comments
It seems that you are encapsulating the Sphinx commands under |
Hello @humitos , thanks for your hint. I inserted verbose flag into the sphinx build (see https://gitlab.com/dirac/dirac/-/merge_requests/208/diffs ) , the full output is here, https://readthedocs.org/api/v2/build/26743967.txt . I do not see any warning/error concerning missing the theme/css in the generated documentation https://diracprogram-documentation.readthedocs.io/en/latest/ . I have (almost) the same raw output for my local computer documentation buildup. The difference is in installed pip packages, this is my local WSL-Ubuntu list :
and this the pip list is on the RTD server side (from https://readthedocs.org/projects/diracprogram-documentation/builds/26743967/ ):
|
That's weird. I took a quick look at the log from Read the Docs you shared and I'm not seeing anything obvious. Inspecting the HTML, it's clear that there CSS and JS files are not included there and that's why it's not loading the theme. |
I think I found the issue, you can't "activate a venv" like this |
Thanks for your hint, @humitos . But I need the "venv" environment, based on https://diracprogram.org/doc/master/development/documentation_howto.html#sphinx-installation . I tried Any help on how to activate venv on RTD ? |
Hello,
this is my RTD documentation https://diracprogram-documentation.readthedocs.io/en/latest/
(from https://readthedocs.org/projects/diracprogram-documentation/builds/26684900/ )
but the theme is not showing up. It has to be the like https://diracprogram.org/doc/master/ .
The log file gives no warning/error for "make VERBOSE=1 html" documentation generation.
Here is the doc/conf.py file https://gitlab.com/dirac/dirac/-/blob/master/doc/conf.py?ref_type=heads .
Any help why on RTD server the documentation is not built properly ? On my local PC, and our remote documentation server https://diracprogram.org/doc/master/ the build is fine wrt to the theme.
The text was updated successfully, but these errors were encountered: