Skip to content

Commit d469345

Browse files
committed
ci: Use stable Rust for docs, remove unstable features
- Switch from nightly to stable toolchain - Remove --enable-index-page -Zunstable-options (caused template error) - Remove --document-private-items for cleaner public API docs
1 parent 843d9fe commit d469345

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v6
2626

27-
- name: Install Rust (nightly for docs features)
28-
uses: dtolnay/rust-toolchain@nightly
27+
- name: Install Rust
28+
uses: dtolnay/rust-toolchain@stable
2929

3030
- name: Install system dependencies
3131
run: |
@@ -39,15 +39,13 @@ jobs:
3939
~/.cargo/registry
4040
~/.cargo/git
4141
target
42-
key: ${{ runner.os }}-cargo-docs-nightly-${{ hashFiles('**/Cargo.lock') }}
42+
key: ${{ runner.os }}-cargo-docs-${{ hashFiles('**/Cargo.lock') }}
4343
restore-keys: |
44-
${{ runner.os }}-cargo-docs-nightly-
44+
${{ runner.os }}-cargo-docs-
4545
4646
- name: Build rustdoc
4747
run: |
48-
cargo doc -p aingle_minimal --no-deps --document-private-items
49-
env:
50-
RUSTDOCFLAGS: --enable-index-page -Zunstable-options
48+
cargo doc -p aingle_minimal --no-deps
5149
5250
- name: Create index redirect
5351
run: |

0 commit comments

Comments
 (0)