Skip to content

Commit

Permalink
Merge pull request #3760 from agriyakhetarpal/fix-doctests
Browse files Browse the repository at this point in the history
Switch to single-threaded docs build for now
  • Loading branch information
agriyakhetarpal authored Jan 23, 2024
2 parents 37978d0 + 77f83df commit 2f4a928
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ jobs:
steps:
- name: Check out PyBaMM repository
uses: actions/checkout@v4
with:
fetch-depth: 0

# Install and cache apt packages
- name: Install Linux system dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".ipynb_checkpoints"]

# Suppress warnings generated by Sphinx and/or by Sphinx extensions
suppress_warnings = ["git.too_shallow"]
suppress_warnings = []

# -- Options for HTML output -------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ def build_docs(session):
f"{envbindir}/../tmp/html",
)
# Runs in CI only, treating warnings as errors
# Run in single-threaded mode, see
# https://github.com/pydata/pydata-sphinx-theme/issues/1643
else:
session.run(
"sphinx-build",
"-j",
"auto",
"-b",
"html",
"-W",
Expand Down

0 comments on commit 2f4a928

Please sign in to comment.