Skip to content

Maddie doc simplify footer theme #61999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/_templates/pandas_footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<p class="copyright">
&copy {{copyright}} pandas via <a href="https://numfocus.org">NumFOCUS, Inc.</a> Hosted by <a href="https://www.ovhcloud.com">OVHcloud</a>.
</p>
</p>
15 changes: 12 additions & 3 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import warnings

import jinja2
from markupsafe import Markup
from numpydoc.docscrape import NumpyDocString
from sphinx.ext.autosummary import _import_by_name

Expand All @@ -32,6 +33,9 @@
# Python's default allowed recursion depth is 1000.
sys.setrecursionlimit(5000)

# Disable parallel reading to avoid multiprocessing issues on macOS
parallel_read_safe = False

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -150,7 +154,7 @@
toggleprompt_offset_right = 35

# Add any paths that contain templates here, relative to this directory.
templates_path = ["../_templates"]
# templates_path = ["../_templates"]

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

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

# Simple copyright text - HTML links are handled in pandas_footer.html template
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>")

html_theme_options = {
"footer_start": ["copyright"],
"footer_center": ["sphinx-version"],
"footer_end": ["theme-version"],
"external_links": [],
"footer_start": ["pandas_footer", "sphinx-version"],
"github_url": "https://github.com/pandas-dev/pandas",
"analytics": {
"plausible_analytics_domain": "pandas.pydata.org",
Expand Down
123 changes: 0 additions & 123 deletions doc/source/development/community.rst

This file was deleted.

Loading
Loading