From 8a5f141125a0e3d2edddf1049609ba77331c2b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Juli=C3=A1n=20Espina?= Date: Wed, 26 Oct 2022 10:52:31 +0000 Subject: [PATCH] Reduce documentation size in blog (#2383) The documentation page of our blog is a whooping 532 MB in size. This is because we're uploading the whole documentation of all our deps instead of only our crates. This PR modifies our CI to only upload a lightweight version of our documentation, which excludes all deps (replaces all hyperlinks with crates.io links) and only builds our crates docs. This brings the total size of our docs down to 87 MB. --- .github/workflows/master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 1e404a8d16..ac1ae3baed 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -29,7 +29,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: -v --document-private-items --all-features + args: -v --document-private-items --all-features --workspace --no-deps --exclude boa_examples - run: echo "" > target/doc/index.html - run: | if [ -d target/doc_upload ]; then rm -rf target/doc_upload; fi