mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
Merge branch 'issue-2236' into 'master'
Include generated files and documentation in the GIO reference Closes #2236 See merge request GNOME/glib!1730
This commit is contained in:
commit
86b910e6b1
@ -5,13 +5,15 @@
|
|||||||
]>
|
]>
|
||||||
<book lang="en" xmlns:xi="http://www.w3.org/2003/XInclude">
|
<book lang="en" xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||||
<part>
|
<part>
|
||||||
<title>foo</title>
|
<title>GDBus ObjctManager Example</title>
|
||||||
<chapter>
|
<chapter>
|
||||||
<title>bar</title>
|
<title>Interfaces</title>
|
||||||
<xi:include href="xml/ExampleAnimal.xml"/>
|
<xi:include href="xml/ExampleAnimal.xml"/>
|
||||||
<xi:include href="xml/ExampleCat.xml"/>
|
<xi:include href="xml/ExampleCat.xml"/>
|
||||||
<xi:include href="xml/ExampleObject.xml"/>
|
<xi:include href="xml/ExampleObject.xml"/>
|
||||||
<xi:include href="xml/ExampleObjectManagerClient.xml"/>
|
<xi:include href="xml/ExampleObjectManagerClient.xml"/>
|
||||||
</chapter>
|
</chapter>
|
||||||
</part>
|
</part>
|
||||||
|
|
||||||
|
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
|
||||||
</book>
|
</book>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
if get_option('gtk_doc')
|
if get_option('gtk_doc')
|
||||||
if installed_tests_enabled
|
|
||||||
subdir('gdbus-object-manager-example')
|
subdir('gdbus-object-manager-example')
|
||||||
endif
|
|
||||||
subdir('xml')
|
subdir('xml')
|
||||||
|
|
||||||
ignore_headers = [
|
ignore_headers = [
|
||||||
@ -178,13 +176,11 @@ if get_option('gtk_doc')
|
|||||||
'gdbus-codegen.xml',
|
'gdbus-codegen.xml',
|
||||||
]
|
]
|
||||||
|
|
||||||
if installed_tests_enabled
|
|
||||||
content_files += [
|
content_files += [
|
||||||
gdbus_example_objectmanager_xml,
|
gdbus_example_objectmanager_xml,
|
||||||
gdbus_example_objectmanager_sources,
|
gdbus_example_objectmanager_sources,
|
||||||
gdbus_object_manager_example_doc
|
gdbus_object_manager_example_doc
|
||||||
]
|
]
|
||||||
endif
|
|
||||||
|
|
||||||
gnome.gtkdoc('gio',
|
gnome.gtkdoc('gio',
|
||||||
main_xml : 'gio-docs.xml',
|
main_xml : 'gio-docs.xml',
|
||||||
|
@ -254,7 +254,7 @@ on_name_acquired (GDBusConnection *connection,
|
|||||||
linkend="gdbus-codegen">gdbus-codegen</link></command> is used and like
|
linkend="gdbus-codegen">gdbus-codegen</link></command> is used and like
|
||||||
its counterpart, it also takes D-Bus Introspection XML as input:
|
its counterpart, it also takes D-Bus Introspection XML as input:
|
||||||
</para>
|
</para>
|
||||||
<example id="gdbus-example-codegen-input"><title>Example D-Bus Introspection XML</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../gdbus-example-objectmanager.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example>
|
<example id="gdbus-example-codegen-input"><title>Example D-Bus Introspection XML</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../../gio/tests/gdbus-object-manager-example/gdbus-example-objectmanager.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: gdbus-example-objectmanager.xml</xi:fallback></xi:include></programlisting></example>
|
||||||
<para>
|
<para>
|
||||||
If this XML is processed like this
|
If this XML is processed like this
|
||||||
<informalexample><programlisting><![CDATA[
|
<informalexample><programlisting><![CDATA[
|
||||||
@ -291,18 +291,19 @@ gdbus-codegen --interface-prefix org.gtk.GDBus.Example.ObjectManager. \
|
|||||||
#ExampleObjectManagerClient pages for documentation.
|
#ExampleObjectManagerClient pages for documentation.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<example id="gdbus-example-codegen-server"><title>Server-side application using generated code</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../gdbus-example-objectmanager-server.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example>
|
<example id="gdbus-example-codegen-server"><title>Server-side application using generated code</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../../gio/tests/gdbus-example-objectmanager-server.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: gdbus-example-objectmanager-server.c</xi:fallback></xi:include></programlisting></example>
|
||||||
|
|
||||||
<example id="gdbus-example-codegen-client"><title>Client-side application using generated code</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../gdbus-example-objectmanager-client.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example>
|
<example id="gdbus-example-codegen-client"><title>Client-side application using generated code</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../../gio/tests/gdbus-example-objectmanager-client.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: gdbus-example-objectmanager-client.c</xi:fallback></xi:include></programlisting></example>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<xi:include href="../../../../gio/tests/gdbus-object-manager-example/objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Animal.xml"/>
|
<!-- All XInclude paths are relative to the html/ directory under the build root directory -->
|
||||||
<xi:include href="../../../../gio/tests/gdbus-object-manager-example/objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Cat.xml"/>
|
<xi:include href="../../../../gio/tests/gdbus-object-manager-example/objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Animal.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Animal.xml</xi:fallback></xi:include>
|
||||||
<xi:include href="../gdbus-object-manager-example/xml/ExampleAnimal.xml"/>
|
<xi:include href="../../../../gio/tests/gdbus-object-manager-example/objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Cat.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: objectmanager-gen-org.gtk.GDBus.Example.ObjectManager.Cat.xml</xi:fallback></xi:include>
|
||||||
<xi:include href="../gdbus-object-manager-example/xml/ExampleCat.xml"/>
|
<xi:include href="../gdbus-object-manager-example/xml/ExampleAnimal.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: ExampleAnimal.xml</xi:fallback></xi:include>
|
||||||
<xi:include href="../gdbus-object-manager-example/xml/ExampleObject.xml"/>
|
<xi:include href="../gdbus-object-manager-example/xml/ExampleCat.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: ExampleCat.xml</xi:fallback></xi:include>
|
||||||
<xi:include href="../gdbus-object-manager-example/xml/ExampleObjectManagerClient.xml"/>
|
<xi:include href="../gdbus-object-manager-example/xml/ExampleObject.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: ExampleObject.xml</xi:fallback></xi:include>
|
||||||
|
<xi:include href="../gdbus-object-manager-example/xml/ExampleObjectManagerClient.xml"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT: ExampleObjectManagerClient.xml</xi:fallback></xi:include>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user