Skip to content

Commit f14aeba

Browse files
committed
Update dependencies; regenerate site.
1 parent 44e047e commit f14aeba

File tree

90 files changed

+6481
-1655
lines changed

Some content is hidden

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

90 files changed

+6481
-1655
lines changed

about-block-inline-tags.html

+26-16
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,22 @@ <h2 id="overview">Overview</h2>
3737
<li><strong>Block tags</strong>, which are at the top level of a JSDoc comment.</li>
3838
<li><strong>Inline tags</strong>, which are within the text of a block tag or a description.</li>
3939
</ul>
40-
<p>Block tags usually provide detailed information about your code, such as the parameters that a function accepts. Inline tags usually link to other parts of the
41-
documentation, similar to the anchor tag (<code>&lt;a&gt;</code>) in HTML.</p>
42-
<p>Block tags always begin with an at sign (<code>@</code>). Each block tag must be followed by a line break, with the exception of the last block tag in a JSDoc
43-
comment.</p>
44-
<p>Inline tags also begin with an at sign. However, inline tags and their text must be enclosed in curly braces (<code>{</code> and <code>}</code>). The <code>{</code> denotes the start of the inline tag, and the <code>}</code> denotes the end of the inline tag. If your tag&#39;s text includes a closing curly brace (<code>}</code>),
45-
you must escape it with a leading backslash (<code>\</code>). You do not need to use a line break after inline tags.</p>
46-
<p>Most JSDoc tags are block tags. In general, when this site refers to &quot;JSDoc tags,&quot; we really mean &quot;block tags.&quot;</p>
40+
<p>Block tags usually provide detailed information about your code, such as the parameters that a
41+
function accepts. Inline tags usually link to other parts of the documentation, similar to the
42+
anchor tag (<code>&lt;a&gt;</code>) in HTML.</p>
43+
<p>Block tags always begin with an at sign (<code>@</code>). Each block tag must be followed by a line break,
44+
with the exception of the last block tag in a JSDoc comment.</p>
45+
<p>Inline tags also begin with an at sign. However, inline tags and their text must be enclosed in
46+
curly braces (<code>{</code> and <code>}</code>). The <code>{</code> denotes the start of the inline tag, and the <code>}</code> denotes the end
47+
of the inline tag. If your tag&#39;s text includes a closing curly brace (<code>}</code>), you must escape it with
48+
a leading backslash (<code>\</code>). You do not need to use a line break after inline tags.</p>
49+
<p>Most JSDoc tags are block tags. In general, when this site refers to &quot;JSDoc tags,&quot; we really mean
50+
&quot;block tags.&quot;</p>
4751
<h2 id="examples">Examples</h2>
4852
<p>In the following example, <code>@param</code> is a block tag, and <code>{@link}</code> is an inline tag:</p>
4953
<figure>
50-
<figcaption>Block and inline tags in JSDoc comments</figcaption><pre class="prettyprint lang-js"><code>/**
54+
<figcaption>Block and inline tags in JSDoc comments</figcaption>
55+
<pre class="prettyprint lang-js"><code>/**
5156
* Set the shoe's color. Use {@link Shoe#setSize} to set the shoe size.
5257
*
5358
* @param {string} color - The shoe's color.
@@ -59,7 +64,8 @@ <h2 id="examples">Examples</h2>
5964
</figure>
6065
<p>You can use inline tags within a description, as shown above, or within a block tag, as shown below:</p>
6166
<figure>
62-
<figcaption>Inline tag used within a block tag</figcaption><pre class="prettyprint lang-js"><code>/**
67+
<figcaption>Inline tag used within a block tag</figcaption>
68+
<pre class="prettyprint lang-js"><code>/**
6369
* Set the shoe's color.
6470
*
6571
* @param {SHOE_COLORS} color - The shoe color. Must be an enumerated
@@ -72,7 +78,8 @@ <h2 id="examples">Examples</h2>
7278
</figure>
7379
<p>When you use multiple block tags in a JSDoc comment, they must be separated by line breaks:</p>
7480
<figure>
75-
<figcaption>Multiple block tags separated by line breaks</figcaption><pre class="prettyprint lang-js"><code>/**
81+
<figcaption>Multiple block tags separated by line breaks</figcaption>
82+
<pre class="prettyprint lang-js"><code>/**
7683
* Set the color and type of the shoelaces.
7784
*
7885
* @param {LACE_COLORS} color - The shoelace color.
@@ -86,12 +93,15 @@ <h2 id="examples">Examples</h2>
8693
</article>
8794
<footer>
8895
<a class="license-badge" href="http://creativecommons.org/licenses/by-sa/3.0/">
89-
<img alt="Creative Commons License" class="license-badge" src="images/cc-by-sa.svg" width="80" height="15" />
90-
</a>
91-
<br> Copyright &#169; 2011-2017 the
92-
<a href="https://github.com/jsdoc3/jsdoc3.github.com/contributors">contributors</a> to the JSDoc 3 documentation project.
93-
<br> This website is <a href="https://github.com/jsdoc3/jsdoc3.github.com">open source</a> and is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
94-
Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
96+
<img alt="Creative Commons License" class="license-badge" src="images/cc-by-sa.svg" width="80" height="15" /></a>
97+
<br>
98+
Copyright &#169; 2011-2017 the
99+
<a href="https://github.com/jsdoc3/jsdoc3.github.com/contributors">contributors</a> to the
100+
JSDoc 3 documentation project.
101+
<br>
102+
This website is <a href="https://github.com/jsdoc3/jsdoc3.github.com">open source</a> and is
103+
licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
104+
Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
95105
</footer>
96106
<script type="text/javascript">
97107
prettyPrint();

about-commandline.html

+54-63
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ <h2>Table of Contents</h2>
3535
<pre class="prettyprint"><code>/path/to/jsdoc yourSourceCodeFile.js anotherSourceCodeFile.js ...
3636
</code></pre>
3737
<p>where <code>...</code> are paths to other files to generate documentation for.</p>
38-
<p>Additionally, one may provide the path to a <a href="http://daringfireball.net/projects/markdown/">Markdown file</a> (ending in &quot;.md&quot;) or a file named
39-
&quot;README&quot;, and this will be added to the documentation on the front page. See <a href="about-including-readme.html">these
40-
instructions</a>.</p>
41-
<p>JSDoc supports a number of command-line options, many of which have both long and short forms. Alternatively, the command-line options may be <a href="about-configuring-jsdoc.html">specified in a configuration file</a> given to JSDoc. The command-line options are:</p>
38+
<p>Additionally, one may provide the path to a <a href="http://daringfireball.net/projects/markdown/">Markdown file</a> (ending in &quot;.md&quot;) or a
39+
file
40+
named &quot;README&quot;, and this will be added to the documentation on the front page. See <a href="about-including-readme.html">these
41+
instructions</a>.</p>
42+
<p>JSDoc supports a number of command-line options, many of which have both long and short forms.
43+
Alternatively, the command-line options may be <a href="about-configuring-jsdoc.html">specified in a configuration file</a>
44+
given to JSDoc. The command-line options are:</p>
4245
<table>
4346
<thead>
4447
<tr>
@@ -48,119 +51,104 @@ <h2>Table of Contents</h2>
4851
</thead>
4952
<tbody>
5053
<tr>
51-
<td><code>-a &lt;value&gt;</code>, <code>--access &lt;value&gt;</code>
52-
</td>
53-
<td>Only display symbols with the given <code>access</code> property: <code>private</code>, <code>protected</code>, <code>public</code>, or <code>undefined</code>,
54-
or <code>all</code> for all access levels. By default, all except <code>private</code> symbols are shown.</td>
54+
<td><code>-a &lt;value&gt;</code>, <code>--access &lt;value&gt;</code></td>
55+
<td>Only display symbols with the given <code>access</code> property: <code>private</code>, <code>protected</code>, <code>public</code>, or
56+
<code>undefined</code>, or <code>all</code> for all access levels. By default, all except <code>private</code> symbols are shown.</td>
5557
</tr>
5658
<tr>
57-
<td><code>-c &lt;value&gt;</code>, <code>--configure &lt;value&gt;</code>
58-
</td>
59-
<td>The path to a JSDoc <a href="about-configuring-jsdoc.html">configuration file</a>. Defaults to <code>conf.json</code> or <code>conf.json.EXAMPLE</code> in the directory where JSDoc is installed.</td>
59+
<td><code>-c &lt;value&gt;</code>, <code>--configure &lt;value&gt;</code></td>
60+
<td>The path to a JSDoc <a href="about-configuring-jsdoc.html">configuration file</a>. Defaults to <code>conf.json</code> or
61+
<code>conf.json.EXAMPLE</code> in the directory where JSDoc is installed.</td>
6062
</tr>
6163
<tr>
62-
<td><code>-d &lt;value&gt;</code>, <code>--destination &lt;value&gt;</code>
63-
</td>
64-
<td>The path to the output folder for the generated documentation. For JSDoc&#39;s built-in Haruki template, use <code>console</code> to dump data to the console.
65-
Defaults to <code>./out</code>.</td>
64+
<td><code>-d &lt;value&gt;</code>, <code>--destination &lt;value&gt;</code></td>
65+
<td>The path to the output folder for the generated documentation. For JSDoc&#39;s built-in Haruki template, use <code>console</code> to dump data to
66+
the console. Defaults to <code>./out</code>.</td>
6667
</tr>
6768
<tr>
68-
<td><code>--debug</code>
69-
</td>
69+
<td><code>--debug</code></td>
7070
<td>Log information that can help debug issues in JSDoc itself.</td>
7171
</tr>
7272
<tr>
73-
<td><code>-e &lt;value&gt;</code>, <code>--encoding &lt;value&gt;</code>
74-
</td>
73+
<td><code>-e &lt;value&gt;</code>, <code>--encoding &lt;value&gt;</code></td>
7574
<td>Assume this encoding when reading all source files. Defaults to <code>utf8</code>.</td>
7675
</tr>
7776
<tr>
78-
<td><code>-h</code>, <code>--help</code>
79-
</td>
77+
<td><code>-h</code>, <code>--help</code></td>
8078
<td>Display information about JSDoc&#39;s command-line options, then exit.</td>
8179
</tr>
8280
<tr>
83-
<td><code>--match &lt;value&gt;</code>
84-
</td>
81+
<td><code>--match &lt;value&gt;</code></td>
8582
<td>Only run tests whose names contain <code>value</code>.</td>
8683
</tr>
8784
<tr>
88-
<td><code>--nocolor</code>
89-
</td>
85+
<td><code>--nocolor</code></td>
9086
<td>When running tests, do not use color in the console output. On Windows, this option is enabled by default.</td>
9187
</tr>
9288
<tr>
93-
<td><code>-p</code>, <code>--private</code>
94-
</td>
95-
<td>Include symbols marked with the <a href="tags-private.html"><code>@private</code> tag</a> in the generated documentation. By default, private symbols are
96-
not included.</td>
89+
<td><code>-p</code>, <code>--private</code></td>
90+
<td>Include symbols marked with the <a href="tags-private.html"><code>@private</code> tag</a> in the generated documentation. By default, private
91+
symbols are not included.</td>
9792
</tr>
9893
<tr>
99-
<td><code>-P</code>, <code>--package</code>
100-
</td>
101-
<td>The <code>package.json</code> file that contains the project name, version, and other details. Defaults to the first <code>package.json</code> file found
102-
in the source paths.</td>
94+
<td><code>-P</code>, <code>--package</code></td>
95+
<td>The <code>package.json</code> file that contains the project name, version, and other details. Defaults to the first <code>package.json</code>
96+
file found in the source paths.</td>
10397
</tr>
10498
<tr>
105-
<td><code>--pedantic</code>
106-
</td>
99+
<td><code>--pedantic</code></td>
107100
<td>Treat errors as fatal errors, and treat warnings as errors. Defaults to <code>false</code>.</td>
108101
</tr>
109102
<tr>
110-
<td><code>-q &lt;value&gt;</code>, <code>--query &lt;value&gt;</code>
111-
</td>
103+
<td><code>-q &lt;value&gt;</code>, <code>--query &lt;value&gt;</code></td>
112104
<td>A query string to parse and store in the global variable <code>env.opts.query</code>. Example: <code>foo=bar&amp;baz=true</code>.</td>
113105
</tr>
114106
<tr>
115-
<td><code>-r</code>, <code>--recurse</code>
116-
</td>
107+
<td><code>-r</code>, <code>--recurse</code></td>
117108
<td>Recurse into subdirectories when scanning for source files and tutorials.</td>
118109
</tr>
119110
<tr>
120-
<td><code>-R</code>, <code>--readme</code>
121-
</td>
122-
<td>The <code>README.md</code> file to include in the generated documentation. Defaults to the first <code>README.md</code> file found in the source paths.</td>
111+
<td><code>-R</code>, <code>--readme</code></td>
112+
<td>The <code>README.md</code> file to include in the generated documentation. Defaults to the first <code>README.md</code> file found in the source
113+
paths.</td>
123114
</tr>
124115
<tr>
125-
<td><code>-t &lt;value&gt;</code>, <code>--template &lt;value&gt;</code>
126-
</td>
116+
<td><code>-t &lt;value&gt;</code>, <code>--template &lt;value&gt;</code></td>
127117
<td>The path to the template to use for generating output. Defaults to <code>templates/default</code>, JSDoc&#39;s built-in default template.</td>
128118
</tr>
129119
<tr>
130-
<td><code>-T</code>, <code>--test</code>
131-
</td>
120+
<td><code>-T</code>, <code>--test</code></td>
132121
<td>Run JSDoc&#39;s test suite, and print the results to the console.</td>
133122
</tr>
134123
<tr>
135-
<td><code>-u &lt;value&gt;</code>, <code>--tutorials &lt;value&gt;</code>
136-
</td>
137-
<td>Directory in which JSDoc should search for tutorials. If omitted, no tutorial pages will be generated. See the <a href="about-tutorials.html">tutorial instructions</a> for more information.</td>
124+
<td><code>-u &lt;value&gt;</code>, <code>--tutorials &lt;value&gt;</code></td>
125+
<td>Directory in which JSDoc should search for tutorials. If omitted, no tutorial pages will be generated. See the <a
126+
href="about-tutorials.html">tutorial instructions</a> for more information.</td>
138127
</tr>
139128
<tr>
140-
<td><code>-v</code>, <code>--version</code>
141-
</td>
129+
<td><code>-v</code>, <code>--version</code></td>
142130
<td>Displays JSDoc&#39;s version number, then exits.</td>
143131
</tr>
144132
<tr>
145-
<td><code>--verbose</code>
146-
</td>
133+
<td><code>--verbose</code></td>
147134
<td>Log detailed information to the console as JSDoc runs. Defaults to <code>false</code>.</td>
148135
</tr>
149136
<tr>
150-
<td><code>-X</code>, <code>--explain</code>
151-
</td>
137+
<td><code>-X</code>, <code>--explain</code></td>
152138
<td>Dump all doclets to the console in JSON format, then exit.</td>
153139
</tr>
154140
</tbody>
155141
</table>
156142
<h2 id="examples">Examples</h2>
157143
<p>Generate documentation for files in the <code>./src</code> directory, using the configuration file
158144
<code>/path/to/my/conf.json</code>, and save the output in the <code>./docs</code> directory:</p>
159-
<figure><pre class="prettyprint"><code>/path/to/jsdoc src -r -c /path/to/my/conf.json -d docs
145+
<figure>
146+
<pre class="prettyprint"><code>/path/to/jsdoc src -r -c /path/to/my/conf.json -d docs
160147
</code></pre>
161148
</figure>
162149
<p>Run all JSDoc tests whose names include the word <code>tag</code>, and log information about each test:</p>
163-
<figure><pre class="prettyprint"><code>/path/to/jsdoc -T --match tag --verbose
150+
<figure>
151+
<pre class="prettyprint"><code>/path/to/jsdoc -T --match tag --verbose
164152
</code></pre>
165153
</figure>
166154
<h2 id="related-links">Related Links</h2>
@@ -170,12 +158,15 @@ <h2 id="related-links">Related Links</h2>
170158
</article>
171159
<footer>
172160
<a class="license-badge" href="http://creativecommons.org/licenses/by-sa/3.0/">
173-
<img alt="Creative Commons License" class="license-badge" src="images/cc-by-sa.svg" width="80" height="15" />
174-
</a>
175-
<br> Copyright &#169; 2011-2017 the
176-
<a href="https://github.com/jsdoc3/jsdoc3.github.com/contributors">contributors</a> to the JSDoc 3 documentation project.
177-
<br> This website is <a href="https://github.com/jsdoc3/jsdoc3.github.com">open source</a> and is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
178-
Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
161+
<img alt="Creative Commons License" class="license-badge" src="images/cc-by-sa.svg" width="80" height="15" /></a>
162+
<br>
163+
Copyright &#169; 2011-2017 the
164+
<a href="https://github.com/jsdoc3/jsdoc3.github.com/contributors">contributors</a> to the
165+
JSDoc 3 documentation project.
166+
<br>
167+
This website is <a href="https://github.com/jsdoc3/jsdoc3.github.com">open source</a> and is
168+
licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
169+
Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.
179170
</footer>
180171
<script type="text/javascript">
181172
prettyPrint();

0 commit comments

Comments
 (0)