From 0560397aa8bb053d7ac826aec6963cf40e6eeca9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 23 Mar 2021 12:25:08 +0000 Subject: [PATCH 1/3] ci: Build Pango and GdkPixbuf's docs We want to publish them alongside GTK's own API reference. --- .gitlab-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d732984ce8..e70ea303b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -287,9 +287,9 @@ reference: stage: docs needs: [] variables: - EXTRA_MESON_FLAGS: "--buildtype=release" + EXTRA_MESON_FLAGS: "--buildtype=release --force-fallback-for=gdk-pixbuf,pango" script: - - meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} -Dgtk_doc=true _build + - meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} -Dgtk_doc=true -Dgdk-pixbuf:gtk_doc=true -Dpango:gtk_doc=true _build - meson compile -C _build - mkdir -p _reference/ - mv _build/docs/reference/gdk/gdk4/ _reference/gdk4/ @@ -297,6 +297,14 @@ reference: - mv _build/docs/reference/gdk/gdk4-wayland/ _reference/gdk4-wayland/ - mv _build/docs/reference/gsk/gsk4/ _reference/gsk4/ - mv _build/docs/reference/gtk/gtk4/ _reference/gtk4/ + - mv _build/subprojects/pango/docs/Pango/ _reference/Pango/ + - mv _build/subprojects/pango/docs/PangoCairo/ _reference/PangoCairo/ + - mv _build/subprojects/pango/docs/PangoFc/ _reference/PangoFc/ + - mv _build/subprojects/pango/docs/PangoFT2/ _reference/PangoFT2/ + - mv _build/subprojects/pango/docs/PangoOT/ _reference/PangoOT/ + - mv _build/subprojects/pango/docs/PangoXft/ _reference/PangoXft/ + - mv _build/subprojects/gdk-pixbuf/docs/gdk-pixbuf/ _reference/gdk-pixbuf/ + - mv _build/subprojects/gdk-pixbuf/docs/gdk-pixdata/ _reference/gdk-pixdata/ artifacts: paths: - _reference From a9a56222148eb48fbcd814f4ae597689ad43a3ec Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 23 Mar 2021 12:25:40 +0000 Subject: [PATCH 2/3] docs: Link Pango and GdkPixbuf on docs.gtk.org --- .gitlab-ci/pages/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/pages/index.html b/.gitlab-ci/pages/index.html index 440e18514d..6d57016acf 100644 --- a/.gitlab-ci/pages/index.html +++ b/.gitlab-ci/pages/index.html @@ -69,13 +69,13 @@ SPDX-License-Identifier: LGPL-2.1-or-later

Pango is the core text and font handling library used in GTK applications. It has extensive support for the different writing systems used throughout the world.

-

Pango API reference

+

Pango API reference

GdkPixbuf

GdkPixbuf is a library for image loading and manipulation.

-

GdkPixbuf API reference

+

GdkPixbuf API reference

From 2bc7abceaea72fd44c145a31e8b347f847c64e1e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 23 Mar 2021 13:09:28 +0000 Subject: [PATCH 3/3] docs: Drop the external class for links to docs.gtk.org --- .gitlab-ci/pages/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/pages/index.html b/.gitlab-ci/pages/index.html index 6d57016acf..4cffac6c3c 100644 --- a/.gitlab-ci/pages/index.html +++ b/.gitlab-ci/pages/index.html @@ -49,19 +49,19 @@ SPDX-License-Identifier: LGPL-2.1-or-later

GTK is the primary library used to construct user interfaces. It provides user interface controls and signal callbacks to respond to user actions.

-

GTK API reference

+

GTK API reference

GSK

An intermediate layer which provides a rendering API implemented using Cairo, OpenGL or Vulkan.

-

GSK API reference

+

GSK API reference

GDK

An intermediate layer which isolates GTK from the details of the windowing system.

-

GDK API reference

+

GDK API reference