/docs-bosh

The docs repo for BOSH

Primary LanguageHTMLApache License 2.0Apache-2.0

General documentation for BOSH. We render these docs with mkdocs using a slightly-adapted material theme, and you can find a rendered version of these docs at bosh.io/docs.

Development

For local development:

  • Clone this repo.
  • Initialize the submodule (external/bpm-release).
  • Use Docker start a local server.
git clone https://github.com/cloudfoundry/docs-bosh.git
cd docs-bosh

git submodule update --init --recursive

# for quick development reloads
docker run --rm -it -p 8000:8000 -v "${PWD}:/docs" \
  squidfunk/mkdocs-material:2.7.2 \
  -- serve --dev-addr=0.0.0.0:8000 --dirtyreload

# for a production-like build environment (link checking, etc.)
docker run --rm -it -p 8000:8000 -v "${PWD}:/docs" \
  squidfunk/mkdocs-material:2.7.2

You can then make changes in a text editor, and refresh in a local browser at localhost:8000.