]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
doc: install HTML file for index page topic/migrate-to-gi-docgen
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 16 Mar 2022 00:03:48 +0000 (09:03 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 16 Mar 2022 00:03:48 +0000 (09:03 +0900)
This commit adds HTML file for index page.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
doc/index.html.in [new file with mode: 0644]
doc/meson.build

diff --git a/doc/index.html.in b/doc/index.html.in
new file mode 100644 (file)
index 0000000..f7b4cac
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Reference manuals for libraries in alsa-gobject version @VERSION@</title>
+<meta charset="UTF-8">
+</head>
+
+<body>
+<h1>Reference manuals for libraries in alsa-gobject version @VERSION@</h1>
+<ul>
+<li><a href="alsactl/index.html">ALSACtl reference manual</a></li>
+<li><a href="alsatimer/index.html">ALSATimer reference manual</a></li>
+<li><a href="alsaseq/index.html">ALSASeq reference manual</a></li>
+<li><a href="alsahwdep/index.html">ALSAHwdep reference manual</a></li>
+<li><a href="alsarawmidi/index.html">ALSARawmidi reference manual</a></li>
+</ul>
+</body>
+
+</html>
index f1f6c4ef42d0e7e473352d317a2d231b5fdda0d8..042e2a85f72a2c569c1907644e136f0da93cde0e 100644 (file)
@@ -3,6 +3,15 @@ conf.set('VERSION', meson.project_version())
 
 doc_dir =  join_paths(get_option('datadir'), 'doc', meson.project_name())
 
+doc_index = configure_file(
+  input: 'index.html.in',
+  output: 'index.html',
+  configuration: conf,
+)
+install_data(doc_index,
+  install_dir: doc_dir,
+)
+
 dependency('gi-docgen',
   version: '>= 2021.8',
   fallback: ['gi-docgen', 'dummy_dep'],