Skip to content

Commit 0418fe1

Browse files
committed
ci: add .readthedocs.yaml
1 parent cd63f1f commit 0418fe1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
jobs:
12+
build:
13+
- |
14+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
15+
export PATH="$HOME/.cargo/bin:$PATH"
16+
pip install uv
17+
cd tsubakuro-rust-python
18+
uv run pdoc tsurugi_dbapi --html -o $READTHEDOCS_OUTPUT/html --force
19+
mv $READTHEDOCS_OUTPUT/html/tsurugi_dbapi/* $READTHEDOCS_OUTPUT/html/ || true

0 commit comments

Comments
 (0)