Skip to content

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

Merged
merged 1 commit into from
Dec 27, 2021
Merged

Conversation

AdamRJensen
Copy link
Member

@AdamRJensen AdamRJensen commented Dec 17, 2021

  • Closes Change advertisement position in new pydata theme #1358
  • I am familiar with the contributing guidelines
    - [ ] Tests added
    - [ ] Updates entries to docs/sphinx/source/api.rst for API changes.
  • Adds description and name entries in the appropriate "what's new" file in 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.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

Copy link
Member

@kandersolar kandersolar left a 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"],
Copy link
Member

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"
Copy link
Member

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

@kandersolar kandersolar merged commit b3c1b5e into pvlib:master Dec 27, 2021
@AdamRJensen AdamRJensen deleted the move_rtd_ad branch July 8, 2024 11:23
@AdamRJensen AdamRJensen mentioned this pull request Jul 8, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change advertisement position in new pydata theme
3 participants