Skip to content

Commit 9d6856c

Browse files
committed
Generated docs
1 parent b56c76a commit 9d6856c

105 files changed

Lines changed: 928 additions & 118 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/AbstractTag.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -278,6 +278,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
278278
<li>
279279
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
280280
</li>
281+
<li>
282+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
283+
</li>
281284
<li>
282285
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
283286
</li>

docs/AdvancedFeatures.html

Lines changed: 65 additions & 15 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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -39,51 +39,98 @@
3939
<h1>Advanced Features</h1>
4040

4141

42-
<div class="paragraph">
43-
<p>Summary of the most important non-obvious PasDoc features:</p>
42+
<div id="toc" class="toc">
43+
<div id="toctitle">Table of Contents</div>
44+
<ul class="sectlevel1">
45+
<li><a href="#_input">1. Input</a></li>
46+
<li><a href="#_output">2. Output</a></li>
47+
<li><a href="#_more">3. More</a></li>
48+
</ul>
49+
</div>
50+
<div id="preamble">
51+
<div class="sectionbody">
52+
<div class="paragraph">
53+
<p>Some important non-obvious PasDoc features:</p>
4454
</div>
55+
</div>
56+
</div>
57+
<div class="sect1">
58+
<h2 id="_input">1. Input</h2>
59+
<div class="sectionbody">
4560
<div class="ulist">
4661
<ul>
4762
<li>
48-
<p>The documentation can be written in an external files (see the <a href="ReadDescriptionFromFile">--description</a> command-line option), not only in the source code.</p>
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>
4964
</li>
5065
<li>
51-
<p>The documentation comments in the source code may be in the <code>interface</code> or (if you use <a href="ImplementationCommentsOption">--implementation-comments</a> option) <code>implementation</code> section of the unit.</p>
66+
<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>
5267
</li>
5368
<li>
54-
<p>The documentation can be localized to many languages, see the <a href="OutputLanguage">--language</a> command-line option.</p>
69+
<p>By default documentation is read from the source code comments. But you can also write it in separate external files: see the <a href="ReadDescriptionFromFile">--description</a> command-line option.</p>
5570
</li>
5671
<li>
57-
<p>Support for arbitrary (even optional) <a href="CommentMarker">comment markers</a>.</p>
72+
<p>By default we consider only comments in the <code>interface</code> section of the unit. But you can enable parsing also the <code>implementation</code> sections, and using comments from it, using the <a href="ImplementationCommentsOption">--implementation-comments</a> option.</p>
5873
</li>
5974
<li>
60-
<p>You can write entire pages using pasdoc syntax (like @-tags, see <a href="WritingDocumentation">WritingDocumentation</a>). This way you can use pasdoc like a simple document creation tool. See the <a href="IntroductionAndConclusion">IntroductionAndConclusion</a> documentation.</p>
75+
<p>By default every comment before an identifier is treated as a documentation. But you can limit this with arbitrary <a href="CommentMarker">comment markers</a>.</p>
6176
</li>
6277
<li>
63-
<p>You can easily add a search box to your documentation, just pass <a href="UseTipueSearchOption">--use-tipue-search</a> command-line option.</p>
78+
<p><a href="AutoLinkOption">--auto-link</a> command-line option allows you to avoid writing so many <code>@link</code> tags. Identifiers will be automatically turned into links.</p>
6479
</li>
6580
<li>
66-
<p><a href="GraphVizSupport">GraphVizSupport</a> allows PasDoc to easily incorporate classes inheritance and unit dependency graphs in the documentation.</p>
81+
<p><a href="MarkdownOption">Markdown support for emphasis, lists, code blocks etc.</a></p>
6782
</li>
83+
</ul>
84+
</div>
85+
</div>
86+
</div>
87+
<div class="sect1">
88+
<h2 id="_output">2. Output</h2>
89+
<div class="sectionbody">
90+
<div class="ulist">
91+
<ul>
6892
<li>
69-
<p><a href="AutoLinkOption">--auto-link</a> command-line option allows you to avoid writing @link tags, identifiers will be automatically turned into links.</p>
93+
<p>Our HTML output has a <a href="https://github.com/pasdoc/pasdoc/discussions/230">modern, mobile-friendly design based on Bootstrap</a>. You can customize it using <a href="CssOption">--css or --css-based-on-bootstrap</a> command-line options. You can also add your own HTML code to the output using <a href="HtmlHeadBodyBeginEndOptions">--html-head, --html-body-begin and --html-body-end</a> command-line options.</p>
7094
</li>
7195
<li>
72-
<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>
96+
<p>The documentation of each class can also include <a href="InheritedMembersOption">inherited members</a>.</p>
97+
</li>
98+
<li>
99+
<p>The documentation of each class can have toggable (using checkboxes in HTML) visibility e.g. for protected members. See <a href="VisibleMembers">--visible-members</a> command-line option.</p>
100+
</li>
101+
<li>
102+
<p>The documentation can point to the source code (file, line number) where given item is declared. It can even link to the online repository (e.g. GitHub) which is a great way to link people from your docs to your code. See the <a href="SourcePosition">--show-source-position, --source-url-pattern, --source-root</a> command-line options.</p>
103+
</li>
104+
<li>
105+
<p>You can easily add a search box to your documentation, just pass <a href="UseTipueSearchOption">--use-tipue-search</a> command-line option.</p>
106+
</li>
107+
<li>
108+
<p>The documentation can be localized to many languages, see the <a href="OutputLanguage">--language</a> command-line option.</p>
109+
</li>
110+
<li>
111+
<p><a href="GraphVizSupport">GraphVizSupport</a> allows PasDoc to easily incorporate classes inheritance and unit dependency graphs in the documentation.</p>
73112
</li>
74113
<li>
75114
<p><a href="SpellChecking">Spell checking</a>.</p>
76115
</li>
116+
</ul>
117+
</div>
118+
</div>
119+
</div>
120+
<div class="sect1">
121+
<h2 id="_more">3. More</h2>
122+
<div class="sectionbody">
123+
<div class="ulist">
124+
<ul>
77125
<li>
78126
<p><a href="CacheOption">Caching for faster generation of documentation</a>.</p>
79127
</li>
80128
<li>
81-
<p><a href="MarkdownOption">Markdown support for emphasis, lists, code blocks etc.</a></p>
129+
<p>See also <a href="PasDocFpDocComparison">comparison of PasDoc with FpDoc (another open-source Pascal documentation tool)</a>.</p>
82130
</li>
83131
</ul>
84132
</div>
85-
<div class="paragraph">
86-
<p>If you want to compare <a href="index">PasDoc</a> to FpDoc (another open-source Pascal documentation tool), see <a href="PasDocFpDocComparison">PasDocFpDocComparison</a> .</p>
133+
</div>
87134
</div>
88135

89136
<footer class="site-footer">
@@ -293,6 +340,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
293340
<li>
294341
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
295342
</li>
343+
<li>
344+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
345+
</li>
296346
<li>
297347
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
298348
</li>

docs/AuthorTag.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -267,6 +267,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
267267
<li>
268268
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
269269
</li>
270+
<li>
271+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
272+
</li>
270273
<li>
271274
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
272275
</li>

docs/AutoAbstractOption.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -342,6 +342,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
342342
<li>
343343
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
344344
</li>
345+
<li>
346+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
347+
</li>
345348
<li>
346349
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
347350
</li>

docs/AutoBackComments.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -272,6 +272,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
272272
<li>
273273
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
274274
</li>
275+
<li>
276+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
277+
</li>
275278
<li>
276279
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
277280
</li>

docs/AutoLinkOption.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -419,6 +419,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
419419
<li>
420420
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
421421
</li>
422+
<li>
423+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
424+
</li>
422425
<li>
423426
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
424427
</li>

docs/BoldAndItalicTags.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -288,6 +288,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
288288
<li>
289289
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
290290
</li>
291+
<li>
292+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
293+
</li>
291294
<li>
292295
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
293296
</li>

docs/BrTag.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -275,6 +275,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
275275
<li>
276276
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
277277
</li>
278+
<li>
279+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
280+
</li>
278281
<li>
279282
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
280283
</li>

docs/CacheOption.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -323,6 +323,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
323323
<li>
324324
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
325325
</li>
326+
<li>
327+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
328+
</li>
326329
<li>
327330
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
328331
</li>

docs/CategoryHomepage.html

Lines changed: 4 additions & 1 deletion
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=a92f71a6a83686dd5cec968f49a28ccd1626f661">
25+
<link rel="stylesheet" href="/assets/css/style.css?v=b56c76a091fccd5697365291748319e1f1540676">
2626
</head>
2727
<body>
2828
<div id="layout-container">
@@ -269,6 +269,9 @@ <h2 id="command-line"><a href="CommandLine">Command Line</a>:</h2>
269269
<li>
270270
<p><a href="IgnoreMarkerOption">--ignore-marker</a></p>
271271
</li>
272+
<li>
273+
<p><a href="InheritedMembersOption">--inherited-members</a></p>
274+
</li>
272275
<li>
273276
<p><a href="IntroductionAndConclusion">--introduction, --conclusion, -A, --additional</a></p>
274277
</li>

0 commit comments

Comments
 (0)