Skip to content

Override CSS with fork of sphinx_rtd_theme #4163

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

Closed
wmayner opened this issue May 30, 2018 · 4 comments
Closed

Override CSS with fork of sphinx_rtd_theme #4163

wmayner opened this issue May 30, 2018 · 4 comments
Labels
Needed: more information A reply from issue author is required Support Support question

Comments

@wmayner
Copy link
Contributor

wmayner commented May 30, 2018

Details

I have my own fork of sphinx_rtd_theme, and I'm trying to get the styles from my fork to override the default styles on readthedocs.org. I'm attempting to do this by using the upgrade flag (#4156) to replace the upstream sphinx_rtd_theme with my fork in my project's environment.

However, it looks like the theme.css that's served is still the upstream version. How can I override the CSS properly?

  • Read the Docs project URL: pyphi.readthedocs.io
  • Read the Docs username (if applicable): wmayner

Expected Result

theme.css from my fork should be served.

Actual Result

theme.css from upstream is served instead.

@stsewd stsewd added the Support Support question label May 30, 2018
@davidfischer
Copy link
Contributor

I'm pretty sure this is due to the optimization that replaces the theme CSS/JS with centralized versions on readthedocs.org. See this: readthedocs/readthedocs-sphinx-ext#39 and readthedocs/sphinx_rtd_theme#614

@wmayner
Copy link
Contributor Author

wmayner commented May 30, 2018

Thanks—looks like it should work as expected when/if those get merged.

@stsewd
Copy link
Member

stsewd commented Jun 15, 2018

@wmayner the attached PRs were merged and released. You can check now :)

@stsewd stsewd added the Needed: more information A reply from issue author is required label Aug 31, 2018
@stsewd
Copy link
Member

stsewd commented Aug 31, 2018

Closing this as the user hasn't responded or given more information, feel free to reopen with more information if you are still having this problem :).

@stsewd stsewd closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants