]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
adds redirects for docs
authorJack Humbert <jack.humb@gmail.com>
Sat, 19 Aug 2017 12:31:42 +0000 (08:31 -0400)
committerJack Humbert <jack.humb@gmail.com>
Sat, 19 Aug 2017 12:31:54 +0000 (08:31 -0400)
book.json
docs/redirects.json [new file with mode: 0644]

index 09e1bfd94e2e1cb1db6891013becee31ab40a9d8..79206bf35a4af2a888f0e40bf0a4e56f002c7f93 100644 (file)
--- a/book.json
+++ b/book.json
@@ -8,7 +8,8 @@
       "hints",
       "page-toc",
       "terminal",
-      "toolbar"
+      "toolbar",
+      "bulk-redirect"
     ],
     "pluginsConfig": {
       "edit-link": {
             "url": "https://github.com/qmk/qmk_firmware"
           }
         ]
+      }, 
+      "bulk-redirect": {
+          "basepath": "/",
+          "redirectsFile": "docs/redirects.json"
       }
     },
     "root": "./docs/"
diff --git a/docs/redirects.json b/docs/redirects.json
new file mode 100644 (file)
index 0000000..e4b1259
--- /dev/null
@@ -0,0 +1,12 @@
+{
+    "redirects": [
+            {
+                "from": "build_environment_setup.html",
+                "to": "getting_started_build_tools.html"
+            },
+            {
+                "from": "make_instructions.html",
+                "to": "getting_started_make_guide.html"
+            },
+        ]
+}
\ No newline at end of file