Git Product home page Git Product logo

docs-book-pcfservices's Introduction

PCF Services Documentation Book

This project can create and publish the documentation for PCF Services, PCF Partner Services, and PCF Add-ons as a web application.

In this topic:

This book 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 Repository

Here you'll find the configuration and templates for the PCF Services, PCF Partner Services, and PCF Add-ons documentation set published to docs.pivotal.io.

This repository does not contain the actual documentation content. Actual content is contained in the topic repositories listed in the config.yml file.

The master_middleman folder contains the templates used for publishing.

The Documentation Toolchain

The Cloud Foundry documentation is written in markdown and published using the Bookbinder gem to generate the documentation as a web application with Middleman.

Bookbinder enables us to single-source content for multiple contexts.

So, for example, the documentation for the Cloud Foundry command-line tool (cf CLI) exist in a single repository and are published to all three documentation sets:

Contributing to the Documentation

The documentation team prefers to receive documentation contributions as pull requests rather than having engineering teams push directly to the documentation repositories. This gives us a chance to review the changes for consistency and understand the new content.

If you are planning to initiate a large documentation effort, please coordinate with the documentation team in advance to make sure we're not going to step on each other. You can reach the documentation team by email at [email protected].

If you are trying to figure out where a particular bit of information should live, please reach out and ask. We're happy to help you ensure information goes to the right place.

Note that content often lives in more than one context. Please make sure that any contribution you offer takes these multiple contexts into account. So, for example, if you are working on documentation that are also used in for open source, please do not refer to Pivotal's commercial offerings.

Submitting a Pull Request

This is a Bookbinder project. See the Bookbinder README file for more information about Bookbinder.

Notes about the config.yml

Template variables for the PCF documentation are stored in a separate YML file, template_variables.yml, stored in the config folder.

The "sections" section of the config.yml file is organized as follows:

  • First "sections" section contains all repositories for PCF documentation in the cloudfoundry org, in alphabetical order.
  • Next "sections" section contains all repositories for PCF documentation in the pivotal-cf org, in alphabetical order.
  • Next "sections" section contains the repositories where we store product PDFs
  • Next "sections" section contains all repositories for non-PCF documentation in the pivotal-cf org, in alphabetical order.
  • Next "sections" section contains all repositories for non-PCF documentation in the other orgs, in alphabetical order.

Determine Content Repositories and Branches of a Book

The config.yml defines the content repositories for each book. The config.yml file of each book contains the list of content repositories and branches that appear in the documentation set. In the config.yml file, each content repository is specified in the repository subsection. This subsection includes an optional ref key-value pair which defines the branch of the content repository that the book uses.

Make sure that you are adding your content to the correct branches of the content repositories.

To determine which branch of a content repository that a book version uses:

  1. Confirm that you are on the correct book branch. For example, the currently published topic might be on the master branch or on the branch corresponding to its version number.

  2. Open the config.yml file.

  3. Search for the name of the content repository, for example, docs-cloudfoundry-concepts.

  4. Review the repository subsection for the content repository. If there is no ref: tag, then the repository uses the master branch. If there is a ref key-value pair, it specifies the branch name of the content repository. For example,

- repository:
  name: cloudfoundry/docs-cloudfoundry-concepts
  ref: '225'

ref: '225' refers to the 225 branch of the docs-cloudfoundry-concepts repository. Cloud Foundry v225 is associated with the PCF v1.6 release.

docs-book-pcfservices's People

Contributors

abbyachau avatar andrewcovarrupivotal avatar animatedmax avatar apeek4 avatar bentarnoff avatar cf-meganmoore avatar cshollingsworth avatar gagank4ur avatar ghanna2017 avatar jacksoncvm avatar jbheron avatar jknostman3 avatar kdolor-pivotal avatar litzell avatar ljarzynski avatar mjgutermuth avatar mlimonczenko avatar ograves-pivotal avatar pivotal-gabriel-dumitrescu avatar pspinrad avatar radaeze avatar richardjjg avatar robertjsullivan avatar samze avatar scribblingfox avatar seviet avatar snneji avatar tehall16 avatar theckkw avatar vikafed 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.