summaryrefslogtreecommitdiffstats
path: root/docs/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.html')
-rw-r--r--docs/index.html30
1 files changed, 26 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html
index d2ba99897c..9b33cd263a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -21,7 +21,7 @@
<div id="app"></div>
<script>
window.$docsify = {
- alias : {
+ alias: {
'/en/(.*)': '/$1',
'/en-us/(.*)': '/$1',
'/en-gb/(.*)': '/$1',
@@ -29,12 +29,32 @@
},
basePath: '/',
name: 'QMK Firmware',
- nameLink: '/',
+ nameLink: {
+ '/de/': '/#/de/',
+ '/es/': '/#/es/',
+ '/fr-fr/': '/#/fr-fr/',
+ '/he-il/': '/#/he-il/',
+ '/ja/': '/#/ja/',
+ '/pt-br/': '/#/pt-br/',
+ '/ru-ru/': '/#/ru-ru/',
+ '/zh-cn/': '/#/zh-cn/',
+ '/': '/#/'
+ },
repo: 'qmk/qmk_firmware',
loadSidebar: '_summary.md',
loadNavbar: '_langs.md',
mergeNavbar: true,
auto2top: true,
+ fallbackLanguages: [
+ 'de',
+ 'es',
+ 'fr-fr',
+ 'he-il',
+ 'ja',
+ 'pt-br',
+ 'ru-ru',
+ 'zh-cn'
+ ],
formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
search: {
paths: 'auto',
@@ -42,12 +62,14 @@
'/es/': 'Buscar',
'/zh-cn/': '搜索',
'/ja/': '検索',
+ '/pt-br/': 'Busca',
'/': 'Search'
},
noData: {
'/es/': '¡Ningún resultado!',
'/zh-cn/': '没有结果!',
'/ja/': '見つかりません!',
+ '/pt-br/': 'Nenhum resultado!',
'/': 'No results!'
},
depth: 6
@@ -60,9 +82,9 @@
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
- url = 'https://github.com/qmk/qmk_firmware/blob/master/docs/' + vm.route.file
+ url = 'https://github.com/qmk/qmk_firmware/edit/master/docs/' + vm.route.file
}
- var editHtml = '[:memo: Edit Document](' + url + ')\n'
+ var editHtml = ':pencil2: [Edit this page](' + url + ')\n'
return html
+ '\n\n----\n\n'
+ editHtml