[librsvg: 17/21] Add a devel-docs job to the CI
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 17/21] Add a devel-docs job to the CI
- Date: Thu, 18 Aug 2022 02:48:13 +0000 (UTC)
commit 3cd6f9110c50bcd7f42f297de599b5902601ce34
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Aug 17 20:03:34 2022 -0500
Add a devel-docs job to the CI
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/729>
.gitlab-ci.yml | 16 ++++++++++++++++
ci/gen-devel-docs.sh | 7 +++++++
2 files changed, 23 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c8a82d83..b44b28d18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -397,6 +397,21 @@ reference:
paths:
- public
+devel-docs:
+ extends:
+ - '.container.opensuse@x86_64.stable'
+ - '.fdo.distribution-image@opensuse'
+ - '.cache'
+ stage: docs
+ needs:
+ - job: opensuse-container@x86_64.stable
+ artifacts: false
+ script:
+ - bash -x ./ci/gen-devel-docs.sh
+ artifacts:
+ paths:
+ - public
+
pages:
stage: docs
extends:
@@ -406,6 +421,7 @@ pages:
needs:
- job: reference
- job: coverage
+ - job: devel-docs
script:
- mkdir -p public/internals
- cargo doc --document-private-items --no-deps
diff --git a/ci/gen-devel-docs.sh b/ci/gen-devel-docs.sh
new file mode 100644
index 000000000..dd2b011ad
--- /dev/null
+++ b/ci/gen-devel-docs.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+mkdir -p public/devel-docs
+sphinx-build devel-docs public/devel-docs
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]