-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closes #13688: added scroll to top button to div.footer via doc/_temp… #13689
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
Closes #13688: added scroll to top button to div.footer via doc/_temp… #13689
Conversation
I don't think this is the right template |
I understand you suggested to add to the theme's main template, but adding it to the div.footer seems like a better approach since it's closer to the end of the page. Any other reason you think it's not the right template? Did you try building the docs and it didn't work? |
well did the docs build? |
Yes, they build just fine as far as I can tell and the code is inserted just above the Here's the bottom of my build for index.html
|
@jreback, just curious if you had any other feedback on this |
@shawnheide Can you explain again why this cannot be added to the doc/source/themes/nature_with_gtoc/static/layout.html ? Can't you add the footer there as well? |
But to be clear, the enhancement itself is really nice! |
0d614b2
to
19ba380
Compare
@jorisvandenbossche No reason it couldn't be added. In all honesty I just got a little burnt out on Sphinx and didn't look into last week. I moved it to the theme as you and Jeff requested and changed the commit. Thanks for following up on this. |
Current coverage is 84.53%@@ master #13689 diff @@
==========================================
Files 141 141
Lines 51145 51145
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 43233 43233
Misses 7912 7912
Partials 0 0
|
@shawnheide Thanks! |
git diff upstream/master | flake8 --diff
Added scroll to top feature to documentation div.footer using Sphinx template