Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 20, 2024
1 parent fa98f65 commit 4edefb7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions _sources/teachers/integrations.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GradeScope

You will need to create an instructor control script (e.g., `ics.py`) and upload it along with the following files:

.. code-block:: console
.. code-block:: bash
:caption: setup.sh
python3 -m pip install pedal
Expand All @@ -23,7 +23,7 @@ You will need to create an instructor control script (e.g., `ics.py`) and upload
# python3 -m pip install git+git://github.com/pedal-edu/curriculum-sneks.git
# python3 -m pip install git+git://github.com/pedal-edu/curriculum-ctvt.git
.. code-block:: console
.. code-block:: bash
:caption: run_autograder
#!/usr/bin/env bash
Expand Down
28 changes: 14 additions & 14 deletions teachers/integrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,25 @@ <h2>GradeScope<a class="headerlink" href="#gradescope" title="Link to this headi
<p>You will need to create an instructor control script (e.g., <code class="xref py py-obj docutils literal notranslate"><span class="pre">ics.py</span></code>) and upload it along with the following files:</p>
<div class="literal-block-wrapper docutils container" id="id1">
<div class="code-block-caption"><span class="caption-text">setup.sh</span><a class="headerlink" href="#id1" title="Link to this code"></a></div>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">python3 -m pip install pedal</span>
<span class="gp"># </span>Or<span class="w"> </span>use<span class="w"> </span>the<span class="w"> </span>development<span class="w"> </span>version<span class="w"> </span>of<span class="w"> </span>Pedal
<span class="gp"># </span>python3<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>git+git://github.com/pedal-edu/pedal.git
<span class="gp"># </span>We<span class="w"> </span>also<span class="w"> </span>have<span class="w"> </span>these<span class="w"> </span>additional<span class="w"> </span>curriculum<span class="w"> </span>libraries<span class="w"> </span>available
<span class="gp"># </span>python3<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>git+git://github.com/pedal-edu/curriculum-sneks.git
<span class="gp"># </span>python3<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>git+git://github.com/pedal-edu/curriculum-ctvt.git
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python3<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>pedal
<span class="c1"># Or use the development version of Pedal</span>
<span class="c1"># python3 -m pip install git+git://github.com/pedal-edu/pedal.git</span>
<span class="c1"># We also have these additional curriculum libraries available</span>
<span class="c1"># python3 -m pip install git+git://github.com/pedal-edu/curriculum-sneks.git</span>
<span class="c1"># python3 -m pip install git+git://github.com/pedal-edu/curriculum-ctvt.git</span>
</pre></div>
</div>
</div>
<div class="literal-block-wrapper docutils container" id="id2">
<div class="code-block-caption"><span class="caption-text">run_autograder</span><a class="headerlink" href="#id2" title="Link to this code"></a></div>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">#</span>!/usr/bin/env<span class="w"> </span>bash
<span class="gp"># </span>Runs<span class="w"> </span>the<span class="w"> </span>first<span class="w"> </span>python<span class="w"> </span>file<span class="w"> </span>that<span class="w"> </span>the<span class="w"> </span>student<span class="w"> </span>submitted
<span class="go">files=( /autograder/submission/*.py )</span>
<span class="go">pedal grade \</span>
<span class="go"> /autograder/source/ics.py \</span>
<span class="go"> &quot;${files[0]}&quot; \</span>
<span class="go"> --environment gradescope \</span>
<span class="go"> --output &quot;/autograder/results/results.json&quot;</span>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/env bash</span>
<span class="c1"># Runs the first python file that the student submitted</span>
<span class="nv">files</span><span class="o">=(</span><span class="w"> </span>/autograder/submission/*.py<span class="w"> </span><span class="o">)</span>
pedal<span class="w"> </span>grade<span class="w"> </span><span class="se">\</span>
<span class="w"> </span>/autograder/source/ics.py<span class="w"> </span><span class="se">\</span>
<span class="w"> </span><span class="s2">&quot;</span><span class="si">${</span><span class="nv">files</span><span class="p">[0]</span><span class="si">}</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--environment<span class="w"> </span>gradescope<span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--output<span class="w"> </span><span class="s2">&quot;/autograder/results/results.json&quot;</span>
</pre></div>
</div>
</div>
Expand Down

0 comments on commit 4edefb7

Please sign in to comment.