Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 5e46b36

Browse files
authored
docs: update (#345)
* docs: re-structure && update
1 parent fcbfb01 commit 5e46b36

File tree

106 files changed

+584
-329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+584
-329
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ English | [中文](https://github.com/coderplanets/coderplanets_web/blob/docs/RE
1717

1818
- [Architecture](docs/architecture)
1919
- [intro](docs/architecture/intro.md)
20+
- [convention](docs/architecture/convention.md)
2021
- [General](docs/general)
2122
- [Generator](docs/general/generator.md)
22-
- [PWA](docs/general/pwa.md)
23+
- [SEO](docs/general/seo.md)
24+
- [Cache](docs/general/cache.md)
2325
- [debugging](docs/general/debugging.md)
24-
- [Env](docs/general/env.md)
2526
- [Deployment](docs/general/deployment.md)
26-
- [SEO](docs/general/seo.md)
27+
- [Develop](docs/general/develop.md)
28+
- [PWA](docs/general/pwa.md)
2729
- [Styling](docs/styling/intro.md)
2830
- [Intro](docs/styling/intro.md)
2931
- [Styled-Component](docs/styling/styled-component.md)
@@ -32,7 +34,8 @@ English | [中文](https://github.com/coderplanets/coderplanets_web/blob/docs/RE
3234
- [Intro](docs/js/intro.md)
3335
- [GraphQL](docs/js/GrqphQL.md)
3436
- [State Management](docs/js/state-management.md)
35-
- [Network](docs/js/network.md)
37+
- [Auth](docs/js/auth.md)
38+
- [Async](docs/js/async.md)
3639
- [I18n](docs/js/i18n.md)
3740
- [Routing](docs/js/routing.md)
3841
- [Testing](docs/testing)

README.zh-CN.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717

1818
- [整体架构](docs/architecture)
1919
- [介绍](docs/architecture/intro.zh-CN.md)
20+
- [惯例](docs/architecture/convention.zh-CN.md)
2021
- [概论](docs/general)
2122
- [生成器](docs/general/generator.zh-CN.md)
22-
- [PWA](docs/general)
23-
- [调试](docs/general/debugging.zh-CN.md)
24-
- [环境](docs/general/env.zh-CN.md)
25-
- [开发](docs/general/deployment.zh-CN.md)
2623
- [SEO](docs/general/seo.zh-CN.md)
24+
- [缓存](docs/general/cache.zh-CN.md)
25+
- [调试](docs/general/debugging.zh-CN.md)
26+
- [部署](docs/general/deployment.zh-CN.md)
27+
- [开发](docs/general/develop.zh-CN.md)
28+
- [PWA](docs/general/pwa.zh-CN.md)
2729
- [样式](docs/styling/intro.zh-CN.md)
2830
- [介绍](docs/styling/intro.zh-CN.md)
2931
- [Styled-Component](docs/styling/styled-component.zh-CN.md)
@@ -32,12 +34,14 @@
3234
- [介绍](docs/js/intro.zh-CN.md)
3335
- [GraphQL](docs/js/GrqphQL.zh-CN.md)
3436
- [状态管理](docs/js/state-management.zh-CN.md)
35-
- [网络](docs/js/network.zh-CN.md)
37+
- [权限机制](docs/js/auth.zh-CN.md)
38+
- [异步处理](docs/js/async.zh-CN.md)
39+
- [组件通信](docs/js/communication.zh-CN.md)
3640
- [I18n](docs/js/i18n.zh-CN.md)
3741
- [路由](docs/js/routing.zh-CN.md)
3842
- [测试](docs/testing)
3943
- [单元测试](docs/testing/unit-testing.zh-CN.md)
40-
- [段对端测试](docs/testing/e2e-testing.zh-CN.md)
44+
- [端对端测试](docs/testing/e2e-testing.zh-CN.md)
4145
- [统计分析](docs/analysis)
4246
- [Apollo 引擎](docs/analysis/apollo-engine.zh-CN.md)
4347
- [错误追踪](docs/analysis/error-tracking.zh-CN.md)

containers/AccountEditor/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
errRescue,
1616
} from 'utils'
1717

18-
import SR71 from 'utils/network/sr71'
18+
import SR71 from 'utils/async/sr71'
1919
import { S, updateFields } from './schema'
2020

2121
const sr71$ = new SR71()

containers/AccountViewer/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
errRescue,
1313
} from 'utils'
1414

15-
import SR71 from 'utils/network/sr71'
15+
import SR71 from 'utils/async/sr71'
1616
import S from './schema'
1717

1818
/* eslint-disable-next-line */

containers/ArticleAuthorCard/logic.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// import R from 'ramda'
2+
23
import {
34
makeDebugger,
45
$solver,
@@ -10,7 +11,7 @@ import {
1011
errRescue,
1112
} from 'utils'
1213

13-
import SR71 from 'utils/network/sr71'
14+
import SR71 from 'utils/async/sr71'
1415
import S from './schema'
1516

1617
const sr71$ = new SR71()

containers/ArticleBanner/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
errRescue,
1414
} from 'utils'
1515

16-
import SR71 from 'utils/network/sr71'
16+
import SR71 from 'utils/async/sr71'
1717
import S from './schema'
1818

1919
const sr71$ = new SR71({

containers/ArticleBodyHeader/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
errRescue,
1515
} from 'utils'
1616

17-
import SR71 from 'utils/network/sr71'
17+
import SR71 from 'utils/async/sr71'
1818
import S from './schema'
1919

2020
const sr71$ = new SR71()

containers/ArticleViewerHeader/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
errRescue,
1414
} from 'utils'
1515

16-
import SR71 from 'utils/network/sr71'
16+
import SR71 from 'utils/async/sr71'
1717
import S from './schema'
1818

1919
/* eslint-disable-next-line */

containers/AvatarAdder/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
githubApi,
99
errRescue,
1010
} from 'utils'
11-
import SR71 from 'utils/network/sr71'
11+
import SR71 from 'utils/async/sr71'
1212

1313
// import S from './schema'
1414

containers/Cashier/logic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
errRescue,
1515
} from 'utils'
1616

17-
import SR71 from 'utils/network/sr71'
17+
import SR71 from 'utils/async/sr71'
1818
import S from './schema'
1919

2020
const sr71$ = new SR71({

0 commit comments

Comments
 (0)