Docs-as-code is an approach to writing and publishing documentation with the same tools and processes developers use to create code.
Developers do the following:
- Author code.
- Create some kind of executable.
- Do unit tests.
- Push to GitHub.
- Create PR with reviewers.
- Do the edit/review/push cycle.
- Merge the changes.
It's much like the developer appoach.
Tech writers do the following:
-
Author documentation.
-
Push to GitHub.
-
Create a PR with reviewers.
-
Do the edit/revise/push cycle.
-
Merge changes.