Browse Source

加入各版本查看功能插件

LY 5 years ago
parent
commit
da12de497b
5 changed files with 41 additions and 1 deletions
  1. 8 0
      install/book.json
  2. 8 0
      operate/book.json
  3. 8 1
      police/book.json
  4. 8 0
      register/book.json
  5. 9 0
      zhapp/book.json

+ 8 - 0
install/book.json

@@ -145,6 +145,14 @@
             "fade": false,
             "style": "flat"
         },
+		"versions": {
+            "options": [
+                {
+                    "value": "http://sysdoc.rltest.cn/install",
+                    "text": "v1.2.7.4"
+                }
+            ]
+        },
         "rss": {
             "title": "GitBook 使用教程",
             "description": "记录 GitBook 的配置和一些插件的使用",

+ 8 - 0
operate/book.json

@@ -145,6 +145,14 @@
             "fade": false,
             "style": "flat"
         },
+		"versions": {
+            "options": [
+                {
+                    "value": "http://sysdoc.rltest.cn/operate",
+                    "text": "v1.2.7.4"
+                }
+            ]
+        },
         "rss": {
             "title": "GitBook 使用教程",
             "description": "记录 GitBook 的配置和一些插件的使用",

+ 8 - 1
police/book.json

@@ -145,7 +145,14 @@
             "fade": false,
             "style": "flat"
         },
-
+		"versions": {
+            "options": [
+                {
+                    "value": "http://sysdoc.rltest.cn/police",
+                    "text": "v1.2.7.4"
+                }
+            ]
+        },
         "rss": {
             "title": "GitBook 使用教程",
             "description": "记录 GitBook 的配置和一些插件的使用",

+ 8 - 0
register/book.json

@@ -145,6 +145,14 @@
             "fade": false,
             "style": "flat"
         },
+		"versions": {
+            "options": [
+                {
+                    "value": "http://sysdoc.rltest.cn/register",
+                    "text": "v1.2.7.4"
+                }
+            ]
+        },
         "rss": {
             "title": "GitBook 使用教程",
             "description": "记录 GitBook 的配置和一些插件的使用",

+ 9 - 0
zhapp/book.json

@@ -2,9 +2,18 @@
     "plugins": [ 
         "-sharing",
         "sharing-plus@^0.0.2",
+		"versions-select@^0.1.1",
         "lightbox"
     ],
     "pluginsConfig": {
+		"versions": {
+            "options": [
+                {
+                    "value": "http://sysdoc.rltest.cn/zhapp/",
+                    "text": "v1.2.7.4"
+                }
+            ]
+        },
         "sharing": {
             "douban": true,
             "qq": true,