Skip to content

Commit

Permalink
docs: avoid indent in code block
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed May 13, 2018
1 parent 1051da9 commit c4424c8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 18 additions & 18 deletions docs/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,24 +102,24 @@ pages:

2. Create `firebase.json` and `.firebaserc` at the root of your project with the following content:

`firebase.json`:
```json
{
"hosting": {
"public": "./docs/.vuepress/dist",
"ignore": []
}
}
```

`.firebaserc`:
```js
{
"projects": {
"default": "<YOUR_FIREBASE_ID>"
}
}
```
`firebase.json`:
```json
{
"hosting": {
"public": "./docs/.vuepress/dist",
"ignore": []
}
}
```

`.firebaserc`:
```js
{
"projects": {
"default": "<YOUR_FIREBASE_ID>"
}
}
```

3. After running `yarn docs:build` or `npm run docs:build`, deploy with the command `firebase deploy`.

Expand Down
36 changes: 18 additions & 18 deletions docs/zh/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,24 +100,24 @@ pages:

2. 在你项目的根目录下创建 `firebase.json` 和 `.firebaserc`,并包含以下内容:

`firebase.json`:
```json
{
"hosting": {
"public": "./docs/.vuepress/dist",
"ignore": []
}
}
```

`.firebaserc`:
``` js
{
"projects": {
"default": "<YOUR_FIREBASE_ID>"
}
}
```
`firebase.json`:
```json
{
"hosting": {
"public": "./docs/.vuepress/dist",
"ignore": []
}
}
```

`.firebaserc`:
``` js
{
"projects": {
"default": "<YOUR_FIREBASE_ID>"
}
}
```

3. 在执行了 `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。

Expand Down

0 comments on commit c4424c8

Please sign in to comment.