DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] doc: install guides and api docs to different directories
@ 2024-12-23 15:38 luca.boccassi
  2025-01-06 10:30 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: luca.boccassi @ 2024-12-23 15:38 UTC (permalink / raw)
  To: dev; +Cc: bruce.richardson

From: Luca Boccassi <bluca@debian.org>

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

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 doc/api/meson.build    | 2 +-
 doc/guides/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/api/meson.build b/doc/api/meson.build
index 9b66dce4f3..23ed5bf263 100644
--- a/doc/api/meson.build
+++ b/doc/api/meson.build
@@ -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
diff --git a/doc/guides/meson.build b/doc/guides/meson.build
index 04bfbd1326..8c75beb1c1 100644
--- a/doc/guides/meson.build
+++ b/doc/guides/meson.build
@@ -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',
-- 
2.45.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: install guides and api docs to different directories
  2024-12-23 15:38 [PATCH] doc: install guides and api docs to different directories luca.boccassi
@ 2025-01-06 10:30 ` Bruce Richardson
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2025-01-06 10:30 UTC (permalink / raw)
  To: luca.boccassi; +Cc: dev

On Mon, Dec 23, 2024 at 03:38:40PM +0000, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <bluca@debian.org>
> 
> Otherwise they both get installed to /usr/share/doc/dpdk/html/ and overwrite
> each other's files
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
>  doc/api/meson.build    | 2 +-
>  doc/guides/meson.build | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Bruce Richardson <bruce.richardson@intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-06 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-23 15:38 [PATCH] doc: install guides and api docs to different directories luca.boccassi
2025-01-06 10:30 ` Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).