This is the source repository for the Healthwatch for VMware Tanzu documentation.
In this README:
Note: Use the version-specific branches to create PRs or make changes to the project. The MASTER branch is not updated.
Branch Name | Use for… | URL |
---|---|---|
master | DO NOT USE | n/a |
2.2 | 2.2 | https://docs.vmware.com/en/Healthwatch-for-VMware-Tanzu/2.2/healthwatch/index.html |
2.1 | 2.1 | https://docs.vmware.com/en/Healthwatch-for-VMware-Tanzu/2.1/healthwatch/index.html |
2.0 | 2.0 beta | http://docs.pivotal.io/platform/healthwatch/2-0 |
1.8 | 1.8 | https://docs.pivotal.io/healthwatch/1-8 |
1.7 | 1.7 | https://docs.pivotal.io/healthwatch/1-7 |
1.6 | 1.6 | https://docs.pivotal.io/healthwatch/1-6 |
1.5 | 1.5 | https://docs.pivotal.io/healthwatch/1-5 |
1.4 | 1.4 | https://docs.pivotal.io/healthwatch/1-4 |
1.3 | 1.3 | https://docs.pivotal.io/healthwatch/1-3 |
1.2 | 1.2 | https://docs.pivotal.io/healthwatch/1-2 |
1.1 | 1.1 | https://docs.pivotal.io/healthwatch/1-1 |
1.0 | 1.0 | https://docs.pivotal.io/healthwatch/1-0 |
1.8 and earlier is end of general support.
The 2.1 and later docs have been migrated to docs.vmware.com and are now published using the following tools:
- docworks is the main tool for managing docs used by writers.
- docsdash is a deployment UI which manages the promotion from staging to pre-prod to production. The process below describes how to upload our docs to staging, replacing the publication with the same version.
This repo contains the following files:
- Markdown files live in this repo.
- The table of contents is now in this repo in the healthwatch-toc.md file. Each page requires an entry in the TOC.
- Run a build of the "Healthwatch for VMware Tanzu" project to upload the docs to Docs Dash.
- Review your changes on the staging site https://docs-staging.vmware.com/...
- Wait about 1 minute for processing to complete after uploading.
- Go to https://docsdash.vmware.com/deployment-stage.
Prerequisite Needs additional privileges - reach out to a manager on the docs team #tanzu-docs or ask a writer to do this step for you.
-
Go to Staging publications in docsdash
https://docsdash.vmware.com/deployment-stage -
Select a publication (make sure it's the latest version)
-
Click "Deploy selected to Pre-Prod" and wait for the pop to turn green (refresh if necessary after about 10s)
-
Go to Pre-Prod list
https://docsdash.vmware.com/deployment-pre-prod -
Select a publication
-
Click "Sign off for Release"
-
Wait for your username to show up in the "Signed off by" column
-
Select the publication again
-
Click "Deploy selected to Prod"
Book repo: https://github.com/pivotal-cf/docs-book-healthwatch
Production pipeline: https://concourse.run.pivotal.io/teams/cf-docs/pipelines/cf-services?group=healthwatch
- Clone the docs layout repository into your workspace:
cd ~/workspace
git clone git@github.com:pivotal-cf/docs-layout-repo.git
-
Follow the instructions in https://github.com/pivotal-cf-experimental/bookdocker, with the following modification:
- Before you copy
bookdocker
into your path, manually edit the Dockerfile configuration inside thebookdocker/bookdocker
script fromFROM ruby:2.3
toFROM ruby:2.4
so that it works with the gems we have indocs-pcf-healthwatch
.
- Before you copy
-
cd
intodocs-book-healthwatch
and edit theconfig.yml
-
Under the
sections:
comment out the docs branch that you are not currently working on. This is needed to havebookdocker watch
work as expected.Note: Don't commit this file.
-
-
Run
bookdocker watch
indocs-book-healthwatch
folder, and you will get local preview under:http://127.0.0.1:4567/platform/healthwatch/<VERSION>/installing.html
If it doesn't work, run it again, and again... and if that doesn't work, ask for help in the #pcf-docs Slack channel.