Example documentation for a tutorial for an app is here: https://github.com/AweSim-OSC/fansim/wiki
To embed it in to an app, for now we do a manual process of:
- open wiki in chrome and open developer tools
- select element for the body of the wiki
<div id="wiki-body" class="gollum-markdown-content instapaper_body">
- paste this html into the body of a bootstrap branded page surrounded by
<div class="span10 offset1">
- copy the images from the wiki repo to the app assets directory, and fix the image links in the new tutorial page
- copy the input files from the wiki repo to the app assets directory, and fix the links in the new tutorial page
- Add id to each
h3
so the table of contents anchor links at the top of the wiki page works