/docs-book-cloudfoundry

The bookbinder repository for open source Cloud Foundry documentation

Primary LanguageHTMLApache License 2.0Apache-2.0

Cloud Foundry Documentation

This project publishes the Cloud Foundry documentation as a web application.

Breaking Change: This book now uses a centralized layout repository, docs-layout-repo.
You must clone this repository to run bookbinder bind local.

The centralized layout repository is specified as the value of the layout_repo key in the config.yml file. Bookbinder uses this centralized layout repository by default, but files in the book's master_middleman/source directory override files in the centralized layout repository if they have the same name.

What's in this Repo

This repo uses the Bookbinder gem to generate the documentation as a web application.

The config.yml file contains the list of topic repositories.

The master_middleman folder contains the template used for publishing

This repository does not contain the documentation content. That's contained in the topic repositories listed in the config.yml.

Topic Repositories

The topic repositories that make up the Cloud Foundry documentation set are:

  • Cloud Foundry Concepts: a guide to the underlying concepts and architecture.
  • Developer Guide: step-by-step instructions and reference material for developers pushing applications to Cloud Foundry.
  • Services: information about extending Cloud Foundry with custom services, and the service broker API.
  • Buildpacks: a guide to developing your own buildpacks.
  • Loggregator: a guide to the user application logging subsystem of Cloud Foundry.
  • Deploying Cloud Foundry: instructions for operators deploying Cloud Foundry on various IaaS (AWS, OpenStack, etc.) using BOSH
  • Running Cloud Foundry: information for operators running Cloud Foundry.
  • BOSH: in-depth documentation on BOSH.
  • Administrator Tools: documentation about how to operate Cloud Foundry deployments using bosh and cf command line tools.

Contributing Pull Requests

To submit a pull request to the documentation, please follow this process:

  1. Make sure you have a signed CLA. Even if you aren't contributing running code, we still need a Contributor License Agreement.

  2. Fork the content repository you want to make a contribution to. See the following examples:

  1. Clone your fork of the content repository. Make sure to clone your fork of the topic repository to a directory that is a sibling to this book repository. So, for example, if you are contributing content to the Buildpack documentation, your folder structure would look like this:
    |
    +-- docs-book-cloudfoundry
    |
    +-- docs-buildpacks
    |
  
  1. Clone the docs-layout-repo for bookbinder bind to run properly. This book now uses a centralized layout repository.

  2. Make your changes.

  3. Run bookbinder on your local changes:

    $ cd docs-book-cloudfoundry
    $ bundle install
    $ bundle exec bookbinder watch
  

Bookbinder attempts to assemble the doc set from your local copies. It will skip any topic repositories that you do not have checked out. For more information on Bookbinder, see the Bookbinder README.

  1. Point your browser at localhost:4567 to preview your changes. On save your browser will reload with any additional changes you make.

  2. Commit your changes, rebase from upstream, and push to your fork.

  3. Submit a PR from your fork to the original repositories.

The Docs team will review and merge the PR. They may contact you with questions or edit the PR for formatting and style.

Note: Once your pull request is merged, your changes appear on docs.cloudfoundry.org the next time the cf-docs team pushes updates to the production docs. Updates go live at least once a week.