Commit 94f46452 authored by Philip Withnall's avatar Philip Withnall

build: Add gtk-doc support for libglib-testing

Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 85985ce0
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>libglib-testing Reference Manual</title>
<releaseinfo>
This document is for the libglib-testing library, version &version;.
</releaseinfo>
</bookinfo>
<reference id="reference">
<title>API Reference</title>
<xi:include href="xml/signal-logger.xml" />
</reference>
<index id="api-index-full">
<title>Index of all symbols</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index id="api-index-deprecated" role="deprecated">
<title>Index of deprecated symbols</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
<index role="0.1.0">
<title>Index of new symbols in 0.1.0</title>
<xi:include href="xml/api-index-0.1.0.xml"><xi:fallback/></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>
\ No newline at end of file
<SECTION>
<TITLE>GtSignalLogger</TITLE>
<FILE>signal-logger</FILE>
<SUBSECTION>
GtSignalLogger
gt_signal_logger_new
gt_signal_logger_free
gt_signal_logger_connect
gt_signal_logger_get_n_emissions
gt_signal_logger_pop_emission
gt_signal_logger_format_emission
gt_signal_logger_format_emissions
gt_signal_logger_assert_no_emissions
gt_signal_logger_assert_emission_pop
gt_signal_logger_assert_notify_emission_pop
<SUBSECTION>
GtSignalLoggerEmission
gt_signal_logger_emission_get_params
gt_signal_logger_emission_free
</SECTION>
\ No newline at end of file
# FIXME: Would be good to eliminate version.xml generation if possible. See:
# https://github.com/mesonbuild/meson/issues/3581
version_conf = configuration_data()
version_conf.set('LIBGLIB_TESTING_VERSION', meson.project_version())
configure_file(
input: 'version.xml.in',
output: 'version.xml',
configuration: version_conf,
)
gnome.gtkdoc('libglib-testing',
mode: 'none',
main_xml: 'docs.xml',
src_dir: [
include_directories('..'),
],
dependencies: libglib_testing_dep,
scan_args: [
'--ignore-decorators=G_GNUC_WARN_UNUSED_RESULT',
'--ignore-headers=' + ' '.join(['tests']),
],
install: true,
)
\ No newline at end of file
@LIBGLIB_TESTING_VERSION@
\ No newline at end of file
......@@ -45,4 +45,5 @@ pkgconfig.generate(
requires: [ 'gio-2.0', 'glib-2.0', 'gobject-2.0' ],
)
subdir('docs')
subdir('tests')
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment