Skip to content

Commit 51463b9

Browse files
committed
docs: update
1 parent 01f9aa3 commit 51463b9

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

packages/docs/docs/guide/README.md

+1-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<Bit/>
44

5-
VuePress is composed of two parts: a [minimalistic static site generator](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/core) with a Vue-powered theming system and [Plugin API](../plugin/README.md), and a [default theme](../theme/default-theme-config.md) optimized for writing technical documentation. It was created to support the documentation needs of Vue's own sub projects.
5+
VuePress is composed of two parts: a [minimalistic static site generator](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/core) with a Vue-powered [theming system](../theme/README.md) and [Plugin API](../plugin/README.md), and a [default theme](../theme/default-theme-config.md) optimized for writing technical documentation. It was created to support the documentation needs of Vue's own sub projects.
66

77
Each page generated by VuePress has its own pre-rendered static HTML, providing great loading performance and is SEO-friendly. Once the page is loaded, however, Vue takes over the static content and turns it into a full Single-Page Application (SPA). Additional pages are fetched on demand as the user navigates around the site.
88

@@ -14,18 +14,6 @@ During the build, we create a server-rendered version of the app and render the
1414

1515
Each markdown file is compiled into HTML with [markdown-it](https://github.com/markdown-it/markdown-it) and then processed as the template of a Vue component. This allows you to directly use Vue inside your markdown files and is great when you need to embed dynamic content.
1616

17-
## Life cycle
18-
19-
Below is a diagram for the VuePress application lifecycle in dev and build modes.
20-
21-
![image](/plugin.png)
22-
23-
It is worth noting that during the `prepare` phase, VuePress does the following:
24-
25-
1. Resolve config
26-
2. Initialize and apply [Plugin API](../plugin/README.md)
27-
3. Initialize [webpack](http://webpack.js.org/) configuration and create [markdown-it](https://github.com/markdown-it/markdown-it) instance
28-
2917
## Features
3018

3119
- [Powerful Plugin API](../plugin/README.md)

packages/docs/docs/zh/guide/README.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 介绍
22

3-
VuePress 由两部分组成:一部分是支持用 Vue 开发主题的极简静态网站生成器,另一个部分是为书写技术文档而优化的默认主题。它的诞生初衷是为了支持 Vue 及其子项目的文档需求。
3+
VuePress 由两部分组成:第一部分是一个[极简静态网站生成器](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/core),它包含由 Vue 驱动的[主题系统](../theme/README.md)[插件 API](../plugin/README.md),另一个部分是为书写技术文档而优化的[默认主题](../theme/default-theme-config.md)它的诞生初衷是为了支持 Vue 及其子项目的文档需求。
44

55
每一个由 VuePress 生成的页面都带有预渲染好的 HTML,也因此具有非常好的加载性能和搜索引擎优化(SEO)。同时,一旦页面被加载,Vue 将接管这些静态内容,并将其转换成一个完整的单页应用(SPA),其他的页面则会只在用户浏览到的时候才按需加载。
66

@@ -27,15 +27,6 @@ VuePress 由两部分组成:一部分是支持用 Vue 开发主题的极简静
2727
- 可自定义的[导航栏](../theme/default-theme-config.md#导航栏)[侧边栏](../theme/default-theme-config.md#侧边栏)
2828
- [自动生成的 GitHub 链接和页面的编辑链接](../theme/default-theme-config.md#git-仓库和编辑链接)
2929

30-
## Todo
31-
32-
VuePress 仍然处于开发中,这里有一些目前还不支持、但已经在计划中的特性:
33-
34-
- 插件
35-
- 博客系统
36-
37-
我们欢迎你为 VuePress 的开发作出贡献。
38-
3930
## 为什么不是...?
4031

4132
### Nuxt

0 commit comments

Comments
 (0)