From a60ceaa377954440fbe469e4a0a5e2be1a5613fe Mon Sep 17 00:00:00 2001 From: Corey Berla Date: Tue, 17 Jan 2023 11:17:45 -0800 Subject: [PATCH] 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: --- doc/reference/meta/meta.toml.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/reference/meta/meta.toml.in b/doc/reference/meta/meta.toml.in index 197ec600c..d664bea04 100644 --- a/doc/reference/meta/meta.toml.in +++ b/doc/reference/meta/meta.toml.in @@ -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/"