Skip to content

Commit

Permalink
Hack around sphinx_immaterial download issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Feb 23, 2023
1 parent ebd6f32 commit 7152737
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ jobs:
- restore_cache:
keys: v1-docs-cache

# Sphinx_immaterial does parallel downloads that don't work
# well on CircleCI. There is no setting, so we just edit
# the max number of workers. Bit gross, but this isn't our
# production doc build anyways, that happens on RTD without hacks.
- run:
name: hack sphinx_immaterial
command: |
sed -i 's/max_workers=32/max_workers=1/' /mnt/ramdisk/venv/lib/py*/site-packages/sphinx_immaterial/google_fonts.py
- run:
name: build docs
command: |
Expand Down

0 comments on commit 7152737

Please sign in to comment.