[[!meta title="Creating technical API documentation and presentations using org-babel, restclient, and org-treeslide"]] [[!meta copyright="Copyright © 2021 Jan Ypma"]] [[!inline pages="internal(2021/info/tech-nav)" raw="yes"]] # Creating technical API documentation and presentations using org-babel, restclient, and org-treeslide Jan Ypma The emacs org-babel package is often mentioned in conjunction with literate programming. The ability to mix code segments with prose indeed offers an intuitive way to augment semantic code pieces with textual descriptions. In recent projects, I've started to turn to org-mode as the primary format to maintain technical documentation, as well as slides for a technical language course. By using org-babel to pull in "live" code for REST requests, language examples, and shell scripts, one can be sure that the documentation and slides are never out of date. Two cases are presented: - API documentation for a REST service (exported from org to html and PDF) - Slides for a Java Microservice course (presented within emacs, handouts in 2 styles as PDF) The session will show how leverage org-babel, restclient, org-treeslide, as well as show how to create your own language backend for org-babel to make sure your own preferred workflow is used. # Outline - 5-10 minutes: We'll pick one of the two use cases and briefly show it and its result. [[!inline pages="internal(2021/info/tech-schedule)" raw="yes"]] [[!inline pages="internal(2021/info/tech-nav)" raw="yes"]]