Link goption documentation to GOptionContext type

This makes the goption overview visible in the gi-docgen docs as part of
the GOptionContext type. Previously it was not visible anywhere.

Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2953
This commit is contained in:
Sam Thursfield 2023-03-23 14:11:26 +01:00 committed by Philip Withnall
parent bd63436fad
commit 2d216d4d8c
3 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@
<xi:include href="xml/guri.xml" /> <xi:include href="xml/guri.xml" />
<xi:include href="xml/ghostutils.xml" /> <xi:include href="xml/ghostutils.xml" />
<xi:include href="xml/shell.xml" /> <xi:include href="xml/shell.xml" />
<xi:include href="xml/option.xml" /> <xi:include href="xml/goptioncontext.xml" />
<xi:include href="xml/patterns.xml" /> <xi:include href="xml/patterns.xml" />
<xi:include href="xml/gregex.xml" /> <xi:include href="xml/gregex.xml" />
<xi:include href="regex-syntax.xml" /> <xi:include href="regex-syntax.xml" />

View File

@ -1353,7 +1353,7 @@ g_shell_error_quark
<SECTION> <SECTION>
<TITLE>Commandline option parser</TITLE> <TITLE>Commandline option parser</TITLE>
<FILE>option</FILE> <FILE>goptioncontext</FILE>
GOptionError GOptionError
G_OPTION_ERROR G_OPTION_ERROR
GOptionArgFunc GOptionArgFunc

View File

@ -20,7 +20,7 @@
*/ */
/** /**
* SECTION:option * SECTION:goptioncontext
* @Short_description: parses commandline options * @Short_description: parses commandline options
* @Title: Commandline option parser * @Title: Commandline option parser
* *