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




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

    ci: Install glib documentation for website

 .gitlab-ci.yml        | 7 +++----
 .gitlab-ci/Dockerfile | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2530f61..2d751f65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,12 +86,11 @@ 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/
     - .gitlab-ci/check-docs.py
-    - gtkdoc-rebase --html-dir=_reference/ --online
+    - mkdir -p _reference
+    - 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]