Skip to content

Commit cf67d94

Browse files
authored
Merge pull request #1246 from o1-labs/dw/update-docs
CI/docs: include Rust API docs
2 parents 689d1f4 + 727c1a0 commit cf67d94

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/docs.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@ on:
66
- develop
77
tags:
88
- 'v*'
9-
paths:
10-
- 'website/**'
11-
- 'docs/**'
12-
- '.github/workflows/docs.yaml'
139
pull_request:
14-
paths:
15-
- 'website/**'
16-
- 'docs/**'
17-
- '.github/workflows/docs.yaml'
1810
workflow_dispatch:
1911

2012
env:
@@ -99,15 +91,18 @@ jobs:
9991
sudo apt update
10092
sudo apt install -y protobuf-compiler
10193
94+
- name: Setup Rust
95+
uses: dtolnay/rust-toolchain@stable
96+
with:
97+
components: rustfmt
98+
toolchain: nightly
99+
102100
- name: Install documentation dependencies
103101
run: make docs-install
104102

105103
- name: Build documentation
106104
run: |
107-
cd website
108-
# Set base URL for GitHub Pages
109-
echo "Building documentation for GitHub Pages..."
110-
npm run build
105+
make docs-build
111106
env:
112107
NODE_ENV: production
113108

0 commit comments

Comments
 (0)