目录

Cloud Foundry Documentation

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.

Content Repositories

The following repositories make up the Cloud Foundry documentation set:

Branch

All repositories in this doc set use only the master branch.

Template variables

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.

Contributing Pull Requests

To submit a pull request to the documentation, 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 contribute to. For example:

  3. Clone your fork to a directory that is a sibling of this book repository:

    |
    +-- docs-book-cloudfoundry
    |
    +-- docs-buildpacks
    |
  4. Make your changes.

  5. Run bookbinder locally to preview your changes:

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

    Bookbinder assembles the doc set from your local copies and skips any content repositories you do not have checked out. Point your browser at localhost:4567 to preview your changes. On save, your browser reloads with any additional changes.

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

  7. Submit a pull request (PR) from your fork to the master branch of the content repository.

Only the CFF Docs WG lead can merge pull requests, build to staging, and publish the documentation.

    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号