|
19 | 19 | import warnings
|
20 | 20 |
|
21 | 21 | import jinja2
|
| 22 | +from markupsafe import Markup |
22 | 23 | from numpydoc.docscrape import NumpyDocString
|
23 | 24 | from sphinx.ext.autosummary import _import_by_name
|
24 | 25 |
|
|
150 | 151 | toggleprompt_offset_right = 35
|
151 | 152 |
|
152 | 153 | # Add any paths that contain templates here, relative to this directory.
|
153 |
| -templates_path = ["../_templates"] |
| 154 | +# templates_path = ["../_templates"] |
154 | 155 |
|
155 | 156 | # The suffix of source filenames.
|
156 | 157 | source_suffix = [".rst"]
|
|
164 | 165 | # General information about the project.
|
165 | 166 | project = "pandas"
|
166 | 167 | # 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}," |
168 | 169 |
|
169 | 170 | # The version info for the project you're documenting, acts as replacement for
|
170 | 171 | # |version| and |release|, also used in various other places throughout the
|
|
240 | 241 | # only keep major.minor version number to match versions.json
|
241 | 242 | switcher_version = ".".join(version.split(".")[:2])
|
242 | 243 |
|
| 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 | + |
243 | 248 | html_theme_options = {
|
244 | 249 | "external_links": [],
|
245 |
| - "footer_start": ["pandas_footer", "sphinx-version"], |
| 250 | + "footer_start": ["copyright"], |
| 251 | + "footer_center": ["sphinx-version"], |
| 252 | + "footer_end": ["version-theme"], |
246 | 253 | "github_url": "https://github.com/pandas-dev/pandas",
|
247 | 254 | "analytics": {
|
248 | 255 | "plausible_analytics_domain": "pandas.pydata.org",
|
|
0 commit comments