OpenShift documentation is built and deployed on an OpenShift Dedicated cluster using a source-to-image build pipeline.
The source-to-image builder image is built from a community project in GitHub and published to https://quay.io/repository/openshift-cs/docs-builder.
Deploying the OpenShift documentation is simplified by using a pre-built OpenShift template YAML.
You can use the following command to deploy the OpenShift Container Platform (commercial) documentation:
oc new-app https://raw.githubusercontent.com/openshift-cs/docs-builder/main/template.yaml \
-p NAME=docs-openshift-com \
-p PACKAGE=commercial \
-p APPLICATION_DOMAIN=docs.openshift.com \
-p BUILD_REPO=https://github.com/openshift/openshift-docs.git \
-p BUILD_BRANCH=main
You can use the following command to deploy the OKD (community) documentation
oc new-app https://raw.githubusercontent.com/openshift-cs/docs-builder/main/template.yaml \
-p NAME=docs-openshift-com \
-p PACKAGE=community \
-p APPLICATION_DOMAIN=docs.openshift.com \
-p BUILD_REPO=https://github.com/openshift/openshift-docs.git \
-p BUILD_BRANCH=main