Skip to content

Commit 621c184

Browse files
committed
ci: add .readthedocs.yaml
1 parent cd63f1f commit 621c184

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-22.04"
5+
tools:
6+
python: "3.10"
7+
8+
apt_packages:
9+
- protobuf-compiler
10+
11+
commands:
12+
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
13+
- export PATH="$HOME/.cargo/bin:$PATH"
14+
- pip install uv
15+
- cd tsubakuro-rust-python && uv run pdoc tsurugi_dbapi --html -o $READTHEDOCS_OUTPUT/html --force
16+
- mv $READTHEDOCS_OUTPUT/html/tsurugi_dbapi/* $READTHEDOCS_OUTPUT/html/ || true

0 commit comments

Comments
 (0)