Browse Source

👍 add app

master
Boom 1 year ago
parent
commit
751b980665
  1. 51
      README.md
  2. 6
      docs/app/start.md
  3. 6
      docs/app/test.md
  4. 6
      docs/bxg/start.md
  5. 12
      docs/intro.md
  6. 9
      docs/odoo/start.md
  7. 0
      docs/zsw/banner_settings.md
  8. 0
      docs/zsw/cashier_system/_category_.json
  9. 0
      docs/zsw/cashier_system/img/image-1.png
  10. 0
      docs/zsw/cashier_system/img/image-2.png
  11. 0
      docs/zsw/cashier_system/img/image-3.png
  12. 0
      docs/zsw/cashier_system/img/image-4.png
  13. 0
      docs/zsw/cashier_system/img/image-5.png
  14. 0
      docs/zsw/cashier_system/img/image.png
  15. 0
      docs/zsw/cashier_system/img/image1.png
  16. 0
      docs/zsw/cashier_system/img/image7.png
  17. 0
      docs/zsw/cashier_system/inventory.md
  18. 0
      docs/zsw/cashier_system/login.md
  19. 0
      docs/zsw/cashier_system/order process.md
  20. 0
      docs/zsw/coupon.md
  21. 0
      docs/zsw/goods/_category_.json
  22. 0
      docs/zsw/goods/details.md
  23. 0
      docs/zsw/goods/img/details1.png
  24. 0
      docs/zsw/goods/img/details2.png
  25. 0
      docs/zsw/goods/img/good.dat
  26. 0
      docs/zsw/goods/img/spec1.dat
  27. 0
      docs/zsw/goods/img/spec2.dat
  28. 0
      docs/zsw/goods/img/spec3.png
  29. 0
      docs/zsw/goods/img/spec4.png
  30. 0
      docs/zsw/goods/info.md
  31. 0
      docs/zsw/goods/spec.md
  32. 0
      docs/zsw/gusangyuan.md
  33. 0
      docs/zsw/img/banner1.png
  34. 0
      docs/zsw/img/banner2.png
  35. 0
      docs/zsw/img/gsy-1.png
  36. 0
      docs/zsw/img/gsy-2.png
  37. 0
      docs/zsw/img/gsy-3.png
  38. 0
      docs/zsw/img/image-1.png
  39. 0
      docs/zsw/img/image.png
  40. 0
      docs/zsw/img/image10.png
  41. 0
      docs/zsw/img/image3.png
  42. 0
      docs/zsw/img/image4.png
  43. 0
      docs/zsw/img/image5.png
  44. 0
      docs/zsw/img/image6.png
  45. 0
      docs/zsw/img/image7.png
  46. 0
      docs/zsw/img/image8.png
  47. 0
      docs/zsw/img/image9.png
  48. 0
      docs/zsw/img/login.dat
  49. 0
      docs/zsw/img/order1.png
  50. 0
      docs/zsw/img/order5.png
  51. 0
      docs/zsw/img/ques-1.png
  52. 0
      docs/zsw/img/ques-2.png
  53. 0
      docs/zsw/img/ques-3.png
  54. 0
      docs/zsw/img/ques-4.png
  55. 0
      docs/zsw/img/ques.png
  56. 0
      docs/zsw/img/sts3.png
  57. 25
      docs/zsw/intro.md
  58. 0
      docs/zsw/login.md
  59. 0
      docs/zsw/order.md
  60. 0
      docs/zsw/product _catalog.md
  61. 0
      docs/zsw/promotion.md
  62. 0
      docs/zsw/ques_tickets.md
  63. 0
      docs/zsw/store_settings.md
  64. 82
      docusaurus.config.js
  65. 32
      sidebars.js
  66. 4
      src/pages/index.js

51
README.md

@ -1,41 +1,10 @@
# Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
```
### Local Development
```
$ yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
### Build
```
$ yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
### Deployment
Using SSH:
```
$ USE_SSH=true yarn deploy
```
Not using SSH:
```
$ GIT_USER=<Your GitHub username> yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
# 文档系统
- 使用git克隆检出
- npm i 安装依赖
- npm start启动
- 支持热更新
- 图片请放在文档目录下对应的images目录,并维护好目录顺序
- 请尽量注意格式 使用英文翻译命名
- 文档长期更新 共同参与
- 博客和单页暂时不动

6
docs/app/start.md

@ -0,0 +1,6 @@
---
sidebar_position: 0
sidebar_label: App
title: App
---
## 回乡平台端设置

6
docs/app/test.md

@ -0,0 +1,6 @@
---
sidebar_position: 0
sidebar_label: 开始
title: 开始
---
## 回乡平台端设置

6
docs/bxg/start.md

@ -0,0 +1,6 @@
---
sidebar_position: 0
sidebar_label: 一心回乡小程序后台
title: 一心回乡小程序后台
---
## **一心回乡小程序后台**

12
docs/intro.md

@ -1,12 +0,0 @@
---
sidebar_position: 1
sidebar_label: 帮助首页
---
## 页面帮助
```
正文从这里开始
```
[页面顶部标签集合](https://docusaurus.io/zh-CN/docs/api/plugins/@docusaurus/plugin-content-docs#sidebar_label)

9
docs/odoo/start.md

@ -0,0 +1,9 @@
---
sidebar_position: 0
sidebar_label: Odoo
title: Odoo
---
## **Odoo**
Odoo 是基于 Python 写的一系列开源商业应用程序套装,前身是 OpenERP。
此套装可满足中小型企业的一切应用需求,例如,企业基本的进销存、采购、销售、MRP 生产制造、品保质量保障、企业招聘、员工合同、休假、午餐管理、内部论坛、车队管理、内部聊天 IM 沟通、客诉追溯管理、CRM 客户关系管理、VOIP、E-Shop 电子商务、网店、企业官方网站,财务会计、银行对账、资产管理、HR 工资管理、预算管理、WMS 仓库库存管理、POS 街边小摊、社区商店、项目管理、条码、PLM 等等

0
docs/banner_settings.md → docs/zsw/banner_settings.md

0
docs/cashier_system/_category_.json → docs/zsw/cashier_system/_category_.json

0
docs/cashier_system/img/image-1.png → docs/zsw/cashier_system/img/image-1.png

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

0
docs/cashier_system/img/image-2.png → docs/zsw/cashier_system/img/image-2.png

Before

Width:  |  Height:  |  Size: 462 KiB

After

Width:  |  Height:  |  Size: 462 KiB

0
docs/cashier_system/img/image-3.png → docs/zsw/cashier_system/img/image-3.png

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

0
docs/cashier_system/img/image-4.png → docs/zsw/cashier_system/img/image-4.png

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

0
docs/cashier_system/img/image-5.png → docs/zsw/cashier_system/img/image-5.png

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

0
docs/cashier_system/img/image.png → docs/zsw/cashier_system/img/image.png

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

0
docs/cashier_system/img/image1.png → docs/zsw/cashier_system/img/image1.png

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

0
docs/cashier_system/img/image7.png → docs/zsw/cashier_system/img/image7.png

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

0
docs/cashier_system/inventory.md → docs/zsw/cashier_system/inventory.md

0
docs/cashier_system/login.md → docs/zsw/cashier_system/login.md

0
docs/cashier_system/order process.md → docs/zsw/cashier_system/order process.md

0
docs/coupon.md → docs/zsw/coupon.md

0
docs/goods/_category_.json → docs/zsw/goods/_category_.json

0
docs/goods/details.md → docs/zsw/goods/details.md

0
docs/goods/img/details1.png → docs/zsw/goods/img/details1.png

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

0
docs/goods/img/details2.png → docs/zsw/goods/img/details2.png

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
docs/goods/img/good.dat → docs/zsw/goods/img/good.dat

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

0
docs/goods/img/spec1.dat → docs/zsw/goods/img/spec1.dat

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

0
docs/goods/img/spec2.dat → docs/zsw/goods/img/spec2.dat

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

0
docs/goods/img/spec3.png → docs/zsw/goods/img/spec3.png

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
docs/goods/img/spec4.png → docs/zsw/goods/img/spec4.png

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

0
docs/goods/info.md → docs/zsw/goods/info.md

0
docs/goods/spec.md → docs/zsw/goods/spec.md

0
docs/gusangyuan.md → docs/zsw/gusangyuan.md

0
docs/img/banner1.png → docs/zsw/img/banner1.png

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 245 KiB

0
docs/img/banner2.png → docs/zsw/img/banner2.png

Before

Width:  |  Height:  |  Size: 335 KiB

After

Width:  |  Height:  |  Size: 335 KiB

0
docs/img/gsy-1.png → docs/zsw/img/gsy-1.png

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 293 KiB

0
docs/img/gsy-2.png → docs/zsw/img/gsy-2.png

Before

Width:  |  Height:  |  Size: 292 KiB

After

Width:  |  Height:  |  Size: 292 KiB

0
docs/img/gsy-3.png → docs/zsw/img/gsy-3.png

Before

Width:  |  Height:  |  Size: 226 KiB

After

Width:  |  Height:  |  Size: 226 KiB

0
docs/img/image-1.png → docs/zsw/img/image-1.png

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

0
docs/img/image.png → docs/zsw/img/image.png

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

0
docs/img/image10.png → docs/zsw/img/image10.png

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

0
docs/img/image3.png → docs/zsw/img/image3.png

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

0
docs/img/image4.png → docs/zsw/img/image4.png

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

0
docs/img/image5.png → docs/zsw/img/image5.png

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

0
docs/img/image6.png → docs/zsw/img/image6.png

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

0
docs/img/image7.png → docs/zsw/img/image7.png

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

0
docs/img/image8.png → docs/zsw/img/image8.png

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

0
docs/img/image9.png → docs/zsw/img/image9.png

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

0
docs/img/login.dat → docs/zsw/img/login.dat

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

0
docs/img/order1.png → docs/zsw/img/order1.png

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

0
docs/img/order5.png → docs/zsw/img/order5.png

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

0
docs/img/ques-1.png → docs/zsw/img/ques-1.png

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

0
docs/img/ques-2.png → docs/zsw/img/ques-2.png

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
docs/img/ques-3.png → docs/zsw/img/ques-3.png

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

0
docs/img/ques-4.png → docs/zsw/img/ques-4.png

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 129 KiB

0
docs/img/ques.png → docs/zsw/img/ques.png

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

0
docs/img/sts3.png → docs/zsw/img/sts3.png

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

25
docs/zsw/intro.md

@ -0,0 +1,25 @@
---
sidebar_position: 1
sidebar_label: 帮助首页
title: 帮助
---
## 开始
- 使用git克隆检出
```
git clone https://git.lotus-wallet.com/Loki/zsw-docs.git
```
- npm i
- npm start
- 编写过程支持热更新
- 图片请放在文档目录下对应的images目录,并维护好目录顺序
- 请尽量注意格式 使用英文翻译命名
- 文档长期更新 共同参与
### 官方帮助文档
[标签集合](https://docusaurus.io/zh-CN/docs/api/plugins/@docusaurus/plugin-content-docs#sidebar_label)
[github](https://github.com/facebook/docusaurus.git)

0
docs/login.md → docs/zsw/login.md

0
docs/order.md → docs/zsw/order.md

0
docs/product _catalog.md → docs/zsw/product _catalog.md

0
docs/promotion.md → docs/zsw/promotion.md

0
docs/ques_tickets.md → docs/zsw/ques_tickets.md

0
docs/store_settings.md → docs/zsw/store_settings.md

82
docusaurus.config.js

@ -6,8 +6,8 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: '文档',
tagline: 'power by 恐龙',
title: '回乡文档',
// tagline: 'power by 恐龙',
favicon: 'img/favicon.ico',
// Set the production url of your site here
@ -37,20 +37,20 @@ const config = {
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
// docs: {
// sidebarPath: require.resolve('./sidebars.js'),
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// editUrl:
// 'https://git.lotus-wallet.com/zyh/docs',
// },
// blog: {
// showReadingTime: true,
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// editUrl:
// 'https://git.lotus-wallet.com/zyh/docs',
// },
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://git.lotus-wallet.com/Loki/zsw-docs/src/branch/master',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://git.lotus-wallet.com/Loki/zsw-docs/src/branch/master',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
@ -64,7 +64,7 @@ const config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: '回乡门店软件运营文档',
title: '回乡信息-软件使用文档',
logo: {
alt: 'Log',
src: 'img/logo.svg',
@ -72,16 +72,38 @@ const config = {
items: [
{
type: 'docSidebar',
sidebarId: 'defaultSidebar',
sidebarId: 'tenantSidebar',
position: 'left',
label: '回乡商家端',
},
{
type: 'docSidebar',
sidebarId: 'appSidebar',
position: 'left',
label: '回乡App管理端',
},
{
type: 'docSidebar',
sidebarId: 'odooSidebar',
position: 'left',
label: '开始',
label: 'Odoo操作指南',
},
{
type: 'docSidebar',
sidebarId: 'bxgSidebar',
position: 'left',
label: '一心回乡小程序',
},
// {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'http://www.yixinhuixiang.com',
label: '一心回乡',
position: 'right',
},
{to: '/blog', label: 'Blog', position: 'left'},
// {
// href: 'https://github.com/facebook/docusaurus',
// label: 'GitHub',
// position: 'right',
// },
],
},
footer: {
@ -91,9 +113,17 @@ const config = {
title: '帮助',
items: [
{
label: '开始',
label: '回乡门店',
to: '/docs/intro',
},
{
label: '回乡APP',
to: '/app/start',
},
{
label: 'Odoo',
to: '/odoo/start',
},
],
},
{

32
sidebars.js

@ -13,21 +13,31 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
tenantSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
type: 'autogenerated',
dirName: 'zsw'
},
],
appSidebar: [
{
type: 'autogenerated',
dirName: 'app',
},
],
odooSidebar: [
{
type: 'autogenerated',
dirName: 'odoo',
},
],
bxgSidebar: [
{
type: 'autogenerated',
dirName: 'bxg',
},
],
*/
};
module.exports = sidebars;

4
src/pages/index.js

@ -17,8 +17,8 @@ function HomepageHeader() {
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus 教程 - 5分钟
to="/docs/zsw/intro">
门店后台文档
</Link>
</div>
</div>

Loading…
Cancel
Save