Skip to content

Commit 2b00b8f

Browse files
committed
DOC: Simplify footer by removing custom template and integrating sponsor information directly into copyright
- Deleted the custom "pandas_footer.html" template. - Updated copyright statement in conf.py to include sponsor information. - Removed related CSS styles for the footer sponsors.
1 parent 1030474 commit 2b00b8f

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

doc/_templates/pandas_footer.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/source/_static/css/pandas.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,3 @@ table {
5757
align-items: center;
5858
gap: 0.5rem;
5959
}
60-
61-
.footer-sponsors {
62-
display: inline-block;
63-
}

doc/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@
163163

164164
# General information about the project.
165165
project = "pandas"
166-
# We have our custom "pandas_footer.html" template, using copyright for the current year
167-
copyright = f"{datetime.now().year}, pandas"
166+
# Updated copyright to include sponsor information, removing the need for custom template
167+
copyright = f'{datetime.now().year}, pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.'
168168

169169
# The version info for the project you're documenting, acts as replacement for
170170
# |version| and |release|, also used in various other places throughout the
@@ -242,7 +242,7 @@
242242

243243
html_theme_options = {
244244
"external_links": [],
245-
"footer_start": ["copyright", "pandas_footer", "sphinx-version"],
245+
"footer_start": ["copyright", "sphinx-version"],
246246
"github_url": "https://github.com/pandas-dev/pandas",
247247
"analytics": {
248248
"plausible_analytics_domain": "pandas.pydata.org",

0 commit comments

Comments
 (0)