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

Docs are appearing without styling on readthedocs #580

Closed
spookylukey opened this issue Nov 16, 2021 · 5 comments
Closed

Docs are appearing without styling on readthedocs #580

spookylukey opened this issue Nov 16, 2021 · 5 comments

Comments

@spookylukey
Copy link

See https://more-itertools.readthedocs.io/en/stable/

Some older versions of the docs still have styling e.g. https://more-itertools.readthedocs.io/en/v8.10.0/

The stable version seems to be missing <link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> and other bits in the HTML.

@norweeg
Copy link

norweeg commented Nov 16, 2021

hope this is fixed soon! Its really hard to read the docs like this....

@astrojuanlu
Copy link

astrojuanlu commented Nov 19, 2021

I see that @bbayles added this https://github.com/more-itertools/more-itertools/blob/master/docs/requirements.txt 10 days ago, which got sphinx-rtd-theme==1.0.0 installed. Perhaps html_context is handled differently in that version?

more-itertools/docs/conf.py

Lines 152 to 155 in 1ede288

html_context = {
# https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
'css_files': ['_static/theme_overrides.css'],
}

This override is related to readthedocs/sphinx_rtd_theme#1179 by the way.

@nienn @agjohnson @Blendify thoughts?

@bbayles
Copy link
Collaborator

bbayles commented Nov 19, 2021

I swear this was working when I added the requirements thing...

@bbayles
Copy link
Collaborator

bbayles commented Nov 19, 2021

I think c693e20 fixes this. I had to force reload the RTD page.

@astrojuanlu
Copy link

Looks fixed to me too. Feel free to open an issue upstream, we can take a look.

@bbayles bbayles closed this as completed Nov 19, 2021
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

4 participants