Skip to content

Commit a47419d

Browse files
committed
Remove .html from link
1 parent 39f1b7f commit a47419d

25 files changed

+115
-121
lines changed

Diff for: _includes/api-toc.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22

33
<li class="tocheader"><span>API</span>
44
<ul>
5-
<li><a href="/docs/api/index.html" {% if page.url == "/docs/api/index.html" %}class="active"{% endif %}>Overview</a>
5+
<li><a href="/docs/api/index" {% if page.url == "/docs/api/index" %}class="active"{% endif %}>Overview</a>
66
</ul>
77
</li>
88

99
<li class="tocheader"><span>Admin HTTP API</span>
1010
<ul>
11-
<li><a href="/docs/api/admin/index.html" {% if page.url == "/docs/api/admin/index.html" %}class="active"{% endif %}>Overview</a>
12-
<li><a href="/docs/api/admin/oauth.html" {% if page.url == "/docs/api/admin/oauth.html" %}class="active"{% endif %}>Authentication</a>
13-
<li><a href="/docs/api/admin/types.html" {% if page.url == "/docs/api/admin/types.html" %}class="active"{% endif %}>Types</a>
14-
<li><a href="/docs/api/admin/errors.html" {% if page.url == "/docs/api/admin/errors.html" %}class="active"{% endif %}>Errors</a>
11+
<li><a href="/docs/api/admin/index" {% if page.url == "/docs/api/admin/index" %}class="active"{% endif %}>Overview</a>
12+
<li><a href="/docs/api/admin/oauth" {% if page.url == "/docs/api/admin/oauth" %}class="active"{% endif %}>Authentication</a>
13+
<li><a href="/docs/api/admin/types" {% if page.url == "/docs/api/admin/types" %}class="active"{% endif %}>Types</a>
14+
<li><a href="/docs/api/admin/errors" {% if page.url == "/docs/api/admin/errors" %}class="active"{% endif %}>Errors</a>
1515
<li><a href="/docs/api/admin/methods" {% if page.url contains "/docs/api/admin/methods" %}class="active"{% endif %}>Methods</a>
1616
</ul>
1717
</li>
1818
<li class="tocheader"><span>Runtime API</span>
1919
<ul>
20-
<li><a href="/docs/api/runtime/index.html" {% if page.url == "/docs/api/runtime/index.html" %}class="active"{% endif %}>Overview</a>
21-
<li><a href="/docs/api/runtime/api.html" {% if page.url == "/docs/api/runtime/api.html" %}class="active"{% endif %}>API</a>
20+
<li><a href="/docs/api/runtime/index" {% if page.url == "/docs/api/runtime/index" %}class="active"{% endif %}>Overview</a>
21+
<li><a href="/docs/api/runtime/api" {% if page.url == "/docs/api/runtime/api" %}class="active"{% endif %}>API</a>
2222
</ul>
2323
</li>
2424
<li class="tocheader"><span>Storage API</span>
2525
<ul>
26-
<li><a href="/docs/api/storage/index.html" {% if page.url == "/docs/api/storage/index.html" %}class="active"{% endif %}>Overview</a>
26+
<li><a href="/docs/api/storage/index" {% if page.url == "/docs/api/storage/index" %}class="active"{% endif %}>Overview</a>
2727
<li><a href="/docs/api/storage/methods" {% if page.url contains "/docs/api/storage/methods" %}class="active"{% endif %}>Methods</a>
2828
</ul>
2929
</li>
3030
<!--
3131
<li class="tocheader"><span>Editor API</span>
3232
<ul>
33-
<li><a href="/docs/api/editor/index.html" {% if page.url == "/docs/api/editor/index.html" %}class="active"{% endif %}>Overview</a>
33+
<li><a href="/docs/api/editor/index" {% if page.url == "/docs/api/editor/index" %}class="active"{% endif %}>Overview</a>
3434
</ul>
3535
</li>
3636
-->

Diff for: _includes/docs-toc.html

+28-28
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
<ul class="toc">
22
<li class="tocheader"><span>Documentation</span>
33
<ul>
4-
<li><a href="/docs/index.html" {% if page.url == "/docs/index.html" %}class="active"{% endif %}>Overview</a>
4+
<li><a href="/docs/index" {% if page.url == "/docs/index" %}class="active"{% endif %}>Overview</a>
55
</ul>
66
</li>
77
<li class="tocheader"><span>Getting Started</span>
88
<ul>
9-
<li><a href="/docs/getting-started/installation.html" {% if page.url == "/docs/getting-started/installation.html" %}class="active"{% endif %}>Installation</a>
10-
<li><a href="/docs/getting-started/running.html" {% if page.url == "/docs/getting-started/running.html" %}class="active"{% endif %}>Running</a>
11-
<li><a href="/docs/getting-started/adding-nodes.html" {% if page.url == "/docs/getting-started/adding-nodes.html" %}class="active"{% endif %}>Adding Nodes</a>
12-
<li><a href="/docs/getting-started/upgrading.html" {% if page.url == "/docs/getting-started/upgrading.html" %}class="active"{% endif %}>Upgrading</a>
13-
<li><a href="/docs/getting-started/first-flow.html" {% if page.url == "/docs/getting-started/first-flow.html" %}class="active"{% endif %}>Creating your first flow</a>
14-
<li><a href="/docs/getting-started/second-flow.html" {% if page.url == "/docs/getting-started/second-flow.html" %}class="active"{% endif %}>Creating your second flow</a>
9+
<li><a href="/docs/getting-started/installation" {% if page.url == "/docs/getting-started/installation" %}class="active"{% endif %}>Installation</a>
10+
<li><a href="/docs/getting-started/running" {% if page.url == "/docs/getting-started/running" %}class="active"{% endif %}>Running</a>
11+
<li><a href="/docs/getting-started/adding-nodes" {% if page.url == "/docs/getting-started/adding-nodes" %}class="active"{% endif %}>Adding Nodes</a>
12+
<li><a href="/docs/getting-started/upgrading" {% if page.url == "/docs/getting-started/upgrading" %}class="active"{% endif %}>Upgrading</a>
13+
<li><a href="/docs/getting-started/first-flow" {% if page.url == "/docs/getting-started/first-flow" %}class="active"{% endif %}>Creating your first flow</a>
14+
<li><a href="/docs/getting-started/second-flow" {% if page.url == "/docs/getting-started/second-flow" %}class="active"{% endif %}>Creating your second flow</a>
1515
</ul>
1616
</li>
1717
<li class="tocheader"><span>Using Node-RED</span>
1818
<ul>
19-
<li><a href="/docs/configuration.html" {% if page.url == "/docs/configuration.html" %}class="active"{% endif %}>Configuration</a></li>
20-
<li><a href="/docs/security.html" {% if page.url == "/docs/security.html" %}class="active"{% endif %}>Security</a></li>
21-
<li><a href="/docs/node-red-admin.html" {% if page.url == "/docs/node-red-admin.html" %}class="active"{% endif %}>Command-line Admin</a></li>
22-
<li><a href="/docs/writing-functions.html" {% if page.url == "/docs/writing-functions.html" %}class="active"{% endif %}>Writing Functions</a></li>
23-
<li><a href="/docs/embedding.html" {% if page.url == "/docs/embedding.html" %}class="active"{% endif %}>Embedding into an existing app</a></li>
19+
<li><a href="/docs/configuration" {% if page.url == "/docs/configuration" %}class="active"{% endif %}>Configuration</a></li>
20+
<li><a href="/docs/security" {% if page.url == "/docs/security" %}class="active"{% endif %}>Security</a></li>
21+
<li><a href="/docs/node-red-admin" {% if page.url == "/docs/node-red-admin" %}class="active"{% endif %}>Command-line Admin</a></li>
22+
<li><a href="/docs/writing-functions" {% if page.url == "/docs/writing-functions" %}class="active"{% endif %}>Writing Functions</a></li>
23+
<li><a href="/docs/embedding" {% if page.url == "/docs/embedding" %}class="active"{% endif %}>Embedding into an existing app</a></li>
2424
</ul>
2525
</li>
2626
<li class="tocheader"><span>API</span>
2727
<ul>
28-
<li><a href="/docs/api/index.html">Overview</a>
28+
<li><a href="/docs/api/">Overview</a>
2929
</ul>
3030
</li>
3131
<li class="tocheader"><span>Creating Nodes</span>
3232
<ul>
33-
<li><a href="/docs/creating-nodes/" {% if page.url == "/docs/creating-nodes/index.html" %}class="active"{% endif %}>Overview</a></li>
34-
<li><a href="/docs/creating-nodes/first-node.html" {% if page.url == "/docs/creating-nodes/first-node.html" %}class="active"{% endif %}>Creating your first node</a></li>
35-
<li><a href="/docs/creating-nodes/node-js.html" {% if page.url == "/docs/creating-nodes/node-js.html" %}class="active"{% endif %}>JavaScript File</a>
36-
<li><a href="/docs/creating-nodes/node-html.html" {% if page.url == "/docs/creating-nodes/node-html.html" %}class="active"{% endif %}>HTML File</a>
37-
<li><a href="/docs/creating-nodes/context.html" {% if page.url == "/docs/creating-nodes/context.html" %}class="active"{% endif %}>Storing Context</a></li>
38-
<li><a href="/docs/creating-nodes/properties.html" {% if page.url == "/docs/creating-nodes/properties.html" %}class="active"{% endif %}>Node properties</a></li>
39-
<li><a href="/docs/creating-nodes/credentials.html" {% if page.url == "/docs/creating-nodes/credentials.html" %}class="active"{% endif %}>Node credentials</a></li>
40-
<li><a href="/docs/creating-nodes/appearance.html" {% if page.url == "/docs/creating-nodes/appearance.html" %}class="active"{% endif %}>Node appearance</a></li>
41-
<li><a href="/docs/creating-nodes/status.html" {% if page.url == "/docs/creating-nodes/status.html" %}class="active"{% endif %}>Node status</a></li>
42-
<li><a href="/docs/creating-nodes/config-nodes.html" {% if page.url == "/docs/creating-nodes/config-nodes.html" %}class="active"{% endif %}>Configuration nodes</a></li>
43-
<li><a href="/docs/creating-nodes/packaging.html" {% if page.url == "/docs/creating-nodes/packaging.html" %}class="active"{% endif %}>Packaging</a></li>
44-
<li><a href="/docs/creating-nodes/i18n.html" {% if page.url == "/docs/creating-nodes/i18n.html" %}class="active"{% endif %}>Internationalisation</a></li>
33+
<li><a href="/docs/creating-nodes/" {% if page.url == "/docs/creating-nodes/index" %}class="active"{% endif %}>Overview</a></li>
34+
<li><a href="/docs/creating-nodes/first-node" {% if page.url == "/docs/creating-nodes/first-node" %}class="active"{% endif %}>Creating your first node</a></li>
35+
<li><a href="/docs/creating-nodes/node-js" {% if page.url == "/docs/creating-nodes/node-js" %}class="active"{% endif %}>JavaScript File</a>
36+
<li><a href="/docs/creating-nodes/node-html" {% if page.url == "/docs/creating-nodes/node-html" %}class="active"{% endif %}>HTML File</a>
37+
<li><a href="/docs/creating-nodes/context" {% if page.url == "/docs/creating-nodes/context" %}class="active"{% endif %}>Storing Context</a></li>
38+
<li><a href="/docs/creating-nodes/properties" {% if page.url == "/docs/creating-nodes/properties" %}class="active"{% endif %}>Node properties</a></li>
39+
<li><a href="/docs/creating-nodes/credentials" {% if page.url == "/docs/creating-nodes/credentials" %}class="active"{% endif %}>Node credentials</a></li>
40+
<li><a href="/docs/creating-nodes/appearance" {% if page.url == "/docs/creating-nodes/appearance" %}class="active"{% endif %}>Node appearance</a></li>
41+
<li><a href="/docs/creating-nodes/status" {% if page.url == "/docs/creating-nodes/status" %}class="active"{% endif %}>Node status</a></li>
42+
<li><a href="/docs/creating-nodes/config-nodes" {% if page.url == "/docs/creating-nodes/config-nodes" %}class="active"{% endif %}>Configuration nodes</a></li>
43+
<li><a href="/docs/creating-nodes/packaging" {% if page.url == "/docs/creating-nodes/packaging" %}class="active"{% endif %}>Packaging</a></li>
44+
<li><a href="/docs/creating-nodes/i18n" {% if page.url == "/docs/creating-nodes/i18n" %}class="active"{% endif %}>Internationalisation</a></li>
4545
</ul>
4646
</li>
4747
<li class="tocheader"><span>Hardware</span>
4848
<ul>
49-
<li><a href="/docs/hardware/raspberrypi.html" {% if page.url == "/docs/hardware/raspberrypi.html" %}class="active"{% endif %}>Raspberry Pi</a>
50-
<li><a href="/docs/hardware/beagleboneblack.html" {% if page.url == "/docs/hardware/beagleboneblack.html" %}class="active"{% endif %}>BeagleBone Black</a>
51-
<li><a href="/docs/hardware/arduino.html" {% if page.url == "/docs/hardware/arduino.html" %}class="active"{% endif %}>Arduino</a>
49+
<li><a href="/docs/hardware/raspberrypi" {% if page.url == "/docs/hardware/raspberrypi" %}class="active"{% endif %}>Raspberry Pi</a>
50+
<li><a href="/docs/hardware/beagleboneblack" {% if page.url == "/docs/hardware/beagleboneblack" %}class="active"{% endif %}>BeagleBone Black</a>
51+
<li><a href="/docs/hardware/arduino" {% if page.url == "/docs/hardware/arduino" %}class="active"{% endif %}>Arduino</a>
5252
</ul>
5353
</li>
5454
</ul>

Diff for: _posts/2015-11-06-version-0-12-0-released.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This means if you import a subflow that includes some config nodes, and then del
3434

3535
The edit dialog for config nodes allows you to pick the scope of the node in the top right corner - and will warn you if changing the scope will make it unavailable to a node that currently uses it.
3636

37-
{<1>}![](/blog/content/images/2015/11/config-node-select.gif)
37+
![](/blog/content/images/2015/11/config-node-select.gif)
3838

3939
This configuration node sidebar tab (accessed via the drop-down menu) has been updated to show the config nodes on the current tab as well as the global ones. The deploy warning when you have unused config nodes has also been updated to help indicate where exactly the nodes are.
4040

@@ -59,7 +59,7 @@ The TLS support is very much minimum viable solution at the moment - you can't s
5959

6060
### Node Updates
6161

62-
As ever, lots of the other nodes have had various updates.
62+
As ever, lots of the other nodes have had various updates.
6363

6464
- JSON node can encode Array types
6565
- Switch node regular expression rule can now be set to be case-insensitive
@@ -69,4 +69,3 @@ As ever, lots of the other nodes have had various updates.
6969
- CSV node can now handle arrays
7070
- setInterval/clearInterval added to Function node
7171
- Function node automatically clears all timers (setInterval/setTimeout) when the node is stopped
72-

Diff for: docs/api/admin/index.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ title: Admin API
66
This API can be used to remotely administer the runtime. It is used by the Node-RED
77
Editor and command-line tool
88

9-
- [Authentication](/docs/api/admin/oauth.html)
10-
- [Types](/docs/api/admin/types.html)
11-
- [Errors](/docs/api/admin/errors.html)
9+
- [Authentication](/docs/api/admin/oauth)
10+
- [Types](/docs/api/admin/types)
11+
- [Errors](/docs/api/admin/errors)
1212
- [Methods](/docs/api/admin/methods)
13-

Diff for: docs/configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Node-RED includes a default `settings.js` file that will be used in absence of a
1616
user-provided settings file. It can also be used as a starting point for creating
1717
your own settings file. It can be seen on GitHub [here](https://github.com/node-red/node-red/blob/master/settings.js).
1818

19-
When [embedded](embedding.html), they are passed in the call to `RED.init()`.
19+
When [embedded](embedding), they are passed in the call to `RED.init()`.
2020
However, when run in this mode, certain properties are ignored and are left to
2121
the embedding application to implement.
2222

@@ -109,7 +109,7 @@ httpNodeMiddleware
109109
### Editor Configuration
110110

111111
adminAuth
112-
: enables user-level security in the editor and admin API. See [security](security.html)
112+
: enables user-level security in the editor and admin API. See [security](security)
113113
for more information.
114114

115115
paletteCategories

Diff for: docs/creating-nodes/config-nodes.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ has no actual runtime behaviour.
6363
A common use of config nodes is to represent a shared connection to a remote
6464
system. In that instance, the config node may also be responsible for creating
6565
the connection and making it available to the nodes that use the config node. In
66-
such cases, the config node should also handle the [`close` event](node-js.html#closing-the-node)
66+
such cases, the config node should also handle the [`close` event](node-js#closing-the-node)
6767
to disconnect when the node is stopped.
6868

6969
### Using a config node
@@ -94,10 +94,10 @@ The node can then use this property to access the config node within the runtime
9494
module.exports = function(RED) {
9595
function MyNode(config) {
9696
RED.nodes.createNode(this,config);
97-
97+
9898
// Retrieve the config node
9999
this.server = RED.nodes.getNode(config.server);
100-
100+
101101
if (this.server) {
102102
// Do something with:
103103
// this.server.host
@@ -109,4 +109,3 @@ module.exports = function(RED) {
109109
RED.nodes.registerType("my-node",MyNode);
110110
}
111111
{% endhighlight %}
112-

Diff for: docs/creating-nodes/context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ globalContext.set("foo","bar"); // this is now available to other nodes
3838
##### Accessing context in a Function node
3939

4040
In the Function node, the `flow` and `global` context objects are made available
41-
a top-level objects. See [this section](/docs/writing-functions.html#storing-data)
41+
a top-level objects. See [this section](/docs/writing-functions#storing-data)
4242
for more information.

Diff for: docs/creating-nodes/i18n.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ console.log(RED._("myNode.message1"));
6666

6767
#### Status messages
6868

69-
If a node sends [status messages](status.html) to the editor, it should set the
69+
If a node sends [status messages](status) to the editor, it should set the
7070
`text` of the status as the message identifier.
7171

7272
{% highlight javascript %}

Diff for: docs/creating-nodes/images/bridge-dash.png

-101 Bytes
Loading

Diff for: docs/creating-nodes/index.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ The main way Node-RED can be extended is to add new nodes into its palette.
1010

1111
The following sections exist and are largely complete:
1212

13-
- [Creating your first node](first-node.html)
14-
- [JavaScript File](node-js.html)
15-
- [HTML File](node-html.html)
16-
- [Node context](context.html)
17-
- [Node properties](properties.html)
18-
- [Node appearance](appearance.html)
19-
- [Node status](status.html)
20-
- [Configuration nodes](config-nodes.html)
21-
- [Packaging](packaging.html)
13+
- [Creating your first node](first-node)
14+
- [JavaScript File](node-js)
15+
- [HTML File](node-html)
16+
- [Node context](context)
17+
- [Node properties](properties)
18+
- [Node appearance](appearance)
19+
- [Node status](status)
20+
- [Configuration nodes](config-nodes)
21+
- [Packaging](packaging)
2222

2323
To do:
2424

0 commit comments

Comments
 (0)