summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-08-19 08:31:42 -0400
committerJack Humbert <jack.humb@gmail.com>2017-08-19 08:31:54 -0400
commitd8145c846491c09fe7999871932cb4aa9725d1dd (patch)
treedc0e84b3f3b1b381aea1511171f7cfa2401c3ca2
parent81d7e7d4c8b99e032ce9423da56dba46f8bce18f (diff)
adds redirects for docs
-rw-r--r--book.json7
-rw-r--r--docs/redirects.json12
2 files changed, 18 insertions, 1 deletions
diff --git a/book.json b/book.json
index 09e1bfd94e..79206bf35a 100644
--- a/book.json
+++ b/book.json
@@ -8,7 +8,8 @@
8 "hints", 8 "hints",
9 "page-toc", 9 "page-toc",
10 "terminal", 10 "terminal",
11 "toolbar" 11 "toolbar",
12 "bulk-redirect"
12 ], 13 ],
13 "pluginsConfig": { 14 "pluginsConfig": {
14 "edit-link": { 15 "edit-link": {
@@ -35,6 +36,10 @@
35 "url": "https://github.com/qmk/qmk_firmware" 36 "url": "https://github.com/qmk/qmk_firmware"
36 } 37 }
37 ] 38 ]
39 },
40 "bulk-redirect": {
41 "basepath": "/",
42 "redirectsFile": "docs/redirects.json"
38 } 43 }
39 }, 44 },
40 "root": "./docs/" 45 "root": "./docs/"
diff --git a/docs/redirects.json b/docs/redirects.json
new file mode 100644
index 0000000000..e4b1259e76
--- /dev/null
+++ b/docs/redirects.json
@@ -0,0 +1,12 @@
1{
2 "redirects": [
3 {
4 "from": "build_environment_setup.html",
5 "to": "getting_started_build_tools.html"
6 },
7 {
8 "from": "make_instructions.html",
9 "to": "getting_started_make_guide.html"
10 },
11 ]
12} \ No newline at end of file