]> git.droids-corp.org - dpdk.git/commitdiff
doc: align doxygen output folder with sphinx guides
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 29 Sep 2020 16:54:58 +0000 (17:54 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 30 Sep 2020 13:19:52 +0000 (15:19 +0200)
The API docs were output to "<build>/doc/api/api" folder, which was
ugly-looking with the repeated "api", and inconsistent with the sphinx
guides which were written to "<build>/doc/guides/html". Changing the
doxygen output folder to "html" fixes both these issues.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
doc/api/meson.build

index 49d5b9a153e5b90bead4cd43f26246b9afbc74f5..e9b49f9c2f2de4c1d28c66e2cb935c520ef87843 100644 (file)
@@ -34,7 +34,7 @@ cdata = configuration_data()
 cdata.set('VERSION', meson.project_version())
 cdata.set('API_EXAMPLES', join_paths(meson.build_root(), 'doc', 'api', 'examples.dox'))
 cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api'))
-cdata.set('HTML_OUTPUT', 'api')
+cdata.set('HTML_OUTPUT', 'html')
 cdata.set('TOPDIR', meson.source_root())
 cdata.set('STRIP_FROM_PATH', meson.source_root())
 
@@ -45,8 +45,8 @@ doxy_conf = configure_file(input: 'doxy-api.conf.in',
 doxy_build = custom_target('doxygen',
        depends: example,
        input: doxy_conf,
-       output: 'api',
-       depfile: 'api.d',
+       output: 'html',
+       depfile: 'html.d',
        command: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css],
        install: get_option('enable_docs'),
        install_dir: htmldir,