aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.html13
-rw-r--r--docs/translating.md6
2 files changed, 17 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html
index d20fbd64a..5ca0fa6fa 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -21,7 +21,7 @@
21 <div id="app"></div> 21 <div id="app"></div>
22 <script> 22 <script>
23 window.$docsify = { 23 window.$docsify = {
24 alias : { 24 alias: {
25 '/en/(.*)': '/$1', 25 '/en/(.*)': '/$1',
26 '/en-us/(.*)': '/$1', 26 '/en-us/(.*)': '/$1',
27 '/en-gb/(.*)': '/$1', 27 '/en-gb/(.*)': '/$1',
@@ -29,7 +29,16 @@
29 }, 29 },
30 basePath: '/', 30 basePath: '/',
31 name: 'QMK Firmware', 31 name: 'QMK Firmware',
32 nameLink: '/', 32 nameLink: {
33 '/de/': '/#/de/',
34 '/es/': '/#/es/',
35 '/fr-fr/': '/#/fr-fr/',
36 '/he-il/': '/#/he-il/',
37 '/ja/': '/#/ja/',
38 '/ru-ru/': '/#/ru-ru/',
39 '/zh-cn/': '/#/zh-cn/',
40 '/': '/#/'
41 },
33 repo: 'qmk/qmk_firmware', 42 repo: 'qmk/qmk_firmware',
34 loadSidebar: '_summary.md', 43 loadSidebar: '_summary.md',
35 loadNavbar: '_langs.md', 44 loadNavbar: '_langs.md',
diff --git a/docs/translating.md b/docs/translating.md
index af37c08dc..436581759 100644
--- a/docs/translating.md
+++ b/docs/translating.md
@@ -32,6 +32,12 @@ Once you've finished translating a new language, you'll also need to modify the
32 '/zh-cn/': '没有结果!', 32 '/zh-cn/': '没有结果!',
33 ``` 33 ```
34 34
35 The `nameLink` object, for setting the "QMK Firmware" heading link in the sidebar, must also be added to:
36
37 ```js
38 '/zh-cn/': '/#/zh-cn/',
39 ```
40
35 And make sure to add the language folder in the `fallbackLanguages` list, so it will properly fall back to English instead of 404ing: 41 And make sure to add the language folder in the `fallbackLanguages` list, so it will properly fall back to English instead of 404ing:
36 42
37 ```js 43 ```js