+JSDoc has a number of inline tags.
+These are different to its normal tags, because they can occur within the content of other tags.
+The inline tags mainly provide ways to create links or cross-references to other parts of the documentation.
+
diff --git a/Jake/articles/about-namepaths b/Jake/articles/about-namepaths
index 591d49bb..2ab8257f 100644
--- a/Jake/articles/about-namepaths
+++ b/Jake/articles/about-namepaths
@@ -82,3 +82,8 @@ In this case, to refer to the method named "consider," you would use the followi
This chaining can be used with any combination of the connecting symbols: # . ~
+
+{@link someSymbol}
+{@link http://some.url.com}
+[caption here]{@link someSymbol}
+[caption here]{@link http://some.url.com}
+{@link someSymbol|caption here}
+{@link http://some.url.com|caption here}
+{@link http://some.url.com Caption Here (after the first space)}
+{@link someSymbol Caption Here (after the first space)}
+
+
+The following work in the same way as @link but render in monospace or normal font respectively:
+
+
+{@linkcode ...}
+{@linkplain ...}
+
+
+
Overview
+
+The @link, @linkcode and @linkplain tags allow links to other documented objects or external URLs to be created within doclets (i.e., within the content of other tags).
+
+
+
+You need to use a symbol's full name to have it linked (e.g. {@link MyNamespace.MyClass#property} rather than MyClass#property).
+Also, remember that @modules, @externals and @events are prefixed by the tag name (e.g. "module:myModule").
+
+
+
The {@link ...} tag creates a (HTML) link in the generated output to the specified symbol or URL.
+A link caption different to the link itself may be provided using the syntax specified above.
+If the linked object doesn't exist, then the output is kept as text rather than turned into a link.
+
+
+
+By default, {@link ...} just generates the HTML <a href="link URL">link text</code>.
+It may be of interest to have link texts always rendered in monospace, particularly if it's a link to another code object. For example, you may want "{@link MY_CONSTANT}" to be rendered MY_CONSTANT rather than MY_CONSTANT.
+
+
+
+To achieve this one can use @linkcode. It is exactly the same as @link, but renders the link caption in monospace.
+For example, "{@linkcode fooBar}" turns into fooBar.
+
+
+
+The @linkplain tag is opposite to @linkcode; it ensures that the link text is kept as-is, i.e. not turned into monospace.
+
+
+
+If you want all @links to be rendered in monospace by default, you can set the templates.monospaceLinks option to true in your conf.json.
+If you want @links to be rendered in normal text if they are links to external URLs (http, ftp) and in monospace otherwise, set the templates.cleverLinks option to true in your .
+By default, all @links are rendered in normal font.
+See the configuring JSDoc page for more information on setting these.
+
+
+
+
Examples
+
+{{#example}}Linking modules, externals and events.
+/** A module. Refer to it using {@link module:foo/bar}.
+ * @module foo/bar
+ */
+/** The built in string object. Refer to it with {@link external:String}.
+ * @external String
+ */
+/** An event. Refer to with {@link module:foo/bar.event:MyEvent}.
+ * @event module:foo/bar.event:MyEvent
+ */
+{{/example}}
+
+{{#example}}Using @link
+/** See {@link MyClass} and [MyClass's foo property]{@link MyClass#foo}.
+ * Also check out {@link http://www.google.com|google} and {@link http://github.com Github}.
+ */
+function myFunction() {}
+
+/** A class.
+ * @class */
+function MyClass() {
+ /** foo property */
+ this.foo = 1;
+}
+{{/example}}
+
+
+The above produces (except that the first two links actually link to the generated documentation for MyClass and MyClass#foo):
+
+
+{{#example}}Example with @linkplain and @linkcode
+/** This is a variable {@link FOO}, cleverLinks makes this monospace.
+ * This is a link to external site {@link http://www.github.com|Github}, not monospace as it's external.
+ * This is a link to {@linkplain FOO}, but we forced it not to be monospace.
+ * This is a link to {@linkcode http://www.github.com Github}, but we forced it to be monospace.
+ * @const
+ */
+var FOO = 1;
+{{/example}}
+
+
+With the default configuration, this would produce:
+
+This is a variable FOO, cleverLinks makes this monospace.
+This is a link to external site Github, not monospace as it's external.
+This is a link to FOO, but we forced it not to be monospace.
+This is a link to Github, but we forced it to be monospace.
+
+
+
+
+If templates.cleverLinks was on, it would produce:
+
+This is a variable FOO, cleverLinks makes this monospace.
+This is a link to external site Github, not monospace as it's external.
+This is a link to FOO, but we forced it not to be monospace.
+This is a link to Github, but we forced it to be monospace.
+
+
+
+
If template.monospaceLinks was on instead, all the links would be monospace except for the @linkplain.
+
+
+{@link someSymbol}
+{@link http://some.url.com}
+[caption here]{@link someSymbol}
+[caption here]{@link http://some.url.com}
+{@link someSymbol|caption here}
+{@link http://some.url.com|caption here}
+{@link http://some.url.com Caption Here (after the first space)}
+{@link someSymbol Caption Here (after the first space)}
+
+
+The following work in the same way as @link but render in monospace or normal font respectively:
+
+
+{@linkcode ...}
+{@linkplain ...}
+
+
+
Overview
+
+The @link, @linkcode and @linkplain tags allow links to other documented objects or external URLs to be created within doclets (i.e., within the content of other tags).
+
+
+
+You need to use a symbol's full name to have it linked (e.g. {@link MyNamespace.MyClass#property} rather than MyClass#property).
+Also, remember that @modules, @externals and @events are prefixed by the tag name (e.g. "module:myModule").
+
+
+
The {@link ...} tag creates a (HTML) link in the generated output to the specified symbol or URL.
+A link caption different to the link itself may be provided using the syntax specified above.
+If the linked object doesn't exist, then the output is kept as text rather than turned into a link.
+
+
+
+By default, {@link ...} just generates the HTML <a href="link URL">link text</code>.
+It may be of interest to have link texts always rendered in monospace, particularly if it's a link to another code object. For example, you may want "{@link MY_CONSTANT}" to be rendered MY_CONSTANT rather than MY_CONSTANT.
+
+
+
+To achieve this one can use @linkcode. It is exactly the same as @link, but renders the link caption in monospace.
+For example, "{@linkcode fooBar}" turns into fooBar.
+
+
+
+The @linkplain tag is opposite to @linkcode; it ensures that the link text is kept as-is, i.e. not turned into monospace.
+
+
+
+If you want all @links to be rendered in monospace by default, you can set the templates.monospaceLinks option to true in your conf.json.
+If you want @links to be rendered in normal text if they are links to external URLs (http, ftp) and in monospace otherwise, set the templates.cleverLinks option to true in your .
+By default, all @links are rendered in normal font.
+See the configuring JSDoc page for more information on setting these.
+
+
+
+
Examples
+
+
+
Linking modules, externals and events.
+
+
+/** A module. Refer to it using {@link module:foo/bar}.
+ * @module foo/bar
+ */
+/** The built in string object. Refer to it with {@link external:String}.
+ * @external String
+ */
+/** An event. Refer to with {@link module:foo/bar.event:MyEvent}.
+ * @event module:foo/bar.event:MyEvent
+ */
+
+
+
+
+
Using @link
+
+
+/** See {@link MyClass} and [MyClass's foo property]{@link MyClass#foo}.
+ * Also check out {@link http://www.google.com|google} and {@link http://github.com Github}.
+ */
+function myFunction() {}
+
+/** A class.
+ * @class */
+function MyClass() {
+ /** foo property */
+ this.foo = 1;
+}
+
+
+
+
+The above produces (except that the first two links actually link to the generated documentation for MyClass and MyClass#foo):
+
+/** This is a variable {@link FOO}, cleverLinks makes this monospace.
+ * This is a link to external site {@link http://www.github.com|Github}, not monospace as it's external.
+ * This is a link to {@linkplain FOO}, but we forced it not to be monospace.
+ * This is a link to {@linkcode http://www.github.com Github}, but we forced it to be monospace.
+ * @const
+ */
+var FOO = 1;
+
+
+
+
+With the default configuration, this would produce:
+
+This is a variable FOO, cleverLinks makes this monospace.
+This is a link to external site Github, not monospace as it's external.
+This is a link to FOO, but we forced it not to be monospace.
+This is a link to Github, but we forced it to be monospace.
+
+
+
+
+If templates.cleverLinks was on, it would produce:
+
+This is a variable FOO, cleverLinks makes this monospace.
+This is a link to external site Github, not monospace as it's external.
+This is a link to FOO, but we forced it not to be monospace.
+This is a link to Github, but we forced it to be monospace.
+
+
+
+
If template.monospaceLinks was on instead, all the links would be monospace except for the @linkplain.
+
+
+
+
+
+
+
+
+
From 66801b5baf934a1c9ff9ac3011c15754a0fbe806 Mon Sep 17 00:00:00 2001
From: mathematicalcoffee
Date: Sat, 26 Jan 2013 13:27:31 +1000
Subject: [PATCH 3/5] filled out tags-tutorial page for @tutorial
---
Jake/articles/tags-tutorial | 35 ++++++++++++++++++++++++-----
tags-tutorial.html | 44 +++++++++++++++++++++++++++++++------
2 files changed, 66 insertions(+), 13 deletions(-)
diff --git a/Jake/articles/tags-tutorial b/Jake/articles/tags-tutorial
index 0b888ddd..d1ee7c72 100644
--- a/Jake/articles/tags-tutorial
+++ b/Jake/articles/tags-tutorial
@@ -3,22 +3,45 @@
"out": "tags-tutorial.html",
"description": "Insert a link to an included tutorial file."
}-->
+
Syntax
+
As a block tag:
+@tutorial <tutorialID>
+
+
As an inline tag:
+{@tutorial <tutorialID>}
Overview
-
+
The @tutorial tag can be used both inline and as a normal tag.
+It inserts a link to an included tutorial file.
+See the tutorials tutorial for instructions on creating tutorials.
The @tutorial tag can be used both inline and as a normal tag.
+It inserts a link to an included tutorial file.
+See the tutorials tutorial for instructions on creating tutorials.