Documentation as Code
Definition
Documentation as Code (Docs-as-Code) is an approach where documentation is treated like source code:
- Stored in version control (Git)
- Written in plain text formats (Markdown)
- Reviewed through pull requests
- Built automatically via CI/CD
- Tested for broken links and errors
This approach keeps documentation close to code, making it easier to keep in sync.
markshare supports this workflow by enabling instant sharing of markdown documentation from the terminal.