Coder Social home page Coder Social logo

api.go.cd's Introduction

Go CD API Documentation

Build Status

Checkout the live documentation at http://api.go.cd

Contributing to the API Documentation

Configure and install middleman

$ bundle install --path .bundle --binstubs

Serve the documentation locally

$ ./bin/middleman server

Generating the static website

$ ./bin/rake build

Publish the website to Github Pages

$ ./bin/rake publish

Releasing a new version of the API

In this example we'll be releasing version 15.3.0 and setting up master so any new changes from this point go to 16.1.0.

Create a branch for your existing version that you will be releasing

git checkout -b 15.3.0
git push upstream 15.3.0

Create a new pipeline for this branch on snap-ci.com so any new changes to the 15.3.0 branch are pushed to the correct directory on gh-pages branch.

Now bump the version in config.rb on the master branch.

$ git checkout master
$ vim config.rb                  # Bump version in `build_dir` to `16.1.0`, master is now effectively 16.1.0 (the next release)
$ git add config.rb
$ git commit -m 'Bump version'
$ git push upstream master

Now wait for site to publish via CI (takes a minute), or publish it yourself ./bin/rake publish. Once the new version is published

$ git fetch --all
$ git checkout gh-pages
$ git merge upstream/gh-pages
$ vim versions.json             # edit file and add a new version, set its "type" to "latest", remove the "type" attribute on older version.
$ ln -sf 15.3.0 current        # current is now a symlink to 15.3.0
$ git add versions.json current
$ git commit -m 'Add new version to dropdown'
$ git push

Need help?

  • Just submit a issue to the github repository if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.

Special thanks

Contributing

We encourage you to contribute to Go. For information on contributing to this project, 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.

License

Copyright 2008-2013 Concur Technologies, Inc.
Copyright 2016 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.

api.go.cd's People

Contributors

arvindsv avatar blackxored avatar bootstraponline avatar chrissrogers avatar cvkef avatar djpowers avatar dlackty avatar floorlamp avatar fredrikwendt avatar gaqzi avatar henriquegemignani avatar juhijariwala avatar jyotisingh avatar ketan avatar kevin-buttercoin avatar lord avatar magnus-lycka avatar maks3w avatar marcguyer avatar mattes avatar moizjv avatar niksamokhvalov avatar pbechu avatar poojachopra avatar realityking avatar rezanachmad avatar stetzer avatar styloa avatar victorquinn avatar zabil avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.