[librsvg: 2/4] Publish the gi-docgen docs




commit 67c52f31646e52696b139c454b51b91cc20fa757
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 6 20:48:15 2022 -0600

    Publish the gi-docgen docs
    
    They should appear in https://gnome.pages.gitlab.gnome.org/librsvg/Rsvg-2.0/index.html
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/651>

 .gitlab-ci.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c8ef68bb..fc65acd14 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -240,9 +240,30 @@ distcheck:
       allow_failure: true
     - if: '$CI_PIPELINE_SOURCE == "schedule"'
 
+reference:
+  extends: '.cache'
+  stage: docs
+  needs:
+    - job: opensuse:tumbleweed
+  before_script:
+    - sudo zypper install -y python38-docutils python3-gi-docgen
+  script:
+    - mkdir -p _build
+    - cd _build
+    - sudo ../autogen.sh --enable-vala
+    - sudo -E make
+    - cd ..
+    - mkdir -p public/
+    - sudo mv _build/doc/Rsvg-2.0 public/
+  artifacts:
+    paths:
+      - public
+
 pages:
   stage: docs
   extends: '.cache'
+  needs:
+    - job: reference
   script:
     - mkdir -p public/internals
     - sudo -E cargo doc --document-private-items --no-deps


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]