Merge branch 'standalone-doc-sections' into 'master'

Add the notion of standalone doc sections.

See merge request GNOME/gobject-introspection!226
This commit is contained in:
Mathieu Duponchelle 2020-07-22 21:36:59 +00:00
commit 1d0c86a123

View File

@ -2830,7 +2830,8 @@ start_element_handler (GMarkupParseContext *context,
ctx, error))
goto out;
if (strcmp ("doc", element_name) == 0 || strcmp ("doc-deprecated", element_name) == 0 ||
strcmp ("doc-stability", element_name) == 0 || strcmp ("doc-version", element_name) == 0)
strcmp ("doc-stability", element_name) == 0 || strcmp ("doc-version", element_name) == 0 ||
strcmp ("docsection", element_name) == 0)
{
state_switch (ctx, STATE_PASSTHROUGH);
goto out;