Skip to content

Commit

Permalink
DOC: Simplify pandas theme footer (pandas-dev#51536)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrhamSayd committed May 19, 2023
1 parent 634b940 commit 7d55d43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/_templates/pandas_footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<p class="copyright">
&copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.
&copy {{footer}}
</p>
4 changes: 4 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,15 @@
import os
os.chdir(r'{os.path.dirname(os.path.dirname(__file__))}')
"""
footer = f"""{datetime.now().year}
pandas via <a href="https://numfocus.org">NumFOCUS, Inc.
</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>."""


html_context = {
"redirects": dict(moved_api_pages),
"header": header,
"footer": footer
}

# If false, no module index is generated.
Expand Down

0 comments on commit 7d55d43

Please sign in to comment.