diff options
author | Maximiliano Sandoval R <msandova@gnome.org> | 2022-07-14 18:36:14 +0200 |
---|---|---|
committer | Maximiliano Sandoval R <msandova@gnome.org> | 2022-12-14 21:02:15 +0100 |
commit | 518b8e04ea5586fd88086a9203cec2c37ee166a1 (patch) | |
tree | c63ffc2b6064f81efc9d87bafbd099a80f09e5d5 | |
parent | 569d82feb50b012ef1930149cd6ef6668811df08 (diff) | |
download | libnotify-518b8e04ea5586fd88086a9203cec2c37ee166a1.tar.gz |
ci: Build docs
-rw-r--r-- | .gitlab-ci.yml | 19 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 19 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23a8276..6b9fa5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: stages: - build + - deploy build:ubuntu: stage: build @@ -11,7 +12,6 @@ build:ubuntu: - apt-get update && - apt-get install -q -y --no-install-recommends gobject-introspection - gtk-doc-tools libgdk-pixbuf2.0-dev libgirepository1.0-dev libglib2.0-dev @@ -23,15 +23,26 @@ build:ubuntu: python3-setuptools xsltproc docbook-xsl-ns - - pip3 install meson + - pip3 install meson gi-docgen script: - meson _build -Ddocbook_docs=enabled - ninja -C _build install + - mv _build/docs/reference/libnotify-0 _reference artifacts: expose_as: "Build artifacts" paths: - _build/docs/notification-spec.html - - _build/docs/reference/html - - _build/docs/reference/html/index.html + - _reference - _build/meson-logs +pages: + stage: deploy + script: + - mkdir public + - mv _reference/* public/ + artifacts: + when: on_success + paths: + - public + # https://github.com/linux-test-project/lcov/issues/58 + allow_failure: true @@ -10,6 +10,10 @@ or display some form of information without getting in the user's way. It is also a simple wrapper to send cross-desktop Notifications for sandboxed applications using the [XDG Portal Notification API][portal]. +### Documentation + +You can find the nightly documentation at https://gnome.pages.gitlab.gnome.org/libnotify/. + ## Notice For GLib based applications the [GNotification][gnotif] API should be used |