Merge branch '3037-install-docs' into 'main'

docs: Install the gi-docgen docs

See merge request GNOME/glib!3787
This commit is contained in:
Emmanuele Bassi 2023-12-21 18:23:53 +00:00
commit cda15952dd
5 changed files with 15 additions and 1 deletions

View File

@ -59,4 +59,7 @@ custom_target('gio-docs',
],
build_by_default: true,
depend_files: expand_content_files,
install: true,
install_dir: docs_dir,
install_tag: 'doc',
)

View File

@ -23,7 +23,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',
@ -114,4 +114,7 @@ custom_target('glib-docs',
],
build_by_default: true,
depend_files: expand_content_files,
install: true,
install_dir: docs_dir,
install_tag: 'doc',
)

View File

@ -20,4 +20,7 @@ custom_target('gmodule-docs',
],
build_by_default: true,
depend_files: expand_content_files,
install: true,
install_dir: docs_dir,
install_tag: 'doc',
)

View File

@ -46,4 +46,7 @@ custom_target('gobject-docs',
],
build_by_default: true,
depend_files: expand_content_files,
install: true,
install_dir: docs_dir,
install_tag: 'doc',
)

View File

@ -14,6 +14,8 @@ if get_option('documentation') and enable_gir
'--fatal-warnings',
]
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
subdir('glib')
subdir('gmodule')
subdir('gobject')