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", "hints",
"page-toc", "page-toc",
"terminal", "terminal",
"toolbar" "toolbar",
"bulk-redirect"
], ],
"pluginsConfig": { "pluginsConfig": {
"edit-link": { "edit-link": {
@ -35,6 +36,10 @@
"url": "https://github.com/qmk/qmk_firmware" "url": "https://github.com/qmk/qmk_firmware"
} }
] ]
},
"bulk-redirect": {
"basepath": "/",
"redirectsFile": "docs/redirects.json"
} }
}, },
"root": "./docs/" "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"
},
]
}