Skip to content

Commit 9e44038

Browse files
committed
Generated docs
1 parent 1287adc commit 9e44038

106 files changed

Lines changed: 1170 additions & 464 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/Abstract.html

Lines changed: 469 additions & 0 deletions
Large diffs are not rendered by default.

docs/AbstractTag.html

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -40,35 +40,7 @@ <h1>@abstract tag</h1>
4040

4141

4242
<div class="paragraph">
43-
<p>For some item types like classes or units you may write very large
44-
descriptions to give an adequate introduction. However, these large
45-
texts are not appropriate in an overview list. Use the abstract tag to
46-
give a short explanation of what an item is about. One row of text is a
47-
good rule of thumb. Of course, there should only be one abstract tag per
48-
description.</p>
49-
</div>
50-
<div class="paragraph">
51-
<p>Example:</p>
52-
</div>
53-
<div class="listingblock">
54-
<div class="content">
55-
<pre class="pygments highlight" style="background: #f8f8f8;"><code data-lang="pascal"><span></span><span style="color: #008000; font-weight: bold">type</span>
56-
<span style="color: #408080; font-style: italic">{ @abstract(This class does some very useful thing.)</span>
57-
<span style="color: #408080; font-style: italic"> With the help of this class you can ...</span>
58-
<span style="color: #408080; font-style: italic"> (more text that describes how very very</span>
59-
<span style="color: #408080; font-style: italic"> useful is this class follows). }</span>
60-
TMyClass <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">class</span> <span style="color: #666666">...</span></code></pre>
61-
</div>
62-
</div>
63-
<div class="paragraph">
64-
<p>The abstract text will appear in the overview section of the
65-
documentation (if the document format supports this overview section),
66-
and will also appear as the first paragraph of the item full
67-
documentation.</p>
68-
</div>
69-
<div class="paragraph">
70-
<p>Note that can avoid writing explicit @abstract tag if you use
71-
<a href="AutoAbstractOption">--auto-abstract command-line option</a>.</p>
43+
<p>The <code>@abstract</code> docs moved to the <a href="Abstract">Abstract Description</a> page of the documentation.</p>
7244
</div>
7345

7446
<footer class="site-footer">
@@ -126,7 +98,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
12698

12799
<ul>
128100
<li>
129-
<p><a href="AbstractTag">@abstract</a></p>
101+
<p><a href="Abstract">@abstract</a></p>
130102
</li>
131103
<li>
132104
<p><a href="AuthorTag">@author</a></p>
@@ -234,7 +206,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
234206
</ul>
235207
</li>
236208
<li>
237-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
209+
<p><a href="Abstract">--auto-abstract</a></p>
238210
</li>
239211
<li>
240212
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -308,6 +280,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
308280
<li>
309281
<p><a href="NameOption">--name</a></p>
310282
</li>
283+
<li>
284+
<p><a href="Abstract">--no-auto-abstract</a></p>
285+
</li>
311286
<li>
312287
<p><a href="NoMacroOption">--no-macro</a></p>
313288
</li>

docs/AdvancedFeatures.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -60,7 +60,7 @@ <h2 id="_input">1. Input</h2>
6060
<div class="ulist">
6161
<ul>
6262
<li>
63-
<p><a href="AutoAbstractOption">--auto-abstract</a> command-line option allows you to automatically treat the 1st sentence of the description as an abstract.</p>
63+
<p>We automatically treat the 1st sentence of the description as an <a href="Abstract">abstract</a>. So make sure it "stands on its own" and is a good short description of the item. You can also explicitly specify the abstract using <a href="Abstract">@abstract tag</a>.</p>
6464
</li>
6565
<li>
6666
<p>You can write entire pages using pasdoc syntax, with all supported <a href="SupportedTags">@tags</a>. This way you can use pasdoc like a simple document creation tool. See the <a href="IntroductionAndConclusion">Introduction and conclusion</a> documentation.</p>
@@ -188,7 +188,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
188188

189189
<ul>
190190
<li>
191-
<p><a href="AbstractTag">@abstract</a></p>
191+
<p><a href="Abstract">@abstract</a></p>
192192
</li>
193193
<li>
194194
<p><a href="AuthorTag">@author</a></p>
@@ -296,7 +296,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
296296
</ul>
297297
</li>
298298
<li>
299-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
299+
<p><a href="Abstract">--auto-abstract</a></p>
300300
</li>
301301
<li>
302302
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -370,6 +370,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
370370
<li>
371371
<p><a href="NameOption">--name</a></p>
372372
</li>
373+
<li>
374+
<p><a href="Abstract">--no-auto-abstract</a></p>
375+
</li>
373376
<li>
374377
<p><a href="NoMacroOption">--no-macro</a></p>
375378
</li>

docs/AuthorTag.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -115,7 +115,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
115115

116116
<ul>
117117
<li>
118-
<p><a href="AbstractTag">@abstract</a></p>
118+
<p><a href="Abstract">@abstract</a></p>
119119
</li>
120120
<li>
121121
<p><a href="AuthorTag">@author</a></p>
@@ -223,7 +223,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
223223
</ul>
224224
</li>
225225
<li>
226-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
226+
<p><a href="Abstract">--auto-abstract</a></p>
227227
</li>
228228
<li>
229229
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -297,6 +297,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
297297
<li>
298298
<p><a href="NameOption">--name</a></p>
299299
</li>
300+
<li>
301+
<p><a href="Abstract">--no-auto-abstract</a></p>
302+
</li>
300303
<li>
301304
<p><a href="NoMacroOption">--no-macro</a></p>
302305
</li>

docs/AutoAbstractOption.html

Lines changed: 8 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -39,100 +39,8 @@
3939
<h1>--auto-abstract command-line option</h1>
4040

4141

42-
<div class="sect1">
43-
<h2 id="_-overview"><a id="overview"></a> Overview</h2>
44-
<div class="sectionbody">
45-
<div class="paragraph">
46-
<p>If you run pasdoc with --auto-abstract <a href="CommandLine">CommandLine</a>
47-
option, pasdoc will automatically deduce the abstract description of
48-
every item from the first sentence of it&#8217;s description. This means that
49-
you can write</p>
50-
</div>
51-
<div class="listingblock">
52-
<div class="content">
53-
<pre class="pygments highlight" style="background: #f8f8f8;"><code data-lang="pascal"><span></span><span style="color: #008000; font-weight: bold">type</span>
54-
<span style="color: #408080; font-style: italic">{ Short description of this class.</span>
55-
<span style="color: #408080; font-style: italic"> More elaborate description of this class. }</span>
56-
TMyClass <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">class</span></code></pre>
57-
</div>
58-
</div>
59-
<div class="paragraph">
60-
<p>and it&#8217;s equivalent to</p>
61-
</div>
62-
<div class="listingblock">
63-
<div class="content">
64-
<pre class="pygments highlight" style="background: #f8f8f8;"><code data-lang="pascal"><span></span><span style="color: #008000; font-weight: bold">type</span>
65-
<span style="color: #408080; font-style: italic">{ @abstract(Short description of this class.)</span>
66-
<span style="color: #408080; font-style: italic"> More elaborate description of this class. }</span>
67-
TMyClass <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">class</span></code></pre>
68-
</div>
69-
</div>
70-
<div class="paragraph">
71-
<p>This means that you can avoid writing explicitly @abstract tags, which
72-
means that your comments look less cluttered. Of course, this also means
73-
that you have to carefully watch to make the first sentence of every
74-
description to "stand on it&#8217;s own".</p>
75-
</div>
76-
<div class="paragraph">
77-
<p>This is a standard feature of javadoc, and it&#8217;s also available in
78-
doxygen.</p>
79-
</div>
80-
<div class="paragraph">
81-
<p>The parsing logic is simple: the first sentence of the description ends
82-
at the first period followed by any whitespace (including newline). Of
83-
course this period must be in the "top-level" text, not inside parameter
84-
of any @-tag. If there is no such period in the description, then the
85-
<em>whole</em> description is treated as one sentence, and the <em>whole</em>
86-
description is treated as an abstract description of the item.</p>
87-
</div>
88-
<div class="paragraph">
89-
<p>Of course if any description has an explicit @abstract section, then
90-
this has priority over "the first sentence rule". Using explicit
91-
@abstract tag may be useful if e.g. you need to make the abstract
92-
description two-sentence long.</p>
93-
</div>
94-
</div>
95-
</div>
96-
<div class="sect1">
97-
<h2 id="_-small-difference-between-explicit-abstract"><a id="small-difference-between-explicit-abstract"></a> Small difference between explicit @abstract</h2>
98-
<div class="sectionbody">
99-
<div class="paragraph">
100-
<p>Note that there is actually a small difference between two examples
101-
given above. It occurs when pasdoc writes full description of a given
102-
item (full = abstract one + the rest).</p>
103-
</div>
104-
<div class="paragraph">
105-
<p>If you used explicit @abstract tag, then pasdoc will always separate the
106-
abstract description with some space (e.g. paragraph marker, &lt;p&gt;, in
107-
HTML) from the rest of the description. But if your abstract description
108-
was deduced automatically, then pasdoc will not automatically insert
109-
such paragraph. This way full description of an item looks more like it
110-
was specified in source code.</p>
111-
</div>
112-
<div class="paragraph">
113-
<p>So if I would really want to make two exactly equivalent examples, I
114-
should show this as the first example (note that I explicitly inserted
115-
empty line between abstract description and the rest here):</p>
116-
</div>
117-
<div class="listingblock">
118-
<div class="content">
119-
<pre class="pygments highlight" style="background: #f8f8f8;"><code data-lang="pascal"><span></span><span style="color: #008000; font-weight: bold">type</span>
120-
<span style="color: #408080; font-style: italic">{ Short description of this class.</span>
121-
122-
<span style="color: #408080; font-style: italic"> More elaborate description of this class. }</span>
123-
TMyClass <span style="color: #666666">=</span> <span style="color: #008000; font-weight: bold">class</span>
124-
<span style="color: #666666">...</span></code></pre>
125-
</div>
126-
</div>
127-
</div>
128-
</div>
129-
<div class="sect1">
130-
<h2 id="_-example-unit"><a id="example-unit"></a> Example unit</h2>
131-
<div class="sectionbody">
132-
<div class="paragraph">
133-
<p>See <a href="https://github.com/pasdoc/pasdoc/blob/master/tests/testcases/ok_auto_abstract.pas">test unit of this feature</a>.</p>
134-
</div>
135-
</div>
42+
<div class="paragraph">
43+
<p>The <code>--auto-abstract</code> docs moved to the <a href="Abstract">Abstract Description</a> page of the documentation.</p>
13644
</div>
13745

13846
<footer class="site-footer">
@@ -190,7 +98,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
19098

19199
<ul>
192100
<li>
193-
<p><a href="AbstractTag">@abstract</a></p>
101+
<p><a href="Abstract">@abstract</a></p>
194102
</li>
195103
<li>
196104
<p><a href="AuthorTag">@author</a></p>
@@ -298,7 +206,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
298206
</ul>
299207
</li>
300208
<li>
301-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
209+
<p><a href="Abstract">--auto-abstract</a></p>
302210
</li>
303211
<li>
304212
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -372,6 +280,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
372280
<li>
373281
<p><a href="NameOption">--name</a></p>
374282
</li>
283+
<li>
284+
<p><a href="Abstract">--no-auto-abstract</a></p>
285+
</li>
375286
<li>
376287
<p><a href="NoMacroOption">--no-macro</a></p>
377288
</li>

docs/AutoBackComments.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -120,7 +120,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
120120

121121
<ul>
122122
<li>
123-
<p><a href="AbstractTag">@abstract</a></p>
123+
<p><a href="Abstract">@abstract</a></p>
124124
</li>
125125
<li>
126126
<p><a href="AuthorTag">@author</a></p>
@@ -228,7 +228,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
228228
</ul>
229229
</li>
230230
<li>
231-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
231+
<p><a href="Abstract">--auto-abstract</a></p>
232232
</li>
233233
<li>
234234
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -302,6 +302,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
302302
<li>
303303
<p><a href="NameOption">--name</a></p>
304304
</li>
305+
<li>
306+
<p><a href="Abstract">--no-auto-abstract</a></p>
307+
</li>
305308
<li>
306309
<p><a href="NoMacroOption">--no-macro</a></p>
307310
</li>

docs/AutoLinkOption.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<meta name="viewport" content="width=device-width, initial-scale=1">
2424
<meta name="theme-color" content="#157878">
25-
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=1287adce74463a8209e6e6fc4379e308c70fcba6">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -267,7 +267,7 @@ <h2 id="supported-tags"><a href="SupportedTags">Supported Tags</a>:</h2>
267267

268268
<ul>
269269
<li>
270-
<p><a href="AbstractTag">@abstract</a></p>
270+
<p><a href="Abstract">@abstract</a></p>
271271
</li>
272272
<li>
273273
<p><a href="AuthorTag">@author</a></p>
@@ -375,7 +375,7 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
375375
</ul>
376376
</li>
377377
<li>
378-
<p><a href="AutoAbstractOption">--auto-abstract</a></p>
378+
<p><a href="Abstract">--auto-abstract</a></p>
379379
</li>
380380
<li>
381381
<p><a href="AutoBackComments">--auto-back-comments</a></p>
@@ -449,6 +449,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
449449
<li>
450450
<p><a href="NameOption">--name</a></p>
451451
</li>
452+
<li>
453+
<p><a href="Abstract">--no-auto-abstract</a></p>
454+
</li>
452455
<li>
453456
<p><a href="NoMacroOption">--no-macro</a></p>
454457
</li>

0 commit comments

Comments
 (0)