This repository contains the source code for the user documentation for GoCD. The documentation is available at https://docs.gocd.org/current/.
We encourage you to contribute to GoCD. For information on contributing to GoCD, please see our contributor's guide. A lot of useful information like links to user documentation, design documentation, mailing lists etc. can be found in the resources section.
To make changes to GoCD's documentation, you can do this:
-
Install all dependencies
The dependencies for building the documentation are:
- nodejs (known to work with v18)
- Ruby (known to work with 3.2)
Then run this to get all the dependent gems:
bundle
-
To install npm dependencies
npm install
-
Run the documentation on the local server (defaults to http://localhost:1313)
npm run index npm run serve
The contents of the public
directory needs to be pushed out to the gh-pages branch of the repository.
bundle exec rake publish
Check the latest changes deployed here.
npm run index
npm run hugo [arguments]
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.