summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2021-07-31 18:39:52 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2021-07-31 18:39:52 +0000
commit7b743e662e01f8dea426f9545ca76875ca9177f0 (patch)
tree52c4d7c04f170b6d6a9b82c1b4def227f4aa19ad
parent4d020a387538e589d2b7bb8716fe2cc2fee3f0d7 (diff)
parent769dc53c0599f4ec3e17de19740f63df01e568cd (diff)
downloadgtk+-7b743e662e01f8dea426f9545ca76875ca9177f0.tar.gz
Merge branch 'update-docs' into 'master'
docs: Update the URL for related documentation See merge request GNOME/gtk!3813
-rw-r--r--docs/reference/gdk/gdk4-wayland.toml.in2
-rw-r--r--docs/reference/gdk/gdk4-x11.toml.in2
-rw-r--r--docs/reference/gdk/gdk4.toml.in2
-rw-r--r--docs/reference/gdk/meson.build28
-rw-r--r--docs/reference/gdk/urlmap.js17
-rw-r--r--docs/reference/gsk/gsk4.toml.in2
-rw-r--r--docs/reference/gsk/meson.build10
-rw-r--r--docs/reference/gsk/urlmap.js17
-rw-r--r--docs/reference/gtk/gtk4.toml.in2
-rw-r--r--docs/reference/gtk/meson.build10
-rw-r--r--docs/reference/gtk/urlmap.js17
11 files changed, 75 insertions, 34 deletions
diff --git a/docs/reference/gdk/gdk4-wayland.toml.in b/docs/reference/gdk/gdk4-wayland.toml.in
index 96ca18f64e..e83984a0b7 100644
--- a/docs/reference/gdk/gdk4-wayland.toml.in
+++ b/docs/reference/gdk/gdk4-wayland.toml.in
@@ -13,7 +13,7 @@ devhelp = 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/"
[theme]
name = "basic"
diff --git a/docs/reference/gdk/gdk4-x11.toml.in b/docs/reference/gdk/gdk4-x11.toml.in
index 96ca18f64e..e83984a0b7 100644
--- a/docs/reference/gdk/gdk4-x11.toml.in
+++ b/docs/reference/gdk/gdk4-x11.toml.in
@@ -13,7 +13,7 @@ devhelp = 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/"
[theme]
name = "basic"
diff --git a/docs/reference/gdk/gdk4.toml.in b/docs/reference/gdk/gdk4.toml.in
index 7454034d8b..fe938c4c05 100644
--- a/docs/reference/gdk/gdk4.toml.in
+++ b/docs/reference/gdk/gdk4.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."cairo-1.0"]
name = "Cairo"
diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build
index d5429928e1..57da47f5f1 100644
--- a/docs/reference/gdk/meson.build
+++ b/docs/reference/gdk/meson.build
@@ -1,11 +1,15 @@
expand_content_md_files = [
]
-gdk4_toml = configure_file(input: 'gdk4.toml.in', output: 'gdk4.toml', configuration: toml_conf)
-gdk4x11_toml = configure_file(input: 'gdk4-x11.toml.in', output: 'gdk4-x11.toml', configuration: toml_conf)
-gdk4wayland_toml = configure_file(input: 'gdk4-wayland.toml.in', output: 'gdk4-wayland.toml', configuration: toml_conf)
-
if get_option('gtk_doc')
+ gdk4_toml = configure_file(
+ input: 'gdk4.toml.in',
+ output: 'gdk4.toml',
+ configuration: toml_conf,
+ install: true,
+ install_dir: docs_dir / 'gdk4',
+ )
+
custom_target('gdk4-doc',
input: [ gdk4_toml, gdk_gir[0] ],
output: 'gdk4',
@@ -28,6 +32,14 @@ if get_option('gtk_doc')
)
if x11_enabled
+ gdk4x11_toml = configure_file(
+ input: 'gdk4-x11.toml.in',
+ output: 'gdk4-x11.toml',
+ configuration: toml_conf,
+ install: true,
+ install_dir: docs_dir / 'gdk4-x11',
+ )
+
custom_target('gdk4-x11-doc',
input: [ gdk4x11_toml, gdk_x11_gir[0] ],
output: 'gdk4-x11',
@@ -52,6 +64,14 @@ if get_option('gtk_doc')
endif
if wayland_enabled
+ gdk4wayland_toml = configure_file(
+ input: 'gdk4-wayland.toml.in',
+ output: 'gdk4-wayland.toml',
+ configuration: toml_conf,
+ install: true,
+ install_dir: docs_dir / 'gdk4-wayland',
+ )
+
custom_target('gdk4-wayland-doc',
input: [ gdk4wayland_toml, gdk_wayland_gir[0] ],
output: 'gdk4-wayland',
diff --git a/docs/reference/gdk/urlmap.js b/docs/reference/gdk/urlmap.js
index eaf2de9886..355f47e353 100644
--- a/docs/reference/gdk/urlmap.js
+++ b/docs/reference/gdk/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/' ],
]
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/' ],
]
diff --git a/docs/reference/gtk/gtk4.toml.in b/docs/reference/gtk/gtk4.toml.in
index e1cc9f34cb..03c9346a70 100644
--- a/docs/reference/gtk/gtk4.toml.in
+++ b/docs/reference/gtk/gtk4.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/gtk/meson.build b/docs/reference/gtk/meson.build
index 0d785b26de..65873e5202 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -27,9 +27,15 @@ expand_content_md_files = [
'visual_index.md'
]
-gtk4_toml = configure_file(input: 'gtk4.toml.in', output: 'gtk4.toml', configuration: toml_conf)
-
if get_option('gtk_doc')
+ gtk4_toml = configure_file(
+ input: 'gtk4.toml.in',
+ output: 'gtk4.toml',
+ configuration: toml_conf,
+ install: true,
+ install_dir: docs_dir / 'gtk4',
+ )
+
custom_target('gtk4-doc',
input: [ gtk4_toml, gtk_gir[0] ],
output: 'gtk4',
diff --git a/docs/reference/gtk/urlmap.js b/docs/reference/gtk/urlmap.js
index eaf2de9886..355f47e353 100644
--- a/docs/reference/gtk/urlmap.js
+++ b/docs/reference/gtk/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/' ],
]