From d906d8765659528b93312778fcfb9033e2bf4315 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Sun, 5 Jan 2020 02:11:43 +0100 Subject: qdoc: Introduce locationinfo configuration variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This simple boolean variable determines whether the full path information of entities is stored into index files, and by extension, the output of the WebXML generator. The default value is true, and QDoc's output is unchanged. Using a value of false is useful for testing QDoc; we can omit system build paths in the output as those complicated the comparison of expected and generated data. [ChangeLog][qdoc] Introduced a configuration variable to drop host-specific paths from the generated output. Fixes: QTBUG-81091 Change-Id: Ic8df5e4a52a12821e2858a185c4e658905deb847 Reviewed-by: Topi Reiniƶ --- .../expected_output/html/first.webxml | 8 ++-- .../expected_output/html/index.webxml | 4 +- .../html/qdoctests-qdocfileoutput-linking.webxml | 4 +- .../html/qdoctests-qdocfileoutput.webxml | 4 +- .../expected_output/html/second.webxml | 4 +- .../html/test-componentset-example.webxml | 4 +- .../expected_output/html/testqdoc-test.webxml | 42 +++++++++---------- .../html/testqdoc-testderived.webxml | 8 ++-- .../expected_output/html/testqdoc.webxml | 48 +++++++++++----------- .../expected_output/html/third.webxml | 4 +- .../qdoc/generatedoutput/tst_generatedoutput.cpp | 10 ----- tests/auto/qdoc/generatedoutput/webxml.qdocconf | 1 + 12 files changed, 66 insertions(+), 75 deletions(-) (limited to 'tests') diff --git a/tests/auto/qdoc/generatedoutput/expected_output/html/first.webxml b/tests/auto/qdoc/generatedoutput/expected_output/html/first.webxml index 1001d0c53..b3dc9dffa 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/html/first.webxml +++ b/tests/auto/qdoc/generatedoutput/expected_output/html/first.webxml @@ -1,12 +1,12 @@ - - + + This is a first class - - + + This is a nested class diff --git a/tests/auto/qdoc/generatedoutput/expected_output/html/index.webxml b/tests/auto/qdoc/generatedoutput/expected_output/html/index.webxml index 4e51df8d0..c2235e69d 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/html/index.webxml +++ b/tests/auto/qdoc/generatedoutput/expected_output/html/index.webxml @@ -1,8 +1,8 @@ - - + + diff --git a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml index 9e203d926..eb519cd51 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml +++ b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml @@ -1,11 +1,11 @@ - + - + This is a page for testing QDoc's link command.