summaryrefslogtreecommitdiffstats
path: root/docs/index.html
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2020-03-01 08:57:26 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2020-03-05 16:00:10 -0800
commit961477c791195ebf2d4c1f533807cb46c194d939 (patch)
treefbea653155e884505beedddc10a6003622fb6228 /docs/index.html
parent6956784ac1ae1a48e42ca0a695b7c666abd52846 (diff)
make sure all our redirects are in order
Diffstat (limited to 'docs/index.html')
-rw-r--r--docs/index.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html
index 3ab8f78461..4351ce1dd4 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -23,10 +23,26 @@
<script>
window.$docsify = {
alias: {
+ // Translation aliases
'/en/(.*)': '/$1',
'/en-us/(.*)': '/$1',
'/en-gb/(.*)': '/$1',
'/.*/_langs.md': '/_langs.md',
+
+ // Moved pages
+ '/adding_a_keyboard_to_qmk': '/hardware_keyboard_guidelines',
+ '/build_environment_setup': '/getting_started_build_tools',
+ '/dynamic_macros': '/feature_dynamic_macros',
+ '/feature_common_shortcuts': '/feature_advanced_keycodes',
+ '/glossary': '/reference_glossary',
+ '/key_lock': '/feature_key_lock',
+ '/make_instructions': '/getting_started_make_guide',
+ '/porting_your_keyboard_to_qmk': '/hardware_avr',
+ '/space_cadet_shift': '/feature_space_cadet_shift',
+ '/getting_started_getting_help': '/support',
+ '/tap_dance': '/feature_tap_dance',
+ '/unicode': '/feature_unicode',
+ '/python_development': '/cli_development',
},
basePath: '/',
name: 'QMK Firmware',
@@ -136,7 +152,8 @@
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-makefile.min.js"></script>
<script>
- // Register the offline cache worker
+ // Register the cache worker for offline viewing mode
+ // https://docsify.now.sh/pwa
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}