Skip to content

Commit 2d03703

Browse files
updated RTD
1 parent 0dd8fb4 commit 2d03703

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.readthedocs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ build:
77
jobs:
88
# This runs AFTER sphinx-build finishes
99
post_build:
10+
# Use || true to prevent the build from failing if a folder is missing
1011
- mkdir -p $READTHEDOCS_OUTPUT/html/pica
11-
- cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/
12+
- cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/ || echo "Assets not found"
1213
- mkdir -p $READTHEDOCS_OUTPUT/html/publications
13-
- cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || true
14+
- cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || echo "Pubs not found"
1415

1516
python:
1617
install:
17-
- method: pip
18-
path: .
1918
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)