This chapter is focused on administrators.
Documentation & Website
For phpDocumentor we aim to have a fully automated documentation generation process. This chapter explains how our internal infrastructure works, and what needs to be done when a new version of phpDocumentor is released.
Our website runs on a sponsored Kubernetes cluster with a Rancher interface. We are running a single docker image which is
build by the
Website workflow on github, and published to github packages.
The docker image is based on
nginx:alpine` and containes the assets created by the make target build-website``. The image
contains 3 website definitions running on separate ports.
The ingress configuration of our website contains a set of rules to map the domains to the correct port. Also the separate paths are mapped this way.
Website workflow is triggered after all QA checks are passed. Which will build the
latest tag. When finished
the website will automatically update. This means that
/latest path of all domains will be updated using the latest bleeding
edge version of phpDocumentor.