-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Move rtd advertisement to footer #1359
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AdamRJensen! Here are a few comments in case anyone is curious (like I was) what the default values are for these settings.
@@ -158,6 +158,7 @@ | |||
], | |||
"use_edit_page_button": True, | |||
"show_toc_level": 1, | |||
"footer_items": ["copyright", "sphinx-version", "sidebar-ethical-ads"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: "footer_items": ["copyright", "sphinx-version"]
https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/sections.html#the-footer
@@ -198,7 +199,9 @@ | |||
#html_use_smartypants = True | |||
|
|||
# Custom sidebar templates, maps document names to template names. | |||
#html_sidebars = {} | |||
html_sidebars = { | |||
"**": ["search-field", "sidebar-nav-bs"] # "sidebar-ethical-ads" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: "**": ["search-field", "sidebar-nav-bs", "sidebar-ethical-ads"]
https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/sections.html#the-left-sidebar
- [ ] Tests added- [ ] Updates entries todocs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).- [ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.