Browse Source

howto

master
zeus 4 years ago
parent
commit
0c7e44cc5f
  1. 23
      swarmlab/main.adoc
  2. 55
      swarmlab/main.adoc.html

23
swarmlab/main.adoc

@ -362,7 +362,7 @@ Learning Objects Notebooks Based on the following structure:
--- # Programming language
name: "test" // <1>
author: "zeus"
intro: "intro" // <2>
intro: "intro" # intro is a file // <2>
base_url: "https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master" // <3>
0_netstat: // <4>
display_name: "netstat" // <5>
@ -403,6 +403,27 @@ Learning Objects Notebooks Based on the following structure:
<14> Challenge spec [Optional]
<15> Difficulty - 1 beginer, 2 intermediate, 3 advanced, 4 expert, 5 guru
This example LO is organized as follows
[source,yaml]
----
/test // <1>
├── 0_netstat // <2>
│   ├── code // <3>
│   ├── codeanswer // <4>
│   ├── codehelp // <5>
│   ├── info // <6>
│   └── q-info // <7>
└── intro // <8>
----
<1> Bare Directory - based on: LabLearningObject Name
<2> Code spec - based on: Task Name
<3> Code snippets to execute
<4> Contain the answer.
<5> Hints.
<6> Task info file.
<7> Question file
<8> Intro file.

55
swarmlab/main.adoc.html

@ -1174,7 +1174,7 @@ Bootstraping is final and no further edits are allowed!!
<pre class="CodeRay highlight"><code data-lang="yaml"><span class="head"><span class="head">---</span></span> <span class="comment"># Programming language</span>
<span class="key">name</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">test</span><span class="delimiter">&quot;</span></span> <i class="conum" data-value="1"></i><b>(1)</b>
<span class="key">author</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">zeus</span><span class="delimiter">&quot;</span></span>
<span class="key">intro</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">intro</span><span class="delimiter">&quot;</span></span> <i class="conum" data-value="2"></i><b>(2)</b>
<span class="key">intro</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">intro</span><span class="delimiter">&quot;</span></span> <span class="comment"># intro is a file </span><i class="conum" data-value="2"></i><b>(2)</b>
<span class="key">base_url</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master</span><span class="delimiter">&quot;</span></span> <i class="conum" data-value="3"></i><b>(3)</b>
<span class="key">0_netstat</span>: <i class="conum" data-value="4"></i><b>(4)</b>
<span class="key">display_name</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">netstat</span><span class="delimiter">&quot;</span></span> <i class="conum" data-value="5"></i><b>(5)</b>
@ -1264,6 +1264,57 @@ Bootstraping is final and no further edits are allowed!!
</tr>
</table>
</div>
<div class="paragraph">
<p>This example LO is organized as follows</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight"><code data-lang="yaml"><span class="error">/test </span><i class="conum" data-value="1"></i><b>(1)</b>
<span class="error">├── 0_netstat </span><i class="conum" data-value="2"></i><b>(2)</b>
<span class="error">│   ├── code </span><i class="conum" data-value="3"></i><b>(3)</b>
<span class="error">│   ├── codeanswer </span><i class="conum" data-value="4"></i><b>(4)</b>
<span class="error">│   ├── codehelp </span><i class="conum" data-value="5"></i><b>(5)</b>
<span class="error">│   ├── info </span><i class="conum" data-value="6"></i><b>(6)</b>
<span class="error">│   └── q-info </span><i class="conum" data-value="7"></i><b>(7)</b>
<span class="error">└── intro </span><i class="conum" data-value="8"></i><b>(8)</b></code></pre>
</div>
</div>
<div class="colist arabic">
<table>
<tr>
<td><i class="conum" data-value="1"></i><b>1</b></td>
<td>Bare Directory - based on: LabLearningObject Name</td>
</tr>
<tr>
<td><i class="conum" data-value="2"></i><b>2</b></td>
<td>Code spec - based on: Task Name</td>
</tr>
<tr>
<td><i class="conum" data-value="3"></i><b>3</b></td>
<td>Code snippets to execute</td>
</tr>
<tr>
<td><i class="conum" data-value="4"></i><b>4</b></td>
<td>Contain the answer.</td>
</tr>
<tr>
<td><i class="conum" data-value="5"></i><b>5</b></td>
<td>Hints.</td>
</tr>
<tr>
<td><i class="conum" data-value="6"></i><b>6</b></td>
<td>Task info file.</td>
</tr>
<tr>
<td><i class="conum" data-value="7"></i><b>7</b></td>
<td>Question file</td>
</tr>
<tr>
<td><i class="conum" data-value="8"></i><b>8</b></td>
<td>Intro file.</td>
</tr>
</table>
</div>
</div>
</div>
</div>
@ -1297,7 +1348,7 @@ Bootstraping is final and no further edits are allowed!!
</div>
<div id="footer">
<div id="footer-text">
Last updated 2020-08-21 14:06:45 UTC
Last updated 2020-08-21 14:38:10 UTC
</div>
</div>
<style>

Loading…
Cancel
Save