From 83a8ee25ca6e92fc8274994807f9a67465fd3a28 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 29 May 2024 01:10:44 +0900 Subject: [PATCH] ci: document dependencies --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00f2566f1f..6daf226a44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -285,7 +285,8 @@ cargo:doc: - apt-get install -y --no-install-recommends build-essential clang mold nodejs npm - cp ci/cargo/config.toml /usr/local/cargo/config.toml script: - - cargo doc --no-deps --document-private-items + - cargo doc --document-private-items + - printf "window.ALL_CRATES = ['backend_rs', 'macro_rs'];" > target/doc/crates.js - printf '' 'backend_rs' > target/doc/index.html - cd target/doc - npx --yes netlify-cli deploy --prod --site="${CARGO_DOC_SITE_ID}" --dir=.