|
|
|
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:
|
|
|
|
|
|
|
|
1. open wiki in chrome and open developer tools
|
|
|
|
2. select element for the body of the wiki `<div id="wiki-body" class="gollum-markdown-content instapaper_body">`
|
|
|
|
3. paste this html into the body of a bootstrap branded page surrounded by `<div class="span10 offset1">`
|
|
|
|
4. copy the images from the wiki repo to the app assets directory, and fix the image links in the new tutorial page
|
|
|
|
5. copy the input files from the wiki repo to the app assets directory, and fix the links in the new tutorial page
|
|
|
|
6. Add id to each `h3` so the table of contents anchor links at the top of the wiki page works
|
|
|
|
|