Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
awesim-documentation
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gateways
awesim-documentation
Wiki
Embeding tutorial into app from wiki
Changes
Page history
New page
Templates
Clone repository
copy from awesim-dev-dashboard wiki
authored
8 years ago
by
Eric Franz
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Embeding-tutorial-into-app-from-wiki.md
+11
-0
11 additions, 0 deletions
Embeding-tutorial-into-app-from-wiki.md
with
11 additions
and
0 deletions
Embeding-tutorial-into-app-from-wiki.md
0 → 100644
View page @
cdf1f31a
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
This diff is collapsed.
Click to expand it.