From d8145c846491c09fe7999871932cb4aa9725d1dd Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sat, 19 Aug 2017 08:31:42 -0400 Subject: [PATCH] adds redirects for docs --- book.json | 7 ++++++- docs/redirects.json | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 docs/redirects.json 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