From 5318eb2d04762403016e4e1cf1f66dcb256c9b24 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Thu, 15 Sep 2022 01:16:47 +0100 Subject: [PATCH] DOC: Fix docs footer (#48556) --- 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 00000000000000..c24bce52e67e0e --- /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 3225582269b644..e7e64315a502f2 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",