Alec Clews
Docs As Code (also known as “Docs Like Code”) is a popular approach to delivering documentation for software projects.
There are three common themes that you can expect to see.
Docs As Code image copyright Anne Gentle. Released under an MIT license.
Use developer tools, and process, to create and deliver content. Specifically:
Text based file content with embedded, lightweight, markup tags. Examples include Markdown, reStructuredText, AsciiDoc
Developer based workflows. For example:
Machine generated content. For example:
Automated testing and verification. For example use:
Continuous delivery, using static site generators (for example Sphinx or Hugo). Note: This process is optional
Check out these great links which can help you dive a little deeper into running the Docs As Code practice with your team, customers or stakeholders.