|
|
|
|
|
by fesc
1068 days ago
|
|
I am a little bit disappointed. This is just plain old static site generation? By "docs as code" I expected something like programmatically verifying that the code examples compile, maybe even spinning up VMs and testing that the example commands lead to the expected output. |
|
For me, actual "docs as code" would be more like CUE (https://cuelang.org/) - a language with which you can write definitions for e.g. an API, and then use this code to generate docs and validate your API output against.