[gtk/ebassi/gidocgen: 77/483] docs: Add separate toml files for gdk backends
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 77/483] docs: Add separate toml files for gdk backends
- Date: Sun, 7 Mar 2021 16:13:10 +0000 (UTC)
commit 6f4811b81bebba3cf6c3fb05dbf133cd896e3103
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 21 10:38:39 2021 -0500
docs: Add separate toml files for gdk backends
Reusing the same one duplicates the standalone
docs, which doesn't quite seem right.
docs/reference/gdk/gdk4-wayland.toml.in | 23 +++++++++++++++++++++++
docs/reference/gdk/gdk4-x11.toml.in | 23 +++++++++++++++++++++++
docs/reference/gdk/meson.build | 10 ++++++----
3 files changed, 52 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-wayland.toml.in b/docs/reference/gdk/gdk4-wayland.toml.in
new file mode 100644
index 0000000000..ba47b9dc11
--- /dev/null
+++ b/docs/reference/gdk/gdk4-wayland.toml.in
@@ -0,0 +1,23 @@
+[library]
+version = "@version@"
+browse_url = "https://gitlab.gnome.org/GNOME/gtk/"
+repository_url = "https://gitlab.gnome.org/GNOME/gtk.git"
+website_url = "https://www.gtk.org"
+authors = "GTK Development Team"
+logo_url = "gtk-logo.svg"
+license = "GPL-2.1-or-later"
+description = "The GTK toolkit"
+dependencies = [ "GObject-2.0" ]
+devhelp = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+[theme]
+name = "basic"
+show_index_summary = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/master/"
diff --git a/docs/reference/gdk/gdk4-x11.toml.in b/docs/reference/gdk/gdk4-x11.toml.in
new file mode 100644
index 0000000000..ba47b9dc11
--- /dev/null
+++ b/docs/reference/gdk/gdk4-x11.toml.in
@@ -0,0 +1,23 @@
+[library]
+version = "@version@"
+browse_url = "https://gitlab.gnome.org/GNOME/gtk/"
+repository_url = "https://gitlab.gnome.org/GNOME/gtk.git"
+website_url = "https://www.gtk.org"
+authors = "GTK Development Team"
+logo_url = "gtk-logo.svg"
+license = "GPL-2.1-or-later"
+description = "The GTK toolkit"
+dependencies = [ "GObject-2.0" ]
+devhelp = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+[theme]
+name = "basic"
+show_index_summary = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/master/"
diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build
index d6163ae029..66b0d150fc 100644
--- a/docs/reference/gdk/meson.build
+++ b/docs/reference/gdk/meson.build
@@ -2,6 +2,8 @@ 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')
custom_target('gdk4-doc',
@@ -24,7 +26,7 @@ if get_option('gtk_doc')
if x11_enabled
custom_target('gdk4-x11-doc',
- input: [ gdk4_toml, gdk_x11_gir[0] ],
+ input: [ gdk4x11_toml, gdk_x11_gir[0] ],
output: 'gdk4-x11',
command: [
gidocgen,
@@ -38,14 +40,14 @@ if get_option('gtk_doc')
'@INPUT1@',
],
depends: [ gdk_gir[0] ],
- depend_files: [ expand_content_md_files ],
+ depend_files: [ ],
build_by_default: true,
)
endif
if wayland_enabled
custom_target('gdk4-wayland-doc',
- input: [ gdk4_toml, gdk_wayland_gir[0] ],
+ input: [ gdk4wayland_toml, gdk_wayland_gir[0] ],
output: 'gdk4-wayland',
command: [
gidocgen,
@@ -59,7 +61,7 @@ if get_option('gtk_doc')
'@INPUT1@',
],
depends: [ gdk_gir[0] ],
- depend_files: [ expand_content_md_files ],
+ depend_files: [ ],
build_by_default: true,
)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]