Improve flash of unstyled content in userguide #2842
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
sphinx_rtd_theme v0.4.3 have flash of unstyled content (FOUC) problems.
We still have problems with top to bottom jumping in navigation, due to the length of our navigation. That's not something that can be easily fixed as that's bundled JS with the theme. As per v3 userguide you need to scroll down to the current menu item. In v4 it jumps down to the selected one, giving better UX. That's what causing that jump.
This FOUC are included in the development branch of sphinx_rtd_theme, but as per previous discussions no one knows when they will release a new version (with Sphinx 2 support as well). And due to the nature of the problem, I choose to bundle this fix. As it's to critical for the UX.
PS. Forgot to include [ci skip] ...
Checklist: