From 18dde3165e6739010ab36ff1f12a8d216f4f473a Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Mon, 1 Jan 2024 16:24:38 -0500 Subject: [PATCH] Add docs CI job --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f37c155..497f2c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,3 +26,13 @@ test: image: registry.mregirouard.com/libretunes/ops/docker-leptos:slim script: - cargo-leptos test + +# Generate docs +cargo-doc: + needs: [] + image: rust:slim + script: + - cargo doc --no-deps + artifacts: + paths: + - target/doc