This commit uses gi-docgen and obsolete gtk-doc.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
subdir('ctl')
subdir('hwdep')
+subdir('rawmidi')
subdir('reference')
--- /dev/null
+[library]
+version = "@VERSION@"
+description = "alsarawmidi"
+authors = "Takashi Sakamoto"
+license = "LGPL-3.0-or-later"
+website_url = "https://alsa-project.github.io/alsa-gobject-docs/alsarawmidi/"
+browse_url = "https://github.com/alsa-project/alsa-gobject"
+repository_url = "https://github.com/alsa-project/alsa-gobject.git"
+
+dependencies = [
+ "GLib-2.0",
+ "GObject-2.0",
+]
+
+[dependencies."GLib-2.0"]
+name = "GLib"
+description = "The base utility library"
+docs_url = "https://docs.gtk.org/glib/"
+
+[dependencies."GObject-2.0"]
+name = "GObject"
+description = "The base type system and object class"
+docs_url = "https://docs.gtk.org/gobject/"
+
+[source-location]
+base_url = "https://github.com/alsa-project/alsa-gobject/blob/master/"
+file_format = "{filename}#L{line}"
+
+[extra]
+content_files = [
+ "overview.md",
+]
+
+urlmap_file = "urlmap.js"
--- /dev/null
+ext_contents = [
+ 'overview.md',
+]
+
+doc_toml = configure_file(
+ input: 'alsarawmidi.toml.in',
+ output: 'alsarawmidi.toml',
+ configuration: conf,
+)
+
+custom_target('alsarawmidi-doc',
+ input: [ doc_toml, alsarawmidi_gir[0] ],
+ output: 'alsarawmidi',
+ command: [
+ gidocgen,
+ 'generate',
+ '--no-namespace-dir',
+ '--config=@INPUT0@',
+ '--output-dir=@OUTPUT@',
+ '--content-dir=@0@'.format(meson.current_source_dir()),
+ '@INPUT1@',
+ ],
+ depend_files: [ ext_contents ],
+ build_by_default: true,
+ install: true,
+ install_dir: doc_dir,
+)
--- /dev/null
+Title: Overview
+
+This library is designed for applications to manipulate ALSA Rawmidi character device and operate
+rawmidi functionality abstracted as a pair of streams and substream. ALSARawmidiStreamPair
+represents the pair of streams. It holds file descriptor and creates GSource for event dispathing
+by GLib's GMainContext/GMainLoop.
--- /dev/null
+baseURLs = [
+ [ 'GLib', 'https://docs.gtk.org/glib/' ],
+ [ 'GObject', 'https://docs.gtk.org/gobject/' ],
+]
subdir('timer')
subdir('seq')
-subdir('rawmidi')
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/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>ALSARawmidi Reference Manual</title>
- <releaseinfo>This document is for the ALSARawmidi library, version &version;.
- </releaseinfo>
- </bookinfo>
-
- <chapter id="introduction">
- <title>Introduction</title>
- <para>This library is designed for applications to manipulate ALSA
- Rawmidi character device and operate rawmidi functionality abstracted
- as a pair of streams and substream. ALSARawmidiStreamPair represents
- the pair of streams. It holds file descriptor and creates GSource for
- event dispathing by GLib's GMainContext/GMainLoop.</para>
- </chapter>
-
- <chapter id="alsarawmidi-enumerations">
- <title>ALSARawmidi enumerations</title>
- <xi:include href="xml/alsarawmidi-enum-types.xml"/>
- </chapter>
-
- <chapter id="alsarawmidi-global-methods">
- <title>ALSARawmidi global methods</title>
- <xi:include href="xml/query.xml"/>
- </chapter>
-
- <chapter id="alsarawmidi-objects">
- <title>ALSARawmidi objects</title>
- <xi:include href="xml/stream-pair.xml"/>
- <xi:include href="xml/substream-info.xml"/>
- <xi:include href="xml/substream-params.xml"/>
- <xi:include href="xml/substream-status.xml"/>
- </chapter>
-
- <index id="index-all">
- <title>Index of all symbols</title>
- <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
- </index>
-
- <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
-
-</book>
+++ /dev/null
-alsarawmidi_stream_direction_get_type
-alsarawmidi_stream_pair_info_flag_get_type
-alsarawmidi_substream_info_get_type
-alsarawmidi_stream_pair_get_type
-alsarawmidi_substream_params_get_type
-alsarawmidi_substream_status_get_type
+++ /dev/null
-gnome.gtkdoc('alsarawmidi',
- src_dir : alsarawmidi_dir,
- main_xml : 'alsarawmidi-docs.xml',
- scan_args: [
- '--ignore-headers=privates.h',
- ],
- gobject_typesfile: 'alsarawmidi.types',
- dependencies: alsarawmidi_dependency,
- install : true,
-)