# docs **Repository Path**: moark/docs ## Basic Information - **Project Name**: docs - **Description**: 模力方舟官方文档仓库 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: https://ai.gitee.com/docs - **GVP Project**: No ## Statistics - **Stars**: 13 - **Forks**: 3 - **Created**: 2024-04-01 - **Last Updated**: 2025-08-14 ## Categories & Tags **Categories**: ebooks-manual **Tags**: None ## README # 模力方舟文档 该仓库是模力方舟平台的文档项目,包含了使用手册以及 API 文档。其中 API 文档使用了 [Scalar](https://scalar.com/) 进行展示。对应网址是 https://ai.gitee.com/docs 。 ### 安装依赖 ``` $ yarn ``` ### 添加 env 文件 ``` $ cp .env.example .env ``` 修改 .evn 文件,注释掉生产环境的配置项,取消开发环境的配置项注释。 ### 启动开发环境 ``` $ yarn start ``` 这个命令会启动本地开发服务器,并自动打开浏览器窗口。大多数更改都会实时生效,无需重启服务器。 ### 生产环境构建 构建之前请将 .env 文件中的开发环境配置项注释掉,取消生产环境的配置项注释。 ``` $ yarn build ``` 这个命令会将静态内容生成到 build 目录中,可以通过任何静态资源托管服务进行部署。