Skip to content

Commit b13867d

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

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-22.04"
5+
tools:
6+
python: "3.10"
7+
8+
commands:
9+
- |
10+
set -e
11+
12+
wget -q https://github.com/protocolbuffers/protobuf/releases/download/v3.12.4/protoc-3.12.4-linux-x86_64.zip
13+
unzip -q protoc-3.12.4-linux-x86_64.zip -d $HOME/protoc
14+
export PATH="$HOME/protoc/bin:$PATH"
15+
export PROTOC="$HOME/protoc/bin/protoc"
16+
17+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
18+
export PATH="$HOME/.cargo/bin:$PATH"
19+
20+
pip install uv
21+
22+
cd tsubakuro-rust-python
23+
uv run pdoc tsurugi_dbapi --html -o $READTHEDOCS_OUTPUT/html --force
24+
25+
mv $READTHEDOCS_OUTPUT/html/tsurugi_dbapi/* $READTHEDOCS_OUTPUT/html/ || true

0 commit comments

Comments
 (0)