Skip to content

Commit 0dd8fb4

Browse files
RTD updated
1 parent e87d16b commit 0dd8fb4

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.readthedocs.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ build:
44
os: ubuntu-22.04
55
tools:
66
python: "3.10"
7-
# This mimics your GitHub Action logic by running custom commands
8-
post_build:
9-
- mkdir -p $READTHEDOCS_OUTPUT/html/pica
10-
- cp -r pica/assets $READTHEDOCS_OUTPUT/html/pica/
11-
- cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || true
7+
jobs:
8+
# This runs AFTER sphinx-build finishes
9+
post_build:
10+
- mkdir -p $READTHEDOCS_OUTPUT/html/pica
11+
- cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/
12+
- mkdir -p $READTHEDOCS_OUTPUT/html/publications
13+
- cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || true
1214

1315
python:
1416
install:
1517
- method: pip
1618
path: .
17-
- requirements: docs/requirements.txt # Ensure these exist or list them here
19+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sphinx
1+
sphinx>=7.0.0
22
myst-parser
33
sphinx-rtd-theme

0 commit comments

Comments
 (0)