Skip to content

Commit

Permalink
adds redirects for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Aug 19, 2017
1 parent 81d7e7d commit d8145c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"hints",
"page-toc",
"terminal",
"toolbar"
"toolbar",
"bulk-redirect"
],
"pluginsConfig": {
"edit-link": {
Expand All @@ -35,6 +36,10 @@
"url": "https://github.com/qmk/qmk_firmware"
}
]
},
"bulk-redirect": {
"basepath": "/",
"redirectsFile": "docs/redirects.json"
}
},
"root": "./docs/"
Expand Down
12 changes: 12 additions & 0 deletions docs/redirects.json
Original file line number Diff line number Diff line change
@@ -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"
},
]
}

0 comments on commit d8145c8

Please sign in to comment.