This project publishes the Cloud Foundry documentation as a web application.
This repository uses the Bookbindery gem to assemble the documentation from multiple content repositories into a single web application. The master_middleman folder contains the layouts, styles, and subnav used to create the web pages.
This repository does not contain the documentation content. Documentation content is contained in the content repositories listed below.
This repository is becoming the home of the Cloud Foundry Docs Working Group. During the transition it holds both the documentation book and the working group's own records:
- RFCs: proposals about creating and publishing Cloud Foundry documentation, discussed and decided by the Docs Working Group
- ADRs: accepted decisions on content authoring and styling, organization and navigation, templates, and the build and publishing tooling
- Style guide: the current rules for writing and styling content
- Glossary: the terms used in the documentation and in the working group's records
- Open questions: questions that need subject-matter experts before the documentation can be corrected
- Research: the evidence that RFCs and ADRs cite
The following repositories make up the Cloud Foundry documentation set:
- Cloud Foundry Concepts: Underlying concepts and architecture
- Cloud Foundry Command-Line Interface (cf CLI): A guide to the cf CLI for Cloud Foundry developers and users
- Developer Guide: Step-by-step instructions and reference material for developers pushing applications to Cloud Foundry
- Deploying Cloud Foundry: Instructions for operators deploying Cloud Foundry on various IaaS using BOSH
- Running Cloud Foundry: Information for operators running Cloud Foundry
- Administrator Tools: Documentation about operating Cloud Foundry deployments using the cf CLI and related tools
- Services: Information about extending Cloud Foundry with custom services and the service broker API
- Buildpacks: Guides to using and developing buildpacks
- Loggregator: Information about the logging and metrics subsystem of Cloud Foundry
- User Account and Authentication (UAA): Information about the Cloud Foundry UAA server
- CredHub: Information about CredHub credential management
- BOSH Backup and Restore (BBR): Documentation for backing up and restoring BOSH deployments
All repositories in this doc set use only the master branch.
Template variables that customize content across the doc set are defined in config/template_variables.yml in this repository. Update that file to change variables that appear in the content repos.
To submit a pull request to the documentation, follow this process:
-
Make sure you have a signed CLA. Even if you aren't contributing running code, we still need a Contributor License Agreement.
-
Fork the content repository you want to contribute to. For example:
- For docs at
https://docs.cloudfoundry.org/buildpacks/, the content repository is: https://github.com/cloudfoundry/docs-buildpacks - For docs at
https://docs.cloudfoundry.org/devguide/, the content repository is: https://github.com/cloudfoundry/docs-dev-guide
- For docs at
-
Clone your fork to a directory that is a sibling of this book repository:
| +-- docs-book-cloudfoundry | +-- docs-buildpacks | -
Make your changes.
-
Run bookbinder locally to preview your changes:
cd docs-book-cloudfoundry bundle install bundle exec bookbinder watchBookbinder assembles the doc set from your local copies and skips any content repositories you do not have checked out. Point your browser at
localhost:4567to preview your changes. On save, your browser reloads with any additional changes. -
Commit your changes, rebase from upstream, and push to your fork.
-
Submit a pull request (PR) from your fork to the
masterbranch of the content repository.
Only the CFF Docs WG lead can merge pull requests, build to staging, and publish the documentation.
- Staging site: https://docs-staging.cloudfoundry.org/
- Published site: https://docs.cloudfoundry.org/