Skip to content

Commit c4424c8

Browse files
committed
docs: avoid indent in code block
1 parent 1051da9 commit c4424c8

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

docs/guide/deploy.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,24 @@ pages:
102102

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

105-
`firebase.json`:
106-
```json
107-
{
108-
"hosting": {
109-
"public": "./docs/.vuepress/dist",
110-
"ignore": []
111-
}
112-
}
113-
```
114-
115-
`.firebaserc`:
116-
```js
117-
{
118-
"projects": {
119-
"default": "<YOUR_FIREBASE_ID>"
120-
}
121-
}
122-
```
105+
`firebase.json`:
106+
```json
107+
{
108+
"hosting": {
109+
"public": "./docs/.vuepress/dist",
110+
"ignore": []
111+
}
112+
}
113+
```
114+
115+
`.firebaserc`:
116+
```js
117+
{
118+
"projects": {
119+
"default": "<YOUR_FIREBASE_ID>"
120+
}
121+
}
122+
```
123123

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

docs/zh/guide/deploy.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -100,24 +100,24 @@ pages:
100100

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

103-
`firebase.json`:
104-
```json
105-
{
106-
"hosting": {
107-
"public": "./docs/.vuepress/dist",
108-
"ignore": []
109-
}
110-
}
111-
```
112-
113-
`.firebaserc`:
114-
``` js
115-
{
116-
"projects": {
117-
"default": "<YOUR_FIREBASE_ID>"
118-
}
119-
}
120-
```
103+
`firebase.json`:
104+
```json
105+
{
106+
"hosting": {
107+
"public": "./docs/.vuepress/dist",
108+
"ignore": []
109+
}
110+
}
111+
```
112+
113+
`.firebaserc`:
114+
``` js
115+
{
116+
"projects": {
117+
"default": "<YOUR_FIREBASE_ID>"
118+
}
119+
}
120+
```
121121

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

0 commit comments

Comments
 (0)