Skip to content

Commit 21b5658

Browse files
committed
feat: add rust doc
1 parent 3d3eaae commit 21b5658

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,24 @@ jobs:
113113
cd "$current_dir"
114114
done
115115
116+
- name: Set up Python
117+
uses: actions/setup-python@v5
118+
with:
119+
python-version: '3.x'
120+
121+
- name: Clone Paimon Rust repo
122+
run: git clone https://github.com/apache/paimon-rust.git /tmp/paimon-rust
123+
124+
- name: Build Paimon Rust docs
125+
run: |
126+
pip install mkdocs-material
127+
cd /tmp/paimon-rust/docs
128+
mkdocs build -d /tmp/paimon-rust-site
129+
cd $GITHUB_WORKSPACE
130+
rm -rf docs/rust
131+
mkdir -p docs/rust
132+
cp -r /tmp/paimon-rust-site/* docs/rust/
133+
116134
- name: Push to github
117135
run: |
118136
git add -A

0 commit comments

Comments
 (0)