We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd8fb4 commit 2d03703Copy full SHA for 2d03703
1 file changed
.readthedocs.yaml
@@ -7,13 +7,12 @@ build:
7
jobs:
8
# This runs AFTER sphinx-build finishes
9
post_build:
10
+ # Use || true to prevent the build from failing if a folder is missing
11
- mkdir -p $READTHEDOCS_OUTPUT/html/pica
- - cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/
12
+ - cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/ || echo "Assets not found"
13
- mkdir -p $READTHEDOCS_OUTPUT/html/publications
- - cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || true
14
+ - cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || echo "Pubs not found"
15
16
python:
17
install:
- - method: pip
18
- path: .
19
- requirements: docs/requirements.txt
0 commit comments