Skip to content

Commit

Permalink
fix some link error
Browse files Browse the repository at this point in the history
  • Loading branch information
zizdlp committed Sep 11, 2024
1 parent 78a2be7 commit 1fe653c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Development/Frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ npm run build

## Running

"Create a `.env.local` file under the `zbook_frontend/` directory, and copy the contents of `.env.production` into it. For example, you can set `AUTH_URL` to `http://localhost:3000` in development mode. For similar parameters, you can refer to `compose.env` for configuration."

To start the frontend server, use the following command:

```bash
Expand Down
2 changes: 2 additions & 0 deletions Features/Comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The following screenshot shows an example of reporting a comment. Users can repo

![Comment Reporting](./assets/report.gif)

Frontend comments involve multiple components. The following Mermaid flowchart shows the invocation relationships between the components used for comments.

```mermaid
graph TD
ListLevelOneComment
Expand Down
2 changes: 1 addition & 1 deletion 功能/评论.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
## 评论举报

下图是评论举报的示例,用户对评论进行举报,说明原因,提交举报信息。管理员查看举报,并进行相应处理。
![评论举报](./assets/report.gif)
![评论举报](./assets/report.gif)
4 changes: 4 additions & 0 deletions 开发/前端.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ npm install
npm run build
```

## 创建环境变量文件

`zbook_frontend/`下创建`.env.local`文件,同时将`.env.production`内容填入其中,比如`AUTH_URL`,在开发模式下,可以填为`http://localhost:3000`,类似的参数如何配置,可以参考`compose.env`

## 运行

如下是运行前端服务器
Expand Down
2 changes: 1 addition & 1 deletion 开始/开始使用.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ make compose_pull

![login](./assets/login.gif)

你也可以使用其他的 markdown 仓库(由 markdown 文档组成),具体配置见[功能](../使用/功能.md)。不了解支持的 markdown 语法?点击[语法](../使用/语法.md)
你也可以使用其他的 markdown 仓库(由 markdown 文档组成),具体配置见[功能](../功能/基础功能.md)。不了解支持的 markdown 语法?点击[语法](../语法/基础语法.md)

## 完成

Expand Down

0 comments on commit 1fe653c

Please sign in to comment.