Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris.young@gotinder.com>2017-01-23 06:16:21 +0300
committerTobias Nießen <tniessen@tnie.de>2017-08-28 12:17:08 +0300
commitcacce304cbce79ff878aaedf946f16f03ec91b8a (patch)
tree36269b5edcd53f1e6ff080f3e1d09306045911f7 /doc/template.html
parent79773f8af940912264b55e5255db9f50e25ac16a (diff)
doc: add links to alternative versions of doc
Each page of the API documentation should have links to other versions of the same page. This will make it easier to switch between the current "live" release at nodejs.org and LTS versions. PR-URL: https://github.com/nodejs/node/pull/10958 Fixes: https://github.com/nodejs/node/issues/10726 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/template.html')
-rw-r--r--doc/template.html20
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/template.html b/doc/template.html
index 572197beff4..d65b56ca5e8 100644
--- a/doc/template.html
+++ b/doc/template.html
@@ -23,11 +23,21 @@
<header>
<h1>Node.js __VERSION__ Documentation</h1>
<div id="gtoc">
- <p>
- <a href="index.html" name="toc">Index</a> |
- <a href="all.html">View on single page</a> |
- <a href="__FILENAME__.json">View as JSON</a>
- </p>
+ <ul>
+ <li>
+ <a href="index.html" name="toc">Index</a> |
+ </li>
+ <li>
+ <a href="all.html">View on single page</a> |
+ </li>
+ <li>
+ <a href="__FILENAME__.json">View as JSON</a> |
+ </li>
+ <li class="version-picker">
+ <a href="#">View another version <span>&#x25bc;</span></a>
+ __ALTDOCS__
+ </li>
+ </ul>
</div>
<hr>
</header>