Skip to content

Commit 7d55d43

Browse files
committed
DOC: Simplify pandas theme footer (pandas-dev#51536)
1 parent 634b940 commit 7d55d43

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/_templates/pandas_footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<p class="copyright">
2-
&copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.
2+
&copy {{footer}}
33
</p>

doc/source/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,15 @@
375375
import os
376376
os.chdir(r'{os.path.dirname(os.path.dirname(__file__))}')
377377
"""
378+
footer = f"""{datetime.now().year}
379+
pandas via <a href="https://numfocus.org">NumFOCUS, Inc.
380+
</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>."""
378381

379382

380383
html_context = {
381384
"redirects": dict(moved_api_pages),
382385
"header": header,
386+
"footer": footer
383387
}
384388

385389
# If false, no module index is generated.

0 commit comments

Comments
 (0)