You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
2.4 KiB
Markdown

vault backup: 72 Affected files: Koala/.nojekyll Koala/README.md Koala/_sidebar.md Koala/atta/Pasted image 20220428153130.png Koala/atta/Pasted image 20220428153252.png Koala/atta/Pasted image 20220428153418.png Koala/atta/Pasted image 20220512111457.png Koala/atta/Pasted image 20220512113257.png Koala/atta/Pasted image 20220902181545.png Koala/atta/Pasted image 20220902182457.png Koala/atta/Pasted image 20220902182607.png Koala/atta/Pasted image 20220902183103.png Koala/atta/Pasted image 20220902183243.png Koala/atta/Pasted image 20220902183305.png Koala/atta/Pasted image 20220902183337.png Koala/atta/Pasted image 20220902183404.png Koala/atta/Pasted image 20220902183513.png Koala/atta/Pasted image 20220902183709.png Koala/atta/Pasted image 20220902183826.png Koala/atta/Pasted image 20220902184214.png Koala/atta/Pasted image 20220902184518.png Koala/atta/Pasted image 20220902184546.png Koala/atta/Pasted image 20220902185412.png Koala/atta/Screenshot_20220512_111531_com.android.mms.jpg Koala/atta/goods-category.png Koala/atta/goods-preview.gif Koala/atta/goods-pricesetting.png Koala/atta/goods-service.png Koala/atta/goods-serviceselect.png Koala/atta/goods-showprice.png Koala/atta/mechant-entry.png Koala/atta/order-confirm.png Koala/atta/pick_miniapp_setting.jpg Koala/atta/sahregoods-entry.png Koala/atta/sharegoods-allorders.png Koala/atta/sharegoods-cate-entry.png Koala/atta/sharegoods-category.png Koala/atta/sharegoods-list.png Koala/atta/sharegoods-my.png Koala/atta/sharegoods-orders.png Koala/atta/sharegoods-settings.png Koala/atta/yuque_diagram.jpg Koala/index.html Koala/后台说明/0. 管理员管理.md Koala/后台说明/商城管理/商品管理.md Koala/后台说明/商城管理/商城基本流程.md Koala/后台说明/商城管理/店铺装修/店铺装修.md Koala/后台说明/商城管理/店铺装修/跳转到其他商城小程序.md Koala/后台说明/平台商品/作为供应商.md Koala/后台说明/平台商品/作为经销商.md Koala/后台说明/配送设置.md Koala/后台说明/门店管理.md Koala/商家版/入口介绍.md Koala/商家版/订单发货,核销.md Koala/小程序使用说明/第五季旅游商城-小程序使用说明.md Koala/新订单短信提醒/说明和配置.md Koala/组合付款/README.md Platform/_sidebar.md Platform/index.html Platform/readme.md.md Platform/供应商付款/个人借款 - 退还, 清账单据.md Platform/供应商付款/付款申请和销账.md Platform/供应商付款/核账-工具.md Platform/财务/平台账单管理.md README.md atta/Image_20220812_002.png atta/Pasted image 20220816103331.png atta/Pasted image 20220921114505.png atta/Pasted image 20220923134141.png atta/URL_d8ccfa54cb4562f2346a3a8179d7a289 atta/商城基本流程.md atta/美团_v11.19.230.apk
3 years ago
---
_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 `<mark>${escapedText}</mark>`;
}
if (/^\%{2}/gm.test(text)) {
return `<!--`;
}
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
...
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
<script src="//unpkg.com/mermaid/dist/mermaid.js"></script>
<script src="//unpkg.com/docsify-mermaid@latest/dist/docsify-mermaid.js"></script>
<script>mermaid.initialize({ startOnLoad: true });</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
```
### 自定义导航
方法:
1. 创建 _sidebar.md
```md
* XX
* [XX1](xx1.md)
```
2. 使用docsify-cli 生成:
```sh
docsify generate <path> [--sidebar _sidebar.md]
# docsify g <path> [-s _sidebar.md]
# 当前目录:
# docsify g / -s _sidebar.md
```