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

Recent sphinx_rtd_theme 1.0.0 results in unstyled pages #345

Closed
reece opened this issue Sep 26, 2021 · 1 comment
Closed

Recent sphinx_rtd_theme 1.0.0 results in unstyled pages #345

reece opened this issue Sep 26, 2021 · 1 comment

Comments

@reece
Copy link
Member

reece commented Sep 26, 2021

sphinx_rtd_theme 1.0.0 renders vrs docs without styling. 0.5.2 works correctly. Using sphinx 4.2.0.

git checkout main  # d684bab8f1a15
pip install sphinx_rtd_theme==1.0.0
make -C docs clean
make -C docs html
xdg-open docs/build/html/index.html

With that, I get Image [1]. When I pip install sphinx_rtd_theme==0.5.2, I get Image [2].

There are no errors on the console. Behavior is identical when serving the same pages with and without TLS (see below). Removing the custom theme_overrides.css had no effect.

The most straightforward explanation is that sphinx 4.2.0 + sphinx_rtd_theme 1.0.0 is not correctly generating styled pages. That seems unlikely.

Two consequences: 1) We can no longer view pages locally unless we use 0.5.2. 2) If the problem is with our config, our docs at RTD might break soon. That would be unfortunate.

# serving docs over http/https 
cargo install https
http docs/build/html/
http --gen-ssl docs/build/html/   # with a self-signed cert

Image [1]

image

Image [2]

image

@reece
Copy link
Member Author

reece commented Sep 26, 2021

I have verified that sphinx + sphinx_rtd_theme generates files just fine when starting from scratch. So, there's something unique about our setup. I'll investigate.

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

No branches or pull requests

1 participant