[pango/gi-docs] docs: Avoid subdirectories in generated docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/gi-docs] docs: Avoid subdirectories in generated docs
- Date: Fri, 12 Feb 2021 01:57:12 +0000 (UTC)
commit b334e3e2ab19ee4384198d6b260547c62589c40c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 11 19:47:53 2021 -0500
docs: Avoid subdirectories in generated docs
Use gi-docgens new --no-namespace-dir option to avoid
excessive subdirectories in the generated docs.
docs/meson.build | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index 547995a8..e55c61fd 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -21,6 +21,7 @@ custom_target('pango-doc',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pango.toml'),
'--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
@@ -37,7 +38,8 @@ if build_pangoft2
'generate',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pangoft2.toml'),
- '--output-dir=@OUTPUT@/..',
+ '--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
@@ -55,7 +57,8 @@ if xft_dep.found() and fontconfig_dep.found()
'generate',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pangoxft.toml'),
- '--output-dir=@OUTPUT@/..',
+ '--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
@@ -78,7 +81,8 @@ if cairo_dep.found()
'generate',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pangocairo.toml'),
- '--output-dir=@OUTPUT@/..',
+ '--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
@@ -95,7 +99,8 @@ custom_target('pangoot-doc',
'generate',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pangoot.toml'),
- '--output-dir=@OUTPUT@/..',
+ '--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
@@ -112,7 +117,8 @@ if fontconfig_dep.found()
'generate',
'--add-include-path=@0@'.format(meson.current_source_dir() / '../pango'),
'--config=@0@'.format(meson.current_source_dir() / 'pangofc.toml'),
- '--output-dir=@OUTPUT@/..',
+ '--output-dir=@OUTPUT@',
+ '--no-namespace-dir',
'--content-dir=@0@'.format(meson.current_source_dir()),
'@INPUT@',
],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]