Here’s an example docs-as-code build pipeline. It describes a process for checking and testing documentation written in markdown format. After committing and pushing markdown changes to Github, the pipeline will run.
Before you publish written content, you wanna check spelling, lint markdown, improve prose, and fix broken links. This approach uses a builder image specialised for your docs-as-code workflow.