|
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 |
|
|
32 | 33 | # Python's default allowed recursion depth is 1000. |
33 | 34 | sys.setrecursionlimit(5000) |
34 | 35 |
|
| 36 | +# Disable parallel reading to avoid multiprocessing issues on macOS |
| 37 | +parallel_read_safe = False |
| 38 | + |
35 | 39 | # If extensions (or modules to document with autodoc) are in another directory, |
36 | 40 | # add these directories to sys.path here. If the directory is relative to the |
37 | 41 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
150 | 154 | toggleprompt_offset_right = 35 |
151 | 155 |
|
152 | 156 | # Add any paths that contain templates here, relative to this directory. |
153 | | -templates_path = ["../_templates"] |
| 157 | +# templates_path = ["../_templates"] |
154 | 158 |
|
155 | 159 | # The suffix of source filenames. |
156 | 160 | source_suffix = [".rst"] |
|
164 | 168 | # General information about the project. |
165 | 169 | project = "pandas" |
166 | 170 | # We have our custom "pandas_footer.html" template, using copyright for the current year |
167 | | -copyright = f"{datetime.now().year}," |
| 171 | +# copyright = f"{datetime.now().year}," |
168 | 172 |
|
169 | 173 | # The version info for the project you're documenting, acts as replacement for |
170 | 174 | # |version| and |release|, also used in various other places throughout the |
|
240 | 244 | # only keep major.minor version number to match versions.json |
241 | 245 | switcher_version = ".".join(version.split(".")[:2]) |
242 | 246 |
|
| 247 | +# Simple copyright text - HTML links are handled in pandas_footer.html template |
| 248 | +copyright = Markup(f"{datetime.now().year}, pandas via <a href=\"https://numfocus.org\">NumFOCUS, Inc.</a> Hosted by <a href=\"https://www.ovhcloud.com\">OVHcloud</a>") |
| 249 | + |
243 | 250 | html_theme_options = { |
244 | | - "external_links": [], |
245 | | - "footer_start": ["pandas_footer"], |
| 251 | + "footer_start": ["copyright"], |
246 | 252 | "footer_center": ["sphinx-version"], |
247 | 253 | "footer_end": ["theme-version"], |
| 254 | + "external_links": [], |
248 | 255 | "github_url": "https://github.com/pandas-dev/pandas", |
249 | 256 | "analytics": { |
250 | 257 | "plausible_analytics_domain": "pandas.pydata.org", |
|
0 commit comments