diff options
author | Topi Reinio <topi.reinio@qt.io> | 2019-09-05 00:42:43 +0200 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2019-09-27 12:57:56 +0200 |
commit | dd800d1669f49340614ac26dd9a4ef0bcc8f78f1 (patch) | |
tree | e93dde8d1a65d9664db6f5c2c1816bc844276bc3 /tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html | |
parent | c05f918435fab435d4492c3df24afcb872671a93 (diff) |
Add a test case for QDoc's link command
Validate different ways of linking to other documentation topics.
Fix the incorrect expected output in the existing tests.
Task-number: QTBUG-78040
Change-Id: Idb6bf9c79ec99894e2fe0ddb7e65150204c96627
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html index 199d63ef1..6f444482d 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput.html @@ -13,6 +13,7 @@ <ul> <li class="level1"><a href="#supported-file-types">Supported file types</a></li> <li class="level1"><a href="#further-information">Further information</a></li> +<li class="level1"><a href="#linking">Linking</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> @@ -38,6 +39,15 @@ <li><code>\li</code></li> <li><code>\endlist</code></li> </ul> +<a name="linking"></a> +<h2 id="linking">Linking</h2> +<p>There are multiple ways to create hyperlinks to other topics:</p> +<ul> +<li><a href="qdoctests-qdocfileoutput-linking.html">Linking to a page title</a></li> +<li><a href="qdoctests-qdocfileoutput-linking.html#link-targets">Linking to a section title</a></li> +<li><a href="qdoctests-qdocfileoutput-linking.html#link-test-target">Linking using a \target string</a></li> +<li><a href="qdoctests-qdocfileoutput-linking.html">Linking using a \keyword string</a></li> +</ul> </div> <!-- @@@qdoctests-qdocfileoutput.html --> </body> |