Skip to content

Commit 723421d

Browse files
author
xopherw
committed
rebased, and only change config.py
1 parent 9ff14a3 commit 723421d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/source/conf.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import warnings
2020

2121
import jinja2
22+
from markupsafe import Markup
2223
from numpydoc.docscrape import NumpyDocString
2324
from sphinx.ext.autosummary import _import_by_name
2425

@@ -150,7 +151,7 @@
150151
toggleprompt_offset_right = 35
151152

152153
# Add any paths that contain templates here, relative to this directory.
153-
templates_path = ["../_templates"]
154+
# templates_path = ["../_templates"]
154155

155156
# The suffix of source filenames.
156157
source_suffix = [".rst"]
@@ -164,7 +165,7 @@
164165
# General information about the project.
165166
project = "pandas"
166167
# We have our custom "pandas_footer.html" template, using copyright for the current year
167-
copyright = f"{datetime.now().year},"
168+
# copyright = f"{datetime.now().year},"
168169

169170
# The version info for the project you're documenting, acts as replacement for
170171
# |version| and |release|, also used in various other places throughout the
@@ -240,9 +241,15 @@
240241
# only keep major.minor version number to match versions.json
241242
switcher_version = ".".join(version.split(".")[:2])
242243

244+
copyright = Markup(f"{datetime.now().year}, "
245+
"pandas via <a href=\"https://numfocus.org\">NumFOCUS, Inc.</a> "
246+
"Hosted by <a href=\"https://www.ovhcloud.com\">OVHcloud</a>.")
247+
243248
html_theme_options = {
244249
"external_links": [],
245-
"footer_start": ["pandas_footer", "sphinx-version"],
250+
"footer_start": ["copyright"],
251+
"footer_center": ["sphinx-version"],
252+
"footer_end": ["version-theme"],
246253
"github_url": "https://github.com/pandas-dev/pandas",
247254
"analytics": {
248255
"plausible_analytics_domain": "pandas.pydata.org",

0 commit comments

Comments
 (0)