From ff0d155f84460a0f6d370f6416c622c5d6fb4d06 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:46:52 +0200 Subject: [PATCH] docs: redirect index.html to alloy meta crate (#520) --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6641ad32c7b..f94672cff05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,11 +168,12 @@ jobs: - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - - run: cargo doc --workspace --all-features --no-deps --document-private-items + - name: Build documentation + run: cargo doc --workspace --all-features --no-deps --document-private-items env: - RUSTDOCFLAGS: - --cfg docsrs -D warnings --show-type-layout --generate-link-to-definition - --enable-index-page -Zunstable-options + RUSTDOCFLAGS: --cfg docsrs -D warnings --show-type-layout --generate-link-to-definition -Zunstable-options + - name: Doc index page redirection + run: echo '' > target/doc/index.html - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3 if: github.event_name == 'push' && github.ref == 'refs/heads/main'