mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 21:33:30 +02:00
docs: Install the gi-docgen docs
They are now installed to (e.g.) `${prefix}/share/doc/glib-2.0/{glib,gmodule,gobject,gio}/index.html`. We might want to drop one level of nesting out of that, but for the moment I thought I’d keep it in so we can disambiguate by installed major version. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
@@ -18,7 +18,7 @@ if get_option('documentation')
|
||||
rst2html5 = find_program('rst2html5', 'rst2html5.py', required: false)
|
||||
|
||||
if rst2html5.found()
|
||||
spec_path = glib_datadir / 'doc' / 'glib-2.0'
|
||||
spec_path = docs_dir
|
||||
|
||||
figures = files(
|
||||
'gvariant-byte-boundaries.svg',
|
||||
@@ -109,4 +109,7 @@ custom_target('glib-docs',
|
||||
],
|
||||
build_by_default: true,
|
||||
depend_files: expand_content_files,
|
||||
install: true,
|
||||
install_dir: docs_dir,
|
||||
install_tag: 'doc',
|
||||
)
|
||||
|
Reference in New Issue
Block a user