From cb50e377b25fda6d1a30cd71d9a69b5760fb63c4 Mon Sep 17 00:00:00 2001 From: zhangy <61818253+hypocrasy@users.noreply.github.com> Date: Sat, 30 Apr 2022 16:36:46 +0800 Subject: [PATCH] fix build doc Able to show different crates --- .github/workflows/build-doc.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-doc.yml b/.github/workflows/build-doc.yml index a48f1474..9a7d3154 100644 --- a/.github/workflows/build-doc.yml +++ b/.github/workflows/build-doc.yml @@ -16,10 +16,10 @@ jobs: rustup component add llvm-tools-preview rustup component add rust-src cd os - cargo doc --no-deps --verbose - - name: Deploy to Github Pages + cargo doc --document-private-items --verbose + - name: Push to gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./os/target/riscv64gc-unknown-none-elf/doc - destination_dir: ${{ github.ref_name }} \ No newline at end of file + destination_dir: ${{ github.ref_name }}