[libsoup/fix-docs] ci: Install glib documentation for website
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/fix-docs] ci: Install glib documentation for website
- Date: Tue, 3 Aug 2021 17:30:42 +0000 (UTC)
commit dff9e2d2eb12557b9e51c2c6a9ee62968f4bc240
Author: Patrick Griffis <pgriffis igalia com>
Date: Tue Aug 3 12:18:59 2021 -0500
ci: Install glib documentation for website
.gitlab-ci.yml | 8 ++++----
.gitlab-ci/Dockerfile | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2530f61..fa7598b0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,12 +86,12 @@ 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
+ - 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]