Skip to content

Commit

Permalink
DOC: Fix docs footer (#48556)
Browse files Browse the repository at this point in the history
  • Loading branch information
datapythonista authored Sep 15, 2022
1 parent 5f5a382 commit 752fda8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions doc/_templates/pandas_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +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">OVH Cloud</a>.
</p>
8 changes: 3 additions & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,8 @@

# General information about the project.
project = "pandas"
copyright = (
f"{datetime.now().year} "
'pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> '
'Hosted by <a href="https://www.ovhcloud.com">OVH Cloud</a>'
)
# We have our custom "pandas_footer.html" template, using copyright for the current year
copyright = f"{datetime.now().year}"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -243,6 +240,7 @@

html_theme_options = {
"external_links": [],
"footer_items": ["pandas_footer", "sphinx-version"],
"github_url": "https://github.com/pandas-dev/pandas",
"twitter_url": "https://twitter.com/pandas_dev",
"google_analytics_id": "UA-27880019-2",
Expand Down

0 comments on commit 752fda8

Please sign in to comment.