diff --git a/config/config_en.json b/config/config_en.json index ed438f2dc0efbab3d7e6d90b0291002d57622c25..a66f4b9c69affe9aa3b234f500f5d3fe1da8460a 100644 --- a/config/config_en.json +++ b/config/config_en.json @@ -1,15 +1,16 @@ { "class": "language_en", + "locale": "en", "navbar": { "title": "QuecPython", "logo": { "alt": "teedoc logo", "src": "/static/image/quectel.png" }, - "home_url": "/", + "home_url": "/en/", "items": [ { - "url": "/doc/Quick_start/en/Quick_start.html", + "url": "/doc/Quick_start/en/index.html", "label": "The document overview", "position": "left" }, @@ -62,19 +63,7 @@ "id": "language", "label": "language: ", "position": "right", - "type": "selection", - "items": [ - { - "id": "zh", - "url": "/", - "label": "中文" - }, - { - "id": "en", - "url": "/en/", - "label": "English" - } - ] + "type": "language" } ] }, @@ -84,13 +73,13 @@ "label": "link", "items": [ { - "label": "Build with teedoc", - "url": "https://github.com/neutree/teedoc", + "label": "Site generated by teedoc", + "url": "https://teedoc.neucrack.com", "target": "_blank" }, { - "label": "Copyright © 2021 Neucrack", - "url": "https://neucrack.com", + "label": "Copyright © 2021 Quectel", + "url": "https://www.quectel.com/", "target": "_blank" } ] diff --git a/config/config_zh.json b/config/config_zh.json index f8eb6b651cd7b0209a80a4979353f051401843a7..8ac98582d158bfbced0bf6d588dcc9feda156a6c 100644 --- a/config/config_zh.json +++ b/config/config_zh.json @@ -1,5 +1,6 @@ { "class": "language_zh", + "locale": "zh", "navbar": { "title": "QuecPython", "logo": { @@ -9,7 +10,7 @@ "home_url": "/", "items": [ { - "url": "/doc/Quick_start/zh/Quick_start.html", + "url": "/doc/Quick_start/zh/index.html", "label": "文档简介", "position": "left" }, @@ -62,19 +63,7 @@ "id": "language", "label": "Language: ", "position": "right", - "type": "selection", - "items": [ - { - "id": "zh", - "url": "/", - "label": "中文" - }, - { - "id": "en", - "url": "/en/", - "label": "English" - } - ] + "type": "language" } ] }, @@ -84,13 +73,13 @@ "label": "链接", "items": [ { - "label": "使用 teedoc 构建", - "url": "https://github.com/neutree/teedoc", + "label": "网站使用 teedoc 生成", + "url": "https://teedoc.neucrack.com", "target": "_blank" }, { - "label": "Copyright © 2021 Neucrack", - "url": "https://neucrack.com", + "label": "Copyright © 2021 移远通信", + "url": "https://www.quectel.com/", "target": "_blank" } ] diff --git a/docs/Advanced_development/en/config.json b/docs/Advanced_development/en/config.json index ce6a268419a108000c778cc44f25708a46325fe8..2b8b74377d3d6a54dd1b42c37c98a52c27dad332 100644 --- a/docs/Advanced_development/en/config.json +++ b/docs/Advanced_development/en/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Advanced_development/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Advanced_development/en/", - "label": "English" - } - ] - } - ] - } + "name": "Advanced development" } \ No newline at end of file diff --git a/docs/Advanced_development/zh/config.json b/docs/Advanced_development/zh/config.json index ce6a268419a108000c778cc44f25708a46325fe8..5c944f20acc087b7e6799f7623e64b2c422d2d14 100644 --- a/docs/Advanced_development/zh/config.json +++ b/docs/Advanced_development/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Advanced_development/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Advanced_development/en/", - "label": "English" - } - ] - } - ] - } + "name": "进阶开发" } \ No newline at end of file diff --git a/docs/FAQ/en/config.json b/docs/FAQ/en/config.json index 5bf747e8ef2824027ab5cc38009254f8fdcf284a..4fee700a00ab7b65515f7600beadc9241d7a5c44 100644 --- a/docs/FAQ/en/config.json +++ b/docs/FAQ/en/config.json @@ -1,24 +1,4 @@ { "import": "config_en", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/FQA/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/FQA/en/", - "label": "English" - } - ] - } - ] - } + "name": "FAQ" } \ No newline at end of file diff --git a/docs/FAQ/zh/config.json b/docs/FAQ/zh/config.json index e4774598aadad1ddb81270078b2f24592283fa40..75b41fa40e28dea79a601449ed5846c183d25e4f 100644 --- a/docs/FAQ/zh/config.json +++ b/docs/FAQ/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/FQA/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/FQA/en/", - "label": "English" - } - ] - } - ] - } + "name": "FAQ 常见问题" } \ No newline at end of file diff --git a/docs/Product_case/en/config.json b/docs/Product_case/en/config.json index c10df20945131cb903d90817c186b9465cada08e..d07c1657cbb9d45620ab729b16bd5f535a3485fa 100644 --- a/docs/Product_case/en/config.json +++ b/docs/Product_case/en/config.json @@ -1,24 +1,4 @@ { "import": "config_en", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Product_case/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Product_case/en/", - "label": "English" - } - ] - } - ] - } + "name": "Product case" } \ No newline at end of file diff --git a/docs/Product_case/zh/config.json b/docs/Product_case/zh/config.json index c0777abb2b018b2dad051362fa44a4ff66f62e83..fa7b6c2389753312ee0bbf0b36edf9866a358ecb 100644 --- a/docs/Product_case/zh/config.json +++ b/docs/Product_case/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Product_case/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Product_case/en/", - "label": "English" - } - ] - } - ] - } + "name": "产品案例" } \ No newline at end of file diff --git a/docs/Quecpython_intro/en/config.json b/docs/Quecpython_intro/en/config.json index c078588621dc22f53eeded166caa5688a6f5ef83..4f645892e59f99a742119295016e60d51f70ffaa 100644 --- a/docs/Quecpython_intro/en/config.json +++ b/docs/Quecpython_intro/en/config.json @@ -1,24 +1,4 @@ { "import": "config_en", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Quecpython_intro/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Quecpython_intro/en/", - "label": "English" - } - ] - } - ] - } + "name": "Quecpython introduction" } \ No newline at end of file diff --git a/docs/Quecpython_intro/zh/config.json b/docs/Quecpython_intro/zh/config.json index 02bdc1004a34362942ec6e65121230bcd6330f8a..db6bbb0a2b6cf97bf409c8ff21a315e24ed5391f 100644 --- a/docs/Quecpython_intro/zh/config.json +++ b/docs/Quecpython_intro/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Quecpython_intro/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Quecpython_intro/en/", - "label": "English" - } - ] - } - ] - } + "name": "产品介绍" } \ No newline at end of file diff --git a/docs/Quick_start/en/config.json b/docs/Quick_start/en/config.json index 57c39040ddfe66cf15c0b69670ff0453c18c8475..998a22b96de414b31d8f30835d9ca684d3124526 100644 --- a/docs/Quick_start/en/config.json +++ b/docs/Quick_start/en/config.json @@ -1,24 +1,4 @@ { "import": "config_en", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Quick_start/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Quick_start/en/", - "label": "English" - } - ] - } - ] - } + "name": "Quick start" } \ No newline at end of file diff --git a/docs/Quick_start/zh/config.json b/docs/Quick_start/zh/config.json index 667b3e61a97747ee57cd4ac047b4c418e50b09fd..84fb0f4ddc4d626d6b78f76f62df225bbdb66ba3 100755 --- a/docs/Quick_start/zh/config.json +++ b/docs/Quick_start/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "/doc/Quick_start/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "/doc/Quick_start/en/", - "label": "English" - } - ] - } - ] - } + "name": "快速开始" } \ No newline at end of file diff --git a/docs/sbs/en/config.json b/docs/sbs/en/config.json index 91f378176713a497624b6d516327454c8605ba9a..a69eca23fcdb998799583c7297ae5880951f52af 100644 --- a/docs/sbs/en/config.json +++ b/docs/sbs/en/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "doc/sbs/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "doc/sbs/en/", - "label": "English" - } - ] - } - ] - } + "name": "Tutorial" } \ No newline at end of file diff --git a/docs/sbs/zh/config.json b/docs/sbs/zh/config.json index 91f378176713a497624b6d516327454c8605ba9a..024b2e9f53f0c31f26f24f53a5d15f614786ecd9 100644 --- a/docs/sbs/zh/config.json +++ b/docs/sbs/zh/config.json @@ -1,24 +1,4 @@ { "import": "config_zh", - "navbar": { - "items": [ - { - "id": "language", - "label": "Language: ", - "position": "right", - "items": [ - { - "id": "zh", - "url": "doc/sbs/zh/", - "label": "中文" - }, - { - "id": "en", - "url": "doc/sbs/en/", - "label": "English" - } - ] - } - ] - } + "name": "基础教程" } \ No newline at end of file diff --git a/pages/index/en/404.md b/pages/index/en/404.md index 294b93a37163ded2d8dbfb4df62ca21472762fb9..4ba9fd04c51c42857fa984c05740cc9f2cbf6e81 100644 --- a/pages/index/en/404.md +++ b/pages/index/en/404.md @@ -1,3 +1,4 @@ +--- +layout: 404 +--- - -