Our great sponsors
-
hitchstory
Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
So basically the treat their docs as if it's code, i.e. use version control, CI etc. for it, but it's still not really code.
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.
OK, here is a true code approach to generate wiki pages with embedded Mermaid sequence diagramms. https://github.com/Calpano/featdoc Feedback welcome.