docs: Mark Gtk and Gdk as related libraries

Since Gtk and Gdk are no longer hard dependencies, gi-docgen considers
them related libraries.  They will not show up in the documentation
if they are tagged as dependencies without actually being dependencies.

See: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2407
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2788>
This commit is contained in:
Corey Berla 2023-01-17 11:17:45 -08:00 committed by Marge Bot
parent 8ee85cb228
commit a60ceaa377

View File

@ -7,7 +7,8 @@ docs_url = "https://docs.gtk.org/"
authors = "Mutter Development Team"
license = "GPL-2.0-or-later"
description = "The Mutter display server, window manager and compositor library"
dependencies = [ "GObject-2.0", "Gdk-3.0", "Gtk-3.0" ]
dependencies = [ "GObject-2.0" ]
related = [ "Gdk-3.0", "Gtk-3.0" ]
devhelp = true
search_index = true
@ -16,13 +17,13 @@ search_index = true
description = "The base type system library"
docs_url = "https://docs.gtk.org/gobject/"
[dependencies."Gdk-3.0"]
name = "GDK"
[related."Gdk-3.0"]
name = "Gdk"
description = "The GTK windowing system abstraction"
docs_url = "https://docs.gtk.org/gdk3/"
[dependencies."Gtk-3.0"]
name = "GTK"
[related."Gtk-3.0"]
name = "Gtk"
description = "The GTK toolkit"
docs_url = "https://docs.gtk.org/gtk3/"