From a62531a2db03b70b0257a70b57a769e895bfb78c Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Wed, 14 Sep 2022 23:51:42 +0100 Subject: [PATCH] DOC: Fix docs footer --- doc/_templates/pandas_footer.html | 3 +++ doc/source/conf.py | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 doc/_templates/pandas_footer.html diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html new file mode 100644 index 0000000000000..c24bce52e67e0 --- /dev/null +++ b/doc/_templates/pandas_footer.html @@ -0,0 +1,3 @@ + diff --git a/doc/source/conf.py b/doc/source/conf.py index 3225582269b64..e7e64315a502f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -163,11 +163,8 @@ # General information about the project. project = "pandas" -copyright = ( - f"{datetime.now().year} " - 'pandas via NumFOCUS, Inc. ' - 'Hosted by OVH Cloud' -) +# 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 @@ -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",