Skip to content

Commit 7fc9047

Browse files
antleblanculivz
authored andcommitted
docs: fix github brand name usage (#1465)
1 parent 880cb2f commit 7fc9047

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

packages/docs/docs/config/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The `base` is automatically prepended to all the URLs that start with `/` in oth
2121
**Also see:**
2222

2323
- [Base URL](../guide/assets.md#base-url)
24-
- [Deploy Guide > Github Pages](../guide/deploy.md#github-pages)
24+
- [Deploy Guide > GitHub Pages](../guide/deploy.md#github-pages)
2525

2626
### title
2727

@@ -71,7 +71,7 @@ Specify the port to use for the dev server.
7171
- Type: `number`
7272
- Default: `@vuepress/core/.temp`
7373

74-
Specify the temporary directory for client.
74+
Specify the temporary directory for client.
7575

7676
### dest
7777

packages/docs/docs/guide/deploy.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ cd -
5656
You can also run the above script in your CI setup to enable automatic deployment on each push.
5757
:::
5858

59-
### Github Pages and Travis CI
59+
### GitHub Pages and Travis CI
6060

6161
1. Set correct `base` in `docs/.vuepress/config.js`.
6262

@@ -66,7 +66,7 @@ You can also run the above script in your CI setup to enable automatic deploymen
6666

6767
2. Create a file named `.travis.yml` in the root of your project.
6868

69-
3. Use Github Pages deploy provider template and follow the [travis documentation](https://docs.travis-ci.com/user/deployment/pages/).
69+
3. Use GitHub Pages deploy provider template and follow the [travis documentation](https://docs.travis-ci.com/user/deployment/pages/).
7070

7171
``` yaml
7272
language: node_js
@@ -168,7 +168,7 @@ You can also deploy to a [custom domain](http://surge.sh/help/adding-a-custom-do
168168
2. Create a Heroku account [here](https://signup.heroku.com).
169169

170170
3. Run `heroku login` and fill in your Heroku credentials:
171-
171+
172172
``` bash
173173
heroku login
174174
```

packages/docs/docs/zh/config/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ sidebar: auto
1212
- 类型: `string`
1313
- 默认值: `/`
1414

15-
部署站点的基础路径,如果你想让你的网站部署到一个子路径下,你将需要设置它。如 Github pages,如果你想将你的网站部署到 `https://foo.github.io/bar/`,那么 `base` 应该被设置成 `"/bar/"`,它的值应当总是以斜杠开始,并以斜杠结束。
15+
部署站点的基础路径,如果你想让你的网站部署到一个子路径下,你将需要设置它。如 GitHub pages,如果你想将你的网站部署到 `https://foo.github.io/bar/`,那么 `base` 应该被设置成 `"/bar/"`,它的值应当总是以斜杠开始,并以斜杠结束。
1616

1717
`base` 将会自动地作为前缀插入到所有以 `/` 开始的其他选项的链接中,所以你只需要指定一次。
1818

1919
**参考:**
2020

2121
- [Base URL](../guide/assets.md#基础路径)
22-
- [部署指南 > Github Pages](../guide/deploy.md#github-pages)
22+
- [部署指南 > GitHub Pages](../guide/deploy.md#github-pages)
2323

2424
### title
2525

@@ -131,7 +131,7 @@ $codeBgColor = #282c34
131131

132132
### index.styl
133133

134-
VuePress 提供了一种添加额外样式的简便方法。你可以创建一个 `.vuepress/styles/index.styl` 文件。这是一个 [Stylus](http://stylus-lang.com/) 文件,但你也可以使用正常的 CSS 语法。
134+
VuePress 提供了一种添加额外样式的简便方法。你可以创建一个 `.vuepress/styles/index.styl` 文件。这是一个 [Stylus](http://stylus-lang.com/) 文件,但你也可以使用正常的 CSS 语法。
135135

136136
```stylus
137137
.content {

packages/docs/docs/zh/guide/deploy.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ cd -
5656
你可以在你的持续集成的设置中,设置在每次 push 代码时自动运行上述脚本。
5757
:::
5858

59-
### Github Pages and Travis CI
59+
### GitHub Pages and Travis CI
6060

6161
1.`docs/.vuepress/config.js` 中设置正确的 `base`
6262

6363
如果你打算发布到 `https://<USERNAME or GROUP>.github.io/`,则可以省略这一步,因为 `base` 默认即是 `"/"`
64-
64+
6565
如果你打算发布到 `https://<USERNAME or GROUP>.github.io/<REPO>/`(也就是说你的仓库在 `https://github.com/<USERNAME>/<REPO>`),则将 `base` 设置为 `"/<REPO>/"`
66-
66+
6767
2. 在项目的根目录创建一个名为 `.travis.yml` 的文件;
68-
3. 使用 Github Pages 部署提供程序模板并遵循 [Travis 文档](https://docs.travis-ci.com/user/deployment/pages/)
68+
3. 使用 GitHub Pages 部署提供程序模板并遵循 [Travis 文档](https://docs.travis-ci.com/user/deployment/pages/)
6969

7070
``` yaml
7171
language: node_js
@@ -88,9 +88,9 @@ deploy:
8888
1. 在 `docs/.vuepress/config.js` 中设置正确的 `base`。
8989

9090
如果你打算发布到 `https://<USERNAME or GROUP>.gitlab.io/`,则可以省略这一步,因为 `base` 默认即是 `"/"`。
91-
91+
9292
如果你打算发布到 `https://<USERNAME or GROUP>.gitlab.io/<REPO>/`(也就是说你的仓库在 `https://gitlab.com/<USERNAME>/<REPO>`),则将 `base` 设置为 `"/<REPO>/"`。
93-
93+
9494
2. 在 `.vuepress/config.js` 中将 `dest` 设置为 `public`。
9595
3. 在你项目的根目录下创建一个名为 `.gitlab-ci.yml` 的文件,无论何时你提交了更改,它都会帮助你自动构建和部署:
9696

@@ -114,7 +114,7 @@ pages:
114114

115115
## Netlify
116116

117-
1. 在 Netlify 中, 创建一个新的 Github 项目,使用以下设置:
117+
1. 在 Netlify 中, 创建一个新的 GitHub 项目,使用以下设置:
118118

119119
- **Build Command:** `npm run build:docs` 或者 `yarn build:docs`
120120
- **Publish directory:** `docs/.vuepress/dist`
@@ -181,7 +181,7 @@ pages:
181181
```
182182

183183
这里是你项目的配置,请参考 [heroku-buildpack-static](https://github.com/heroku/heroku-buildpack-static) 了解更多。
184-
184+
185185
5. 配置 Heroku 的 git 远程仓库:
186186

187187
``` bash
@@ -196,9 +196,9 @@ heroku apps:create example
196196
# 为静态网站设置构建包
197197
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git
198198
```
199-
199+
200200
6. 部署你的网站:
201-
201+
202202
``` bash
203203
# 发布网站
204204
git push heroku master

0 commit comments

Comments
 (0)