summaryrefslogtreecommitdiffstats
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 @@
"hints",
"page-toc",
"terminal",
- "toolbar"
+ "toolbar",
+ "bulk-redirect"
],
"pluginsConfig": {
"edit-link": {
@@ -35,6 +36,10 @@
"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
index 0000000000..e4b1259e76
--- /dev/null
+++ b/docs/redirects.json
@@ -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