With the "everything as a code" approach, it's natural to treat documentation as a code and use the same source code management and delivery techniques. I know how to create and deliver documents. And now I found my missing link, static content generator - pandoc.