Skip to content

Commit f88488e

Browse files
sbkashifclaude
andcommitted
build: host the website on Read the Docs
.readthedocs.yaml builds website/ with Python 3.12 and website/requirements.txt, failing on any warning as the CI website job does. The wasm engine is committed, so no compiler is needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1e7a37a commit f88488e

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎.readthedocs.yaml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Read the Docs builds the learning website (website/) from this file.
2+
# The in-browser engine, website/_static/engine/_molsim.wasm, is committed, so
3+
# the build needs only Sphinx and its extensions: no C++ compiler, no Emscripten.
4+
version: 2
5+
6+
build:
7+
os: ubuntu-24.04
8+
tools:
9+
python: "3.12"
10+
11+
sphinx:
12+
configuration: website/conf.py
13+
# Same rule as the `website` CI job: a warning fails the build.
14+
fail_on_warning: true
15+
16+
python:
17+
install:
18+
- requirements: website/requirements.txt

0 commit comments

Comments
 (0)