From f965d5fbe6e4fddd6b1ced07ebb0a002c64d3d54 Mon Sep 17 00:00:00 2001 From: Vineeth Sai Date: Sat, 21 Dec 2024 16:24:08 -0800 Subject: [PATCH] DOC: Disable parallel Sphinx builds to avoid EOFError --- doc/source/conf.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 677ee6274b093..a73764aa6df54 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -240,7 +240,7 @@ html_theme_options = { "external_links": [], - "footer_start": ["pandas_footer", "sphinx-version"], + "footer_start": ["sphinx-version"], # Remove "pandas_footer" "github_url": "https://github.com/pandas-dev/pandas", "analytics": { "plausible_analytics_domain": "pandas.pydata.org", @@ -388,11 +388,24 @@ """ +from datetime import datetime + +footer = f""" +© {datetime.now().year} pandas via +NumFOCUS, Inc. +Hosted by OVHcloud +""" + html_context = { "redirects": dict(moved_api_pages), "header": header, + "footer": footer, # Add footer here } +# Disable parallel processing to avoid EOFError during builds +parallel_read_safe = False +parallel_write_safe = False + # If false, no module index is generated. html_use_modindex = True