From 293646533cfd995ffa6a273fcc7ece78e09fcbb4 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 19 Dec 2022 17:56:30 +0800 Subject: [PATCH] vault backup: 7 Affected files: Koala/.nojekyll Koala/README.md Koala/_sidebar.md Koala/index.html Platform/index.html Platform/readme.md.md README.md --- Koala/.nojekyll | 0 Koala/README.md | 4 + Koala/_sidebar.md | 0 Koala/index.html | 136 +++++++++++++++++++++++++++++++++ Platform/index.html | 16 +--- Platform/readme.md.md | 2 + README.md | 169 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 314 insertions(+), 13 deletions(-) create mode 100644 Koala/.nojekyll create mode 100644 Koala/README.md create mode 100644 Koala/_sidebar.md create mode 100644 Koala/index.html create mode 100644 README.md diff --git a/Koala/.nojekyll b/Koala/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/Koala/README.md b/Koala/README.md new file mode 100644 index 0000000..9ba552f --- /dev/null +++ b/Koala/README.md @@ -0,0 +1,4 @@ + +# 农商旅平台 + +> 使用指南 diff --git a/Koala/_sidebar.md b/Koala/_sidebar.md new file mode 100644 index 0000000..e69de29 diff --git a/Koala/index.html b/Koala/index.html new file mode 100644 index 0000000..34c6e8f --- /dev/null +++ b/Koala/index.html @@ -0,0 +1,136 @@ + + + + + + Document + + + + + + + +
+ + + + + + + + + + + + + + diff --git a/Platform/index.html b/Platform/index.html index 2562f66..f510120 100644 --- a/Platform/index.html +++ b/Platform/index.html @@ -8,16 +8,11 @@ - - -
+ + + diff --git a/Platform/readme.md.md b/Platform/readme.md.md index 517e948..b76acf2 100644 --- a/Platform/readme.md.md +++ b/Platform/readme.md.md @@ -1,6 +1,7 @@ --- date created: 2022-06-23 12:09 date updated: 2022-08-10 10:18 +_Updated_: 2022-12-19 17:07 Mon --- ## DEV @@ -37,3 +38,4 @@ yarn start 1. 设置`*_tids`表的`update_flag`=1 2. [执行更新, 后端端口8360](http://192.168.7.55:8360/index/execQueue) + diff --git a/README.md b/README.md new file mode 100644 index 0000000..2019013 --- /dev/null +++ b/README.md @@ -0,0 +1,169 @@ +--- +_Created_: 2022-12-19 Mon +_Updated_: 2022-12-19 17:42 Mon +--- + +## 日志发布管理 + +[docsify](https://docsify.js.org/#/zh-cn/quickstart) + +```sh +npm i docsify-cli -g +docsify init +docsify serve +``` + +### 文档配置: + +```js + +window.$docsify = { + + name: 'XXX', + + // logo: '/logo1.jpg', + + repo: 'https://...', + + loadSidebar: true, + + alias: { + + '/.*/_sidebar.md': '/_sidebar.md' + + }, + + subMaxLevel: 3, + + auto2top: true, + + // search: 'auto', // 默认值 + + markdown: { + + renderer: { + + text: function (text) { + + if (/^==/g.test(text)) { + + const escapedText = text.toLowerCase().replace(/^==|==$/g, ''); + + return `${escapedText}`; + + } + + if (/^\%{2}/gm.test(text)) { + + return ``; + + } + + return text; + + }, + + } + + }, + + // 完整配置参数 + + search0: { // seach: + + maxAge: 86400000, // 过期时间,单位毫秒,默认一天 + + paths: [], // or 'auto' + + placeholder: '搜索', + + noData: '找不到结果!', + + + + // 搜索标题的最大层级, 1 - 6 + + depth: 6, + + + + hideOtherSidebarContent: true, // 是否隐藏其他侧边栏内容 + + + + // 避免搜索索引冲突 + + // 同一域下的多个网站之间 + + namespace: 'website-1', + + + + // 使用不同的索引作为路径前缀(namespaces) + + // 注意:仅适用于 paths: 'auto' 模式 + + // + + // 初始化索引时,我们从侧边栏查找第一个路径 + + // 如果它与列表中的前缀匹配,我们将切换到相应的索引 + + // pathNamespaces: ['/zh-cn', '/ru-ru', '/ru-ru/v1'], + + + + // 您可以提供一个正则表达式来匹配前缀。在这种情况下, + + // 匹配到的字符串将被用来识别索引 + + // pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/ + + }, + +} +``` + +### 插件支持 + +```html + +... + + + + + + + + + + +``` + +### 自定义导航 + +方法: + +1. 创建 _sidebar.md + +```md +* XX + * [XX1](xx1.md) +``` + +2. 使用docsify-cli 生成: + +```sh +docsify generate [--sidebar _sidebar.md] + +# docsify g [-s _sidebar.md] +# 当前目录: +# docsify g / -s _sidebar.md +```