Skip to content

Commit 6659ece

Browse files
vegerotAsuka109
andauthored
fix(doc): fix several MDX bugs (#7119)
Co-authored-by: Asuka109 <[email protected]>
1 parent 03cf233 commit 6659ece

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/document/main-doc/docs/en/guides/basic-features/deploy.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,14 @@ Full-stack projects refer to projects that use Custom Web Server, SSR or BFF. Th
136136
:::info
137137
1. Currently, Modern.js does not support deployment on Netlify Edge Functions. We will support it in future versions.
138138
2. You can refer to the [deployment project example](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/modern-js-deploy-ssr).
139+
139140
:::
140141

141142

142143
### Monorepo
143144

144145
:::info
145-
The following guide is mainly for full-stack projects, for pure CSR projects, just follow [Pure Frontend Project](#Pure Frontend Project) to deploy.
146+
The following guide is mainly for full-stack projects, for pure CSR projects, just follow [Pure Frontend Project](#pure-front-end-project-1) to deploy.
146147
:::
147148

148149
For Monorepo projects, in addition to building our current project, you also need to build other sub-projects in the repository that the current project depends on.
@@ -330,6 +331,7 @@ For branch deployment, follow these steps:
330331
:::info
331332
1. Running `MODERNJS_DEPLOY=ghPages modern deploy` will build the production output for GitHub in the .output directory.
332333
2. You can refer to the [project](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/modern-js-deploy-csr)
334+
333335
:::
334336

335337
For GitHub Actions deployment, select Settings > Pages > Source > GitHub Actions, and add a workflow file to the project. You can refer to the [example](https://github.com/web-infra-dev/modern-js-examples/tree/main/examples/modern-js-deploy-csr).

packages/document/main-doc/docs/en/guides/get-started/quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ info Starting production server...
148148
> Network: http://192.168.0.1:8080/
149149
```
150150

151-
Open `http://localhost:8000/` in the browser, and the content should be consistent with that of `pnpm run dev`.
151+
Open `http://localhost:8080/` in the browser, and the content should be consistent with that of `pnpm run dev`.
152152

153153
## Deployment
154154

0 commit comments

Comments
 (0)