[libsoup/fix-docs] ci: Install glib documentation for website




commit d0a8aa3fa24ab83b502cdfdc783ae27a58ed46bb
Author: Patrick Griffis <pgriffis igalia com>
Date:   Tue Aug 3 12:18:59 2021 -0500

    ci: Install glib documentation for website

 .gitlab-ci.yml        | 11 +++++++----
 .gitlab-ci/Dockerfile |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2530f61..d234bfa5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,12 +86,15 @@ reference:
     DESTDIR: _install
   needs: []
   script:
-    - meson _build -Dgtk_doc=true
-    - ninja -C _build libsoup-3.0-doc
+    - meson _build --prefix=/usr -Dgtk_doc=true
     - ninja -C _build install
-    - mv _build/docs/reference/html/ _reference/
+    - ls -lah /usr/share/gtk-doc/html/
+    - ninja -C _build install
+    - ls -lah /usr/share/gtk-doc/html/
     - .gitlab-ci/check-docs.py
-    - gtkdoc-rebase --html-dir=_reference/ --online
+    - mkdir -p _reference
+    - ls -lah /usr/share/gtk-doc/html/
+    - cp -R /usr/share/gtk-doc/html/{glib,gio,gobject,libsoup-3.0} _reference
   artifacts:
     paths:
       - _build/docs/reference/libsoup-3.0-*.txt
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index bc4d4b4e..13b3c584 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -37,7 +37,7 @@ RUN dnf update -y \
 RUN git clone https://gitlab.gnome.org/GNOME/glib.git \
     && pushd glib \
     && git checkout 02742ef957b532789c003eef80ec7f51c370e3d5 \
-    && meson _build --prefix=/usr \
+    && meson _build --prefix=/usr -Dgtk_doc=true \
     && ninja -C _build install \
     && popd \
     && rm -rf glib


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