diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-06-21 23:46:55 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-01 10:31:18 +0000 |
commit | 1c7934dad52e8dd221867ad65073f6b7c1e57cf5 (patch) | |
tree | 751bd8618ee62c9183088bca289cb208af227325 /tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml | |
parent | 72bd3957121d4c3d7349eeeeec9d21999c11ec6d (diff) | |
download | qttools-1c7934dad52e8dd221867ad65073f6b7c1e57cf5.tar.gz |
qdoc: Clean up index file generation
This is a continuation of the work started in commit 3e88b552.
Stop adding a 'physical module name' for all nodes; this name is
directly related to the \inmodule and \inqmlmodule commands, and
is unnecessary for most node types. Enforce the module name only
for classes, structs, unions, namespaces and header files.
Drop redundant code, and stop writing module/group members to the
index as unnecessary; they don't need to be read back in.
Simplify example file name generation; base the filename always
on the project name, example nodes typically never used the
\inmodule command anyway.
Change-Id: I53a12b51f305cce28f5eb061d87ab11c61f54f6c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 9e044490a6883c0aa0f6c91edfd04be6f083a5c1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml b/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml index afa0b20a3..5c5b9c179 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml @@ -28,7 +28,6 @@ <db:synopsisinfo db:role="access">public</db:synopsisinfo> <db:synopsisinfo db:role="status">active</db:synopsisinfo> <db:synopsisinfo db:role="threadsafeness">unspecified</db:synopsisinfo> -<db:synopsisinfo db:role="module">HeaderFile</db:synopsisinfo> <db:enumitem db:enumidentifier="Glo" db:enumvalue="0"/> <db:enumitem db:enumidentifier="Bal" db:enumvalue="1"/> </db:enumsynopsis> @@ -64,7 +63,6 @@ <db:synopsisinfo db:role="access">public</db:synopsisinfo> <db:synopsisinfo db:role="status">active</db:synopsisinfo> <db:synopsisinfo db:role="threadsafeness">unspecified</db:synopsisinfo> -<db:synopsisinfo db:role="module">HeaderFile</db:synopsisinfo> </db:fieldsynopsis> <db:para>Global variable.</db:para> </db:section> @@ -82,7 +80,6 @@ <db:synopsisinfo db:role="access">public</db:synopsisinfo> <db:synopsisinfo db:role="status">active</db:synopsisinfo> <db:synopsisinfo db:role="threadsafeness">unspecified</db:synopsisinfo> -<db:synopsisinfo db:role="module">HeaderFile</db:synopsisinfo> </db:methodsynopsis> <db:para>Global function.</db:para> </db:section> |