mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Merge branch '3037-install-docs' into 'main'
docs: Install the gi-docgen docs See merge request GNOME/glib!3787
This commit is contained in:
commit
cda15952dd
@ -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',
|
||||
)
|
||||
|
@ -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',
|
||||
)
|
||||
|
@ -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',
|
||||
)
|
||||
|
@ -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',
|
||||
)
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user