Skip to contentSkip to conversation

doc: install guides and api docs to different directories

PATCH Applied [email protected] 3 participants 3 messages Dec 23, 2024 – Jul 21, 2025 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: install guides and api docs to different directories

From: Luca Boccassi <[email protected]>

Otherwise they both get installed to /usr/share/doc/dpdk/html/ and overwrite each other's files

---
 doc/api/meson.build    | 2 +-
 doc/guides/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
doc/api/meson.build +1 -1
index 9b66dce4f3..23ed5bf263 100644
@@ -14,7 +14,7 @@ endif
 generate_doxygen = py3 + files('generate_doxygen.py')
 generate_examples = py3 + files('generate_examples.py')
 
-htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')
+htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk', 'api')
 
 # due to the following bug: https://github.com/mesonbuild/meson/issues/4107
 # if install is set to true it will override build_by_default and it will
doc/guides/meson.build +1 -1
index 04bfbd1326..8c75beb1c1 100644
@@ -12,7 +12,7 @@ if get_option('werror')
     extra_sphinx_args += '-W'
 endif
 
-htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')
+htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk', 'guides')
 html_guides = custom_target('html_guides',
         input: files('index.rst'),
         output: 'html',
Signature · 1 line
2.45.2