Skip to content

Commit

Permalink
DOC: Disable parallel Sphinx builds to avoid EOFError
Browse files Browse the repository at this point in the history
  • Loading branch information
Vineeth Sai committed Dec 22, 2024
1 parent 602ae10 commit f965d5f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -388,11 +388,24 @@
"""


from datetime import datetime

footer = 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_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

Expand Down

0 comments on commit f965d5f

Please sign in to comment.