Skip to content

Commit 8a811ef

Browse files
as they said
1 parent 2d03703 commit 8a811ef

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

.readthedocs.yaml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
15
version: 2
26

7+
# Set the OS, Python version, and other tools you might need
38
build:
4-
os: ubuntu-22.04
9+
os: ubuntu-24.04
510
tools:
6-
python: "3.10"
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
12-
- cp -r pica/assets/ $READTHEDOCS_OUTPUT/html/pica/ || echo "Assets not found"
13-
- mkdir -p $READTHEDOCS_OUTPUT/html/publications
14-
- cp -r publications/ $READTHEDOCS_OUTPUT/html/publications/ || echo "Pubs not found"
11+
python: "3.13"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/conf.py
1516

16-
python:
17-
install:
18-
- requirements: docs/requirements.txt
17+
# Optionally, but recommended,
18+
# declare the Python requirements required to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
# python:
21+
# install:
22+
# - requirements: docs/requirements.txt
23+

0 commit comments

Comments
 (0)