[gtk/ebassi/docs-related] Add related libraries




commit b3951bc046f136791eb7f5af92f727cc9734b068
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Feb 12 16:49:53 2022 +0000

    Add related libraries
    
    Gi-docgen has a new configuration option for projects that
    allows them to list related libraries, instead of making the
    "dependencies" key completely detached from the included
    namespaces.

 atk/atk/atk.toml.in          | 10 +++++++++-
 glib/glib/glib.toml.in       |  8 ++++----
 glib/gobject/gobject.toml.in |  8 +++++---
 gtk3/gdk/gdk3.toml.in        | 11 ++++++++++-
 4 files changed, 28 insertions(+), 9 deletions(-)
---
diff --git a/atk/atk/atk.toml.in b/atk/atk/atk.toml.in
index d2f22eb01b..0773161ec4 100644
--- a/atk/atk/atk.toml.in
+++ b/atk/atk/atk.toml.in
@@ -7,15 +7,23 @@ docs_url = "https://docs.gtk.org/atk/";
 authors = "GTK Development Team"
 license = "LGPL-2.1-or-later"
 description = "The Accessibility toolkit"
-dependencies = [ "GObject-2.0", ]
 devhelp = true
 search_index = true
 
+dependencies = [ "GObject-2.0", ]
+
   [dependencies."GObject-2.0"]
   name = "GObject"
   description = "The base type system library"
   docs_url = "https://docs.gtk.org/gobject/";
 
+related = ["Atspi-2.0"]
+
+  [related."Atspi-2.0"]
+  name = "AT-SPI"
+  description = "The Assistive Technology Service Provider Interface"
+  docs_url = "https://docs.gtk.org/atspi2/";
+
 [theme]
 name = "basic"
 show_index_summary = true
diff --git a/glib/glib/glib.toml.in b/glib/glib/glib.toml.in
index 6c3ab94a5a..5c09170d34 100644
--- a/glib/glib/glib.toml.in
+++ b/glib/glib/glib.toml.in
@@ -8,21 +8,21 @@ docs_url = "https://docs.gtk.org/glib/";
 authors = "GTK Development Team"
 license = "LGPL-2.1-or-later"
 description = "GLib is a general-purpose, portable utility library, which provides many useful data types, 
macros, type conversions, string utilities, file utilities, a mainloop abstraction, and so on."
-dependencies = [ "GModule-2.0", "GObject-2.0", "Gio-2.0" ]
+related = [ "GModule-2.0", "GObject-2.0", "Gio-2.0" ]
 devhelp = true
 search_index = true
 
-  [dependencies."GModule-2.0"]
+  [related."GModule-2.0"]
   name = "GModule"
   description = "Portable API for dynamically loading modules"
   docs_url = "https://docs.gtk.org/gmodule/";
 
-  [dependencies."GObject-2.0"]
+  [related."GObject-2.0"]
   name = "GObject"
   description = "The base type system library"
   docs_url = "https://docs.gtk.org/gobject/";
 
-  [dependencies."Gio-2.0"]
+  [related."Gio-2.0"]
   name = "GIO"
   description = "GObject Interfaces and Objects, Networking, IPC, and I/O"
   docs_url = "https://docs.gtk.org/gio/";
diff --git a/glib/gobject/gobject.toml.in b/glib/gobject/gobject.toml.in
index 171adff588..63c7ef3246 100644
--- a/glib/gobject/gobject.toml.in
+++ b/glib/gobject/gobject.toml.in
@@ -8,21 +8,23 @@ docs_url = "https://docs.gtk.org/gobject/";
 authors = "GTK Development Team"
 license = "LGPL-2.1-or-later"
 description = "The base type system and object class"
-dependencies = [ "GLib-2.0", "GModule-2.0", "Gio-2.0" ]
 devhelp = true
 search_index = true
+dependencies = ["GLib-2.0"]
 
   [dependencies."GLib-2.0"]
   name = "GLib"
   description = "The base utility library"
   docs_url = "https://docs.gtk.org/glib/";
 
-  [dependencies."GModule-2.0"]
+related = ["GModule-2.0", "Gio-2.0"]
+
+  [related."GModule-2.0"]
   name = "GModule"
   description = "Portable API for dynamically loading modules"
   docs_url = "https://docs.gtk.org/gmodule/";
 
-  [dependencies."Gio-2.0"]
+  [related."Gio-2.0"]
   name = "GIO"
   description = "GObject Interfaces and Objects, Networking, IPC, and I/O"
   docs_url = "https://docs.gtk.org/gio/";
diff --git a/gtk3/gdk/gdk3.toml.in b/gtk3/gdk/gdk3.toml.in
index 38f05f50ec..c6fcde2b9c 100644
--- a/gtk3/gdk/gdk3.toml.in
+++ b/gtk3/gdk/gdk3.toml.in
@@ -8,10 +8,11 @@ authors = "GTK Development Team"
 logo_url = "gtk-logo.svg"
 license = "LGPL-2.1-or-later"
 description = "The GTK toolkit"
-dependencies = [ "GObject-2.0", "cairo-1.0", "Pango-1.0", "GdkX11-3.0" ]
 devhelp = true
 search_index = true
 
+dependencies = [ "GObject-2.0", "cairo-1.0", "Pango-1.0", "GdkX11-3.0" ]
+
   [dependencies."GObject-2.0"]
   name = "GObject"
   description = "The base type system library"
@@ -32,6 +33,14 @@ search_index = true
   description = "GDK X11 Backend"
   docs_url = "https://docs.gtk.org/gdk3-x11/";
 
+related = ["Gtk-3.0"]
+
+  [related."Gtk-3.0"]
+  name = "Gtk"
+  description = "The GTK toolkit"
+  docs_url = "https://docs.gtk.org/gtk3/";
+
+
 [theme]
 name = "basic"
 show_index_summary = true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]