diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-06-04 20:48:09 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2020-06-08 13:33:21 +0200 |
commit | 3297d012680e083b25a4740229f9fe77c4fdbc17 (patch) | |
tree | 6d6cba20ccf512b8387df53135c545379c8d8571 /tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml | |
parent | a6ab3c81f038f7bc2d32c9c613ba195758d0b011 (diff) | |
download | qttools-3297d012680e083b25a4740229f9fe77c4fdbc17.tar.gz |
qdoc: DocBook generator: Fix \headerfile generation
Header files were missing content when using the DocBook output format.
Pick-to: 5.15
Fixes: QTBUG-84224
Change-Id: I625ff2a4b14d69f6df0f706cfd4fdbef2cd7fd7f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
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 | 70 |
1 files changed, 69 insertions, 1 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 f3461fb1a..afa0b20a3 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/headerfile-docbook/testheader.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <db:article xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.2" xml:lang="en"> <db:info> -<db:title></db:title> +<db:title><TestHeader> - Test Header</db:title> <db:productname>HeaderFile</db:productname> <db:titleabbrev>HeaderFile Reference Documentation</db:titleabbrev> <db:abstract> @@ -19,4 +19,72 @@ <db:section xml:id="details"> <db:title>Detailed Description</db:title> </db:section> +<db:section xml:id="type-documentation"> +<db:title>Type Documentation</db:title> +<db:section xml:id="Globals-enum"> +<db:title>enum Globals</db:title> +<db:enumsynopsis> +<db:enumname>Globals</db:enumname> +<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> +<db:informaltable> +<db:thead> +<db:tr> +<db:th>Constant</db:th> +<db:th>Description</db:th> +</db:tr> +</db:thead> +<db:tr> +<db:td> +<db:para><db:code>Glo</db:code></db:para> +</db:td> +<db:td><db:code>0</db:code></db:td> +</db:tr> +<db:tr> +<db:td> +<db:para><db:code>Bal</db:code></db:para> +</db:td> +<db:td><db:code>1</db:code></db:td> +</db:tr> +</db:informaltable> +</db:section> +</db:section> +<db:section xml:id="variable-documentation"> +<db:title>Variable Documentation</db:title> +<db:section xml:id="globalVar-var"> +<db:title>const int globalVar</db:title> +<db:fieldsynopsis> +<db:type>const int</db:type> +<db:varname>globalVar</db:varname> +<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> +</db:section> +<db:section xml:id="function-documentation"> +<db:title>Function Documentation</db:title> +<db:section xml:id="globalFunc"> +<db:title>void globalFunc()</db:title> +<db:methodsynopsis> +<db:void/> +<db:methodname>globalFunc</db:methodname> +<db:void/> +<db:synopsisinfo db:role="meta">plain</db:synopsisinfo> +<db:synopsisinfo db:role="signature">void globalFunc()</db:synopsisinfo> +<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> +</db:section> </db:article> |