]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Keep the previous extensions page link alive (#6127)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 12 Mar 2019 07:35:39 +0000 (08:35 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2019 07:35:39 +0000 (08:35 +0100)
Instead of a direct link, restore the extensions.md file which now redirects /notes/extensions.html to https://github.com/chartjs/awesome in case anyone bookmarked it / there were links to it.

book.json
docs/SUMMARY.md
docs/notes/extensions.md [new file with mode: 0644]

index 8b0f73970df020eaabf36d2ef04c7651ab9c0ca2..22acbde968c43d87b5fb4bd6a34aba985a7d1865 100644 (file)
--- a/book.json
+++ b/book.json
@@ -3,7 +3,15 @@
   "title": "Chart.js documentation",
   "author": "chartjs",
   "gitbook": "3.2.2",
-  "plugins": ["-lunr", "-search", "search-plus", "anchorjs", "chartjs", "ga"],
+  "plugins": [
+    "-lunr",
+    "-search",
+    "search-plus",
+    "anchorjs",
+    "chartjs",
+    "ga",
+    "redirect"
+  ],
   "pluginsConfig": {
     "anchorjs": {
       "icon": "#",
index f0beb678cdc8050d65f629b41ae4fe2ff763c90c..15265bd2b5a582438bfbeb65c82977ed00634f1c 100644 (file)
@@ -51,5 +51,5 @@
   * [Contributing](developers/contributing.md)
 * [Additional Notes](notes/README.md)
   * [Comparison Table](notes/comparison.md)
-  * [Popular Extensions](https://github.com/chartjs/awesome)
+  * [Popular Extensions](notes/extensions.md)
   * [License](notes/license.md)
diff --git a/docs/notes/extensions.md b/docs/notes/extensions.md
new file mode 100644 (file)
index 0000000..d66989b
--- /dev/null
@@ -0,0 +1 @@
+!REDIRECT "https://github.com/chartjs/awesome"