# 文档站 **Repository Path**: github-mouyong/vitepress-doc-website ## Basic Information - **Project Name**: 文档站 - **Description**: 文档站 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://mouyong.github.io/vitepress-doc-website - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-01-01 - **Last Updated**: 2023-08-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 添加文档 ``` # 添加 git subtree add -P vitepress-docs/ https://ghproxy.com/https://github.com/mouyong/vitepress-doc-website.git master # 拉取更新 git subtree pull -P vitepress-docs/ https://ghproxy.com/https://github.com/mouyong/vitepress-doc-website.git master # 安装依赖 cd vitepress-docs/ yarn install # 编写文档 yarn docs:dev # 生成静态文件 yarn docs:build ``` ## 子目录部署 `nginx` 配置 ``` location /docs/ { try_files $uri $uri/ $uri.html; } ```