[gtk/update-docs: 2/3] docs: Update the URLs of related projects for GSK
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/update-docs: 2/3] docs: Update the URLs of related projects for GSK
- Date: Sat, 31 Jul 2021 18:09:13 +0000 (UTC)
commit 1a4554daf3768164fa2d07423274b4d3b7507b55
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Jul 31 19:07:18 2021 +0100
docs: Update the URLs of related projects for GSK
And install the gi-docgen project file.
docs/reference/gsk/gsk4.toml.in | 2 +-
docs/reference/gsk/meson.build | 10 ++++++++--
docs/reference/gsk/urlmap.js | 17 ++++++++++-------
3 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/docs/reference/gsk/gsk4.toml.in b/docs/reference/gsk/gsk4.toml.in
index 3f163bd79c..58a577e7a1 100644
--- a/docs/reference/gsk/gsk4.toml.in
+++ b/docs/reference/gsk/gsk4.toml.in
@@ -14,7 +14,7 @@ search_index = true
[dependencies."GObject-2.0"]
name = "GObject"
description = "The base type system library"
- docs_url = "https://developer.gnome.org/gobject/stable/"
+ docs_url = "https://docs.gtk.org/gobject/"
[dependencies."Graphene-1.0"]
name = "Graphene"
diff --git a/docs/reference/gsk/meson.build b/docs/reference/gsk/meson.build
index db80a68898..13f636091d 100644
--- a/docs/reference/gsk/meson.build
+++ b/docs/reference/gsk/meson.build
@@ -1,6 +1,12 @@
-gsk4_toml = configure_file(input: 'gsk4.toml.in', output: 'gsk4.toml', configuration: toml_conf)
-
if get_option('gtk_doc')
+ gsk4_toml = configure_file(
+ input: 'gsk4.toml.in',
+ output: 'gsk4.toml',
+ configuration: toml_conf,
+ install: true,
+ install_dir: docs_dir / 'gsk4',
+ )
+
custom_target('gsk4-doc',
input: [ gsk4_toml, gsk_gir[0] ],
output: 'gsk4',
diff --git a/docs/reference/gsk/urlmap.js b/docs/reference/gsk/urlmap.js
index eaf2de9886..355f47e353 100644
--- a/docs/reference/gsk/urlmap.js
+++ b/docs/reference/gsk/urlmap.js
@@ -3,11 +3,14 @@
// A map between namespaces and base URLs for their online documentation
baseURLs = [
- [ 'Gdk', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4/' ],
- [ 'GdkWayland', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-wayland/' ],
- [ 'GdkX11', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-x11/' ],
- [ 'Gsk', 'https://gnome.pages.gitlab.gnome.org/gtk/gsk4/' ],
- [ 'Gtk', 'https://gnome.pages.gitlab.gnome.org/gtk/gtk4/' ],
- [ 'Pango', 'https://gnome.pages/gitlab.gnome.org/pango/pango/' ],
- [ 'PangoCairo', 'https://gnome.pages.gitlab.gnome.org/pango/pangocairo/' ],
+ [ 'GLib', 'https://docs.gtk.org/glib/' ],
+ [ 'GObject', 'https://docs.gtk.org/gobject/' ],
+ [ 'Gio', 'https://docs.gtk.org/gio/' ],
+ [ 'Gdk', 'https://docs.gtk.org/gdk4/' ],
+ [ 'GdkWayland', 'https://docs.gtk.org/gdk4-wayland/' ],
+ [ 'GdkX11', 'https://docs.gtk.org/gdk4-x11/' ],
+ [ 'Gsk', 'https://docs.gtk.org/gsk4/' ],
+ [ 'Gtk', 'https://docs.gtk.org/gtk4/' ],
+ [ 'Pango', 'https://docs.gtk.org/Pango/' ],
+ [ 'PangoCairo', 'https://docs.gtk.org/PangoCairo/' ],
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]