adds redirects for docs

This commit is contained in:
Jack Humbert 2017-08-19 08:31:42 -04:00
parent 81d7e7d4c8
commit d8145c8464
2 changed files with 18 additions and 1 deletions

View file

@ -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/"

12
docs/redirects.json Normal file
View file

@ -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"
},
]
}