From e9464fe0bc114433f7fa980d6a0bc187689c29bf Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Wed, 22 Nov 2023 12:36:14 -0500 Subject: [PATCH] Add default landing page for Pages --- .github/workflows/docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 738dc25..dc1c57e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,6 +20,10 @@ jobs: - name: Build workspace docs run: cargo 3ds --verbose doc --verbose --no-deps --workspace + env: + # TODO: might want a custom index page ? + # https://doc.rust-lang.org/rustdoc/unstable-features.html#--index-page-provide-a-top-level-landing-page-for-docs + RUSTDOCFLAGS: "--enable-index-page" # https://github.com/actions/upload-pages-artifact#file-permissions - name: Fix file permissions