Skip to content
Tom MacWright edited this page Mar 8, 2016 · 5 revisions

What about including external content in documentation?

We recommend doing this as a pre-processing step. An example is in the partial example: it

  • Has doc sources in content-template
  • Includes lodash for templating
  • Includes a short template.js file that reads content in content-test, templates it (which inserts JavaScript examples inline)
  • You can template.js to template your content. To do this automatically, you can include it in the build task too or in the prestart command so it runs before you start the testing server.

See Also

Applications that are really similar to Docbox: they generate REST API documentation from Markdown documents.

Applications that aren't REST API specific

In-depth REST API specs. These don't use Markdown - they use supersets of Markdown or custom formats. These usually aim to do more than documentation - they can generate SDKs, tests, specs. These aim higher and are more complex, and one might say they aim for a different workflow than Docbox

Clone this wiki locally