summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-08-19 14:31:42 +0200
committerJack Humbert <jack.humb@gmail.com>2017-08-19 14:31:54 +0200
commitd8145c846491c09fe7999871932cb4aa9725d1dd (patch)
treedc0e84b3f3b1b381aea1511171f7cfa2401c3ca2
parent81d7e7d4c8b99e032ce9423da56dba46f8bce18f (diff)
downloadqmk_firmware-d8145c846491c09fe7999871932cb4aa9725d1dd.tar.gz
qmk_firmware-d8145c846491c09fe7999871932cb4aa9725d1dd.tar.xz
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 09e1bfd94..79206bf35 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 000000000..e4b1259e7
--- /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