# gocd-doc-zh **Repository Path**: cd20/gocd-doc-zh ## Basic Information - **Project Name**: gocd-doc-zh - **Description**: gocd 文档中文化 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-24 - **Last Updated**: 2025-08-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GoCD - 持续交付服务器文档 此仓库包含[GoCD](https://www.gocd.org/)用户文档的源代码。文档可在 https://docs.gocd.org/current/ 获取。 ## 贡献 我们鼓励您为 GoCD 做出贡献。有关为 GoCD 做出贡献的信息,请参阅我们的[贡献者指南](https://www.gocd.org/contribute)。在[资源](https://www.gocd.org/community/resources.html)部分可以找到很多有用的信息,如用户文档链接、设计文档、邮件列表等。 要对 GoCD 的文档进行更改,您可以这样做: 1. 安装所有依赖项 构建文档的依赖项包括: - nodejs(已知可与 v18 一起工作) - Ruby(已知可与 3.2 一起工作) 然后运行此命令获取所有依赖的 gems: ```shell bundle ``` 2. 安装 npm 依赖项 ```bash npm install ``` 3. 在本地服务器上运行文档(默认为 http://localhost:1313) ```shell npm run index npm run serve ``` ### 发布到 GitHub 页面 `public`目录的内容需要推送到仓库的*[gh-pages](https://github.com/gocd/docs.go.cd/tree/gh-pages)*分支。 ```shell bundle exec rake publish ``` 在[这里](https://gocd.github.io/docs.go.cd/)检查最新部署的更改。 #### 构建搜索索引 ```shell npm run index ``` #### 使用不同参数运行 hugo ```shell npm run hugo [arguments] ``` ## 许可证 ```plain Copyright 2022 Thoughtworks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```