chao 6 tháng trước cách đây
mục cha
commit
1f6414f319
4 tập tin đã thay đổi với 20 bổ sung10 xóa
  1. 6 0
      _navbar.md
  2. 11 7
      index.html
  3. 2 2
      md/CocoBlocklyPi.md
  4. 1 1
      md/_sidebar.md

+ 6 - 0
_navbar.md

@@ -0,0 +1,6 @@
+- Translations
+
+  - [图形化简体](https://pi-help.cocorobo.cn)
+  - [图形化繁体](https://pi-help.cocorobo.hk)
+  - [python 简体](/)
+  - [python 繁体](https://pi-help.cocorobo.hk)

+ 11 - 7
index.html

@@ -63,11 +63,15 @@
   <div id="app">Please wait...</div>
   <script>
     window.$docsify = {
+      // alias:{
+      //   '/.*/_navbar.md': '/_navbar.md',
+      // },
       name: 'CocoBlockly X Help',
       // repo: '',
       logo: '/media/help-logo.png',
       themeColor: '#225dd5',
       homepage: 'index.md',
+      loadNavbar: true,
       search: {
         maxAge: 86400000, // Expiration time, the default one day
         paths: 'auto', // or 'auto'
@@ -89,12 +93,12 @@
         depth: 6
       },
       ga: 'UA-110081781-1',
-      count: {
-        countable: true,
-        fontsize: '0.9em',
-        color: 'rgb(90,90,90)',
-        language: 'chinese'
-      },
+      // count: {
+      //   countable: true,
+      //   fontsize: '0.9em',
+      //   color: 'rgb(90,90,90)',
+      //   language: 'chinese'
+      // },
       auto2top: true,
       coverpage: true,
       loadSidebar: true,// 加载侧边栏
@@ -131,4 +135,4 @@
 <script src="./search.min.js"></script>
 <script src="./zoom-image.min.js"></script>
 <script src="./copyCode.js"></script>
-<script src="./countable.js"></script>
+<!-- <script src="./countable.js"></script> -->

+ 2 - 2
md/CocoBlocklyPi.md

@@ -1,8 +1,8 @@
 
-# 平台简介
+# python 编程平台简介
 CocoBlockly Pi是用于"CocoPi"硬件程序设计平台,可支持图形化与Python代码式两种程序设计环境。
 
-1.编程设计网站:<a href="https://pi.cocorobo.cn/python/" target="_blank">pi.cocorobo.cn</a>
+1.编程设计网站:<a href="https://pi.cocorobo.cn/python/" target="_blank">python 编程平台</a>
 
 <img src="../media/開始使用CocoBlocklyPi/417e343f-0f1a-477c-8217-93212756b6f0.png" width="750"/>
 

+ 1 - 1
md/_sidebar.md

@@ -1,7 +1,7 @@
 - 关于CocoPi
 
     - [硬件信息](index.md)
-	- [CocoBlockly Pi 编程平台简介](md/CocoBlocklyPi.md)
+	- [python 编程平台简介](md/CocoBlocklyPi.md)
 
 - 基础功能