-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DOC: simplify pandas footer #53299
DOC: simplify pandas footer #53299
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
<p class="copyright"> | ||
© {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>. | ||
</p> | ||
{{footer}} | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,11 +375,16 @@ | |
import os | ||
os.chdir(r'{os.path.dirname(os.path.dirname(__file__))}') | ||
""" | ||
footer = f"""<p class="copyright"> | ||
©{datetime.now().year} | ||
pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> | ||
Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.</p>""" | ||
|
||
|
||
html_context = { | ||
"redirects": dict(moved_api_pages), | ||
"header": header, | ||
"footer": footer | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What you want is to edit There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been looking for a solution to this, I'm still working on it. |
||
} | ||
|
||
# If false, no module index is generated. | ||
|
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.
The idea of the issue is to remove this file.