summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/tocnavigation/expected/html/qdoctests-qdocfileoutput.html
blob: cbb55db2ee09af24d5b7d632c2711b1d8f2e9151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qdoctests-outputfromqdocfiles.qdoc -->
  <meta name="description" content="This is a simple page for testing purposes only.">
  <title>Testing QDoc output from .qdoc files | OutputFromQDocFiles</title>
</head>
<body>
<li><a href="toc-test.html" translate="no">TOC</a></li>
<li>Testing QDoc output from .qdoc files</li>
<li id="buildversion">OutputFromQDocFiles - A test project for QDoc build artifacts</li>
  <link rel="next" href="qdoctests-qdocfileoutput-exhaustive.html" />
<p class="naviNextPrevious headerNavi">
<a class="nextPage" href="qdoctests-qdocfileoutput-exhaustive.html">Exhaustive testing of QDoc commands</a>
</p>
<div class="sidebar">
<div class="toc">
<h3 id="toc">Contents</h3>
<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>
<li class="level1"><a href="#qdoc-linking-test">QDoc Linking Test</a></li>
<li class="level1"><a href="#linking-to-something-in-a-section-title">Linking to something in a section title</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Testing QDoc output from .qdoc files</h1>
<!-- $$$qdoctests-qdocfileoutput.html-description -->
<div class="descr" id="details">
<p>QDoc generates documentation for software projects. It does this by extracting <i>QDoc comments</i> from project source files. QDoc comments are signified by a C-style-like comment tag followed by an exclamation point, like this: <code translate="no">/*!</code> <code translate="no">This text is contained within QDoc comment tags.</code> <code translate="no">*/</code>.</p>
<h2 id="supported-file-types">Supported file types</h2>
<p>QDoc parses <code translate="no">.cpp</code> and <code translate="no">.qdoc</code> files. It does extract comments from header (<code translate="no">.h</code>) files.</p>
<h2 id="further-information">Further information</h2>
<p>This test document is written with the purpose of testing the output QDoc generates when parsing <code translate="no">.qdoc</code> files. It is fairly simple and makes use of a limited subset of QDoc's command. Those commands are:</p>
<ul>
<li><code translate="no">\page</code></li>
<li><code translate="no">\title</code></li>
<li><code translate="no">\brief</code></li>
<li><code translate="no">\e</code> (for emphasizing &quot;QDoc comments&quot;)</li>
<li><code translate="no">\c</code> (for multiple monospace-formatted entries)</li>
<li><code translate="no">\section1</code></li>
<li><code translate="no">\list</code></li>
<li><code translate="no">\li</code></li>
<li><code translate="no">\endlist</code></li>
</ul>
<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" translate="no">Linking to a page title</a></li>
<li><a href="qdoctests-qdocfileoutput-linking.html#link-targets" translate="no">Linking to a section title</a></li>
<li><a href="qdoctests-qdocfileoutput-linking.html#link-test-target" translate="no">Linking using a \target string</a></li>
<li><a href="qdoctests-qdocfileoutput-linking.html" translate="no">Linking using a \keyword string</a></li>
</ul>
<h2 id="qdoc-linking-test">QDoc Linking Test</h2>
<p>This section title is overridden by another target which takes precedence.</p>
<h2 id="linking-to-something-in-a-section-title">Linking to <a href="qdoctests-qdocfileoutput.html#further-information" translate="no">something</a> in a section title</h2>
<p>This is allowed but a questionable practice.</p>
<details>
<summary>QDoc details</summary>
<div class="admonition note">
<p><b>Note: </b>You're looking at detailed information.</p>
</div>
</details>
</div>
<!-- @@@qdoctests-qdocfileoutput.html -->
<p class="naviNextPrevious footerNavi">
<a class="nextPage" href="qdoctests-qdocfileoutput-exhaustive.html">Exhaustive testing of QDoc commands</a>
</p>
</body>
</html>