Skip to content

Commit e87d16b

Browse files
readthedocs added
1 parent d94f948 commit e87d16b

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.readthedocs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
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
12+
13+
python:
14+
install:
15+
- method: pip
16+
path: .
17+
- requirements: docs/requirements.txt # Ensure these exist or list them here

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx
2+
myst-parser
3+
sphinx-rtd-theme

0 commit comments

Comments
 (0)