Skip to content

Commit

Permalink
docs: using a doctools as a external lib (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and fengmk2 committed May 16, 2017
1 parent 5113088 commit 02b02e0
Show file tree
Hide file tree
Showing 102 changed files with 12 additions and 21,995 deletions.
4 changes: 3 additions & 1 deletion .autod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ module.exports = {
exclude: [
'test/fixtures',
'examples',
"docs",
'docs',
'run',
],
devdep: [
'autod',
'autod-egg',
'eslint',
'eslint-config-egg',
'egg-bin',
'egg-doctools',
'egg-plugin-puml',
'egg-view-nunjucks',
],
Expand Down
5 changes: 0 additions & 5 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,3 @@ theme: egg

less:
compress: true

# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type:
18 changes: 0 additions & 18 deletions docs/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions docs/plugins.puml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/en/intro/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Egg is a convention-over-configuration framework, follows the [Loader](../advanc

- depth [customizd framework](../advanced/framework.md)
- highly extensible [plug-in mechanism](../advanced/plugin.md)
- built-in [cluster](../advanced/cluster.md)
- built-in [cluster](../advanced/cluster-client.md)
- based on [koa] with high performance
- stable core framework with high test coverage.
- [progressive development](../tutorials/progressive.md)
Expand Down
6 changes: 0 additions & 6 deletions docs/source/frameworks.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ header:

guide_toc:
Intro: Guide
What is egg: What is Egg?
What is Egg: What is Egg?
Egg and Koa: Egg and Koa
Get Start: Quick Start
Basics: Basis Function
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion docs/source/member_guide.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/plugins.puml

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/zh-cn/core/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ EGG_SERVER_ENV=prod nohup node dispatch.js > stdout.log 2> stderr.log &

注意:

- **生产环境使用的 `EGG_SERVER_ENV` 必须为 `prod`**,可查看[运行环境](./basics/env.md)获取更多内容。
- **生产环境使用的 `EGG_SERVER_ENV` 必须为 `prod`**,可查看[运行环境](../basics/env.md)获取更多内容。
- 如果使用 Docker,可直接前台运行。
- 默认情况框架会创建和 CPU 核数相当的 app worker 数,可以充分的利用 CPU 资源。

### 自定义框架启动

如果应用使用了[自定义框架](./advanced/framework.md),还需要指定额外的参数,比如框架为 `yadan`
如果应用使用了[自定义框架](../advanced/framework.md),还需要指定额外的参数,比如框架为 `yadan`

```js
// dispatch.js
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/intro/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Egg 奉行『**约定优于配置**』,按照[一套统一的约定](../advanc

- 深度[框架定制](../advanced/framework.md)
- 高度可扩展的[插件机制](../advanced/plugin.md)
- 内置[多进程管理](../advanced/cluster.md)
- 内置[多进程管理](../advanced/cluster-client.md)
- 基于 [Koa] 开发,性能优异
- 框架稳定,测试覆盖率高
- [渐进式开发](../tutorials/progressive.md)
Expand Down
17 changes: 0 additions & 17 deletions docs/themes/egg/layout/index.swig

This file was deleted.

24 changes: 0 additions & 24 deletions docs/themes/egg/layout/layout.swig

This file was deleted.

7 changes: 0 additions & 7 deletions docs/themes/egg/layout/page.swig

This file was deleted.

17 changes: 0 additions & 17 deletions docs/themes/egg/layout/partial/aside.swig

This file was deleted.

10 changes: 0 additions & 10 deletions docs/themes/egg/layout/partial/footer.swig

This file was deleted.

8 changes: 0 additions & 8 deletions docs/themes/egg/layout/partial/head.swig

This file was deleted.

31 changes: 0 additions & 31 deletions docs/themes/egg/layout/partial/header.swig

This file was deleted.

28 changes: 0 additions & 28 deletions docs/themes/egg/lib/renderer.js

This file was deleted.

64 changes: 0 additions & 64 deletions docs/themes/egg/scripts/helpers.js

This file was deleted.

24 changes: 0 additions & 24 deletions docs/themes/egg/source/css/index.less

This file was deleted.

Loading

0 comments on commit 02b02e0

Please sign in to comment.