From 7d55d43de39f3325c55574f2fda4f9eb1c589b46 Mon Sep 17 00:00:00 2001 From: Abrham Sayd Martinez Corrales Date: Fri, 19 May 2023 00:36:13 +0000 Subject: [PATCH 1/2] DOC: Simplify pandas theme footer (#51536) --- doc/_templates/pandas_footer.html | 2 +- doc/source/conf.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html index 6d8caa4d6c741..ceb761d0072f0 100644 --- a/doc/_templates/pandas_footer.html +++ b/doc/_templates/pandas_footer.html @@ -1,3 +1,3 @@ diff --git a/doc/source/conf.py b/doc/source/conf.py index 66fca61c2c6e5..d275a6e61ef79 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -375,11 +375,15 @@ import os os.chdir(r'{os.path.dirname(os.path.dirname(__file__))}') """ +footer = f"""{datetime.now().year} +pandas via NumFOCUS, Inc. + Hosted by OVHcloud.""" html_context = { "redirects": dict(moved_api_pages), "header": header, + "footer": footer } # If false, no module index is generated. From 1d319bd8494c63270819832e94d98fae6477ad26 Mon Sep 17 00:00:00 2001 From: Fernando Reyes Date: Fri, 19 May 2023 01:47:45 +0000 Subject: [PATCH 2/2] moved all content from pandas_footer.html to conf.py --- doc/_templates/pandas_footer.html | 4 +--- doc/source/conf.py | 7 ++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/_templates/pandas_footer.html b/doc/_templates/pandas_footer.html index ceb761d0072f0..af1c21989d1dd 100644 --- a/doc/_templates/pandas_footer.html +++ b/doc/_templates/pandas_footer.html @@ -1,3 +1 @@ - +{{footer}} diff --git a/doc/source/conf.py b/doc/source/conf.py index d275a6e61ef79..664a038c11d76 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -375,9 +375,10 @@ import os os.chdir(r'{os.path.dirname(os.path.dirname(__file__))}') """ -footer = f"""{datetime.now().year} -pandas via NumFOCUS, Inc. - Hosted by OVHcloud.""" +footer = f"""""" html_context = {