Skip to content

Commit 20b0831

Browse files
authored
docs: fix the docRepoBaseUrl (#7885)
1 parent 41c8051 commit 20b0831

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

packages/document/docs/en/community/contributing-guide.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ You can find all the documentation in the `packages/document` folder:
185185
```bash
186186
root
187187
└─ packages
188-
└─ document
189-
├─ main-doc # Documentation for Modern.js Framework
190-
└─ module-doc # Documentation for Modern.js Module
188+
└─ document # Documentation for Modern.js Framework
191189
```
192190

193191
This website is built with Rspress, the document content can be written using markdown or mdx syntax. You can refer to the [Rspress Website](https://rspress.rs/) for detailed usage.

packages/document/docs/zh/community/contributing-guide.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ pnpm run lint
184184
```sh
185185
root
186186
└─ packages
187-
└─ document
188-
├─ main-doc # Modern.js Framework 文档
189-
└─ module-doc # Modern.js Module 文档
187+
└─ document # Modern.js Framework 文档
190188
```
191189

192190
文档站使用 Rspress 构建,文档内容可以使用 markdown 或 mdx 语法编写。详细使用方法可以参考 [Rspress 文档](https://rspress.rs/)

packages/document/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/web-infra-dev/modern.js",
9-
"directory": "packages/document/main-doc"
9+
"directory": "packages/document"
1010
},
1111
"license": "MIT",
1212
"keywords": [

packages/document/rspress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default defineConfig({
6363
],
6464
editLink: {
6565
docRepoBaseUrl:
66-
'https://github.com/web-infra-dev/modern.js/tree/main/packages/document/main-doc/docs',
66+
'https://github.com/web-infra-dev/modern.js/tree/main/packages/document/docs',
6767
text: 'Edit this page on GitHub',
6868
},
6969
socialLinks: [

0 commit comments

Comments
 (0)