-
Notifications
You must be signed in to change notification settings - Fork 333
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
header links placed differently on RTD #156
Comments
hmmm - are you running on the pypi version, or are you installing from master? There have been many changes on master that address the kinds of things you're seeing... |
I'm installing with |
Hmm the RTD output looks closer to |
Hmmm let me take a look at your site tomorrow morning, I need to log off for tonight. I don't think that max width is the issue per-se, just that it is indicative of running on master |
I just checked out the repository but can't find a branch where you are using the pydata-sphinx-theme. Can you give a link so I can try it out? |
From the screenshot you show, I don't think this is using the latest master version.
So we limited the max-width in the idea that this improved readability on big screens. However, with the current solution/layout, this also limits the horizontal space that is available for the links in the header navbar, which can give problems if you have many items in there (as you have). So if that turns out to be a problem, we should certainly look into making this somewhat easy to override / customize. |
BTW, since you all have single pages without further nesting, you might also be interested in a layout that puts those links on the side (eg https://contextily.readthedocs.io/en/latest/, xref #90) |
The branch using pydata-sphinx-theme is prep-v1: https://github.com/ucbds-infra/otter-grader/tree/prep-v1 Also I will look into the contextily docs theme, thanks! |
So that's using some custom layout in the contextily repo. But another option would also be to try out https://github.com/ExecutableBookProject/sphinx-book-theme (which will work better out of the box). Both do something similar: at theme based on this one but navigation in the left sidebar. |
Dupe #163 ? |
This is impossible to reproduce with the latest 0.9 version (as we changed how to deal with logoless websites since you posted your issue). Some of the problem you raised were effectively solved in #163. Please feel free to open a new issue if you still face problem with the latest releases. |
When I create docs with this theme and push to readthedocs, the header is spaced differently and is missing the home link. Any ideas why this is the case? The docs can be found here and the RTD is here
Local build output:
RTD Build Output:
The text was updated successfully, but these errors were encountered: