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

Malformatted bottom navigation section #4064

Closed
bwohlberg opened this issue May 6, 2018 · 7 comments
Closed

Malformatted bottom navigation section #4064

bwohlberg opened this issue May 6, 2018 · 7 comments
Assignees

Comments

@bwohlberg
Copy link

Details

The bottom navigation section that is usually collapsed into a small box with the text "v: latest" is displayed in expanded form at the bottom of the page, without any of the usual styling. Comparing the html source of this page and for those that are displayed correctly, the only obvious differences seem to be a missing stylesheet

<link rel="stylesheet" href="https://media.readthedocs.org/css/badge_only.css" type="text/css" />

and a missing script section

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.9b1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>

that are present in all of the pages that are displayed correctly. There is nothing obviously unusual in the docs configuration file that might be responsible for these being omitted.

@davidfischer davidfischer self-assigned this May 7, 2018
@davidfischer
Copy link
Contributor

I'm investigating...

I can see that the problem is on the index page: http://sporco-cuda.readthedocs.io/en/latest/index.html
But not on any other pages: http://sporco-cuda.readthedocs.io/en/latest/install.html

This is pretty bizarre and I haven't found out why. That CSS should be added to all the pages.

@stsewd
Copy link
Member

stsewd commented May 8, 2018

@davidfischer this is the same issue as #3715, I have a patch that fixes this #4054

@davidfischer
Copy link
Contributor

I can confirm that this is duplicate of that issue. The workaround in that ticket or removing the sphinx_tabs extension will do the trick. Hopefully we can get that fix merged soon.

@bwohlberg
Copy link
Author

@davidfischer: Thanks for the very fast response. Unfortunately the workaround in #3715 doesn't work: it fixes the problem reported here, but corrupts other aspects of the page style. No problem, though, since it looks as if this will be fixed soon.

@stsewd
Copy link
Member

stsewd commented May 9, 2018

@bwohlberg since the affected page is the index page of your docs, you can create a page with a name previous to index like a_foo.rst in the meantime, the problem only affects to the first page (alphabetically ordered) of the docs.

@bwohlberg
Copy link
Author

@stsewd: Thanks for the suggestion - I'll give it a try.

@stsewd
Copy link
Member

stsewd commented May 10, 2018

Closing this as a duplicate of #3715 I hope the fix will be merged soon.

@stsewd stsewd closed this as completed May 10, 2018
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

3 participants