GithubHelp home page GithubHelp logo

isabella232 / api-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry/api-docs

0.0 0.0 0.0 139 KB

Cloud Controller API Docs

License: Apache License 2.0

Ruby 90.27% Shell 9.73%

api-docs's Introduction

Cloud Controller API Docs

This is a small sinatra application used to link to different versions of the Cloud Controller API docs.

Development

Install all dependencies using bundle install

Running tests

Run bundle exec rspec spec

Running the server locally

Run bundle exec rackup

Instructions for manually adding docs for a new release

Run ./getversion.sh for adding docs from a version of CC in CF Deployment and ./getversion_release.sh for a version of CC from CF Release.

Example:

./getversion_release.sh v270 | pbcopy

Add the JSON output into the respective JSON file. E.g. data/cf-deployment-api-versions.json or data/cf-release-api-versions.json.

Historical instructions for adding docs generated by Travis

  1. Go to the github page for cf-release
  2. Find the tag for the release you want.
  3. Go into the src directory.
  4. Get the SHA for the cloud_controller_ng submodule.
  5. Go to the Travis page for cloud_controller_ng
  6. Find the build that corresponds to the SHA you have.
  7. Click on that build and get the build ID out of the URL. It should be at least 8 digits long.
  8. Update the hash at the top of main.rb and add the release number, Travis build ID, and CC API version number.

How to Publish Changes (if you are a member of the CAPI team):

  1. Login to lastpass - look for PWS user (Runtime) - Use those creds for the cf login below
  2. $ cf api api.run.pivotal.io
  3. $ cf login
  4. Target cfcommunity
  5. Push to 'apidocs' app

api-docs's People

Contributors

capi-bot avatar socalnick avatar zrob avatar gerg avatar dsabeti avatar jberkhahn avatar markkropf avatar rizwanreza avatar jpalermo avatar jfmyers9 avatar yupengzte avatar yuzhangcmu avatar tcdowney avatar fkotsian avatar emalm avatar ewrenn8 avatar ameowlia 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.