Skip to content

gocd/docs.go.cd

Repository files navigation

Documentation for GoCD - Continuous Delivery server

This repository contains the source code for the user documentation for GoCD. The documentation is available at https://docs.gocd.org/current/.

Contributing

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:

  1. 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
  2. To install npm dependencies

    npm install
  3. Run the documentation on the local server (defaults to http://localhost:1313)

    npm run index
    npm run serve

Publishing to GitHub pages

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.

To build search index

npm run index

To run hugo with different arguments

npm run hugo [arguments]

License

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.