Skip to content

Commit 727c1a0

Browse files
committed
CI/docs: also deliver Rust API docs
1 parent a6ac8c9 commit 727c1a0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/docs.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,18 @@ jobs:
9191
sudo apt update
9292
sudo apt install -y protobuf-compiler
9393
94+
- name: Setup Rust
95+
uses: dtolnay/rust-toolchain@stable
96+
with:
97+
components: rustfmt
98+
toolchain: nightly
99+
94100
- name: Install documentation dependencies
95101
run: make docs-install
96102

97103
- name: Build documentation
98104
run: |
99-
cd website
100-
# Set base URL for GitHub Pages
101-
echo "Building documentation for GitHub Pages..."
102-
npm run build
105+
make docs-build
103106
env:
104107
NODE_ENV: production
105108

0 commit comments

Comments
 (0)