Skip to content

Commit

Permalink
Fix reference link
Browse files Browse the repository at this point in the history
@verdurin reported that one of the links are broken.
The link is broken due the last changes in the lesson style
and because of this all the links will stop working
at some point.

I fixed the link running

~~~
$ for i in *; do sed -i "s/reference\//reference.html/" $i; done
~~~

for on `_includes/dc`, `_includes/lc` and `_includes/sc`.

Close #456
  • Loading branch information
rgaiacs committed Jan 5, 2018
1 parent f58eb1c commit 9bc8dee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions _includes/dc/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3 id="syllabus-shell">The Unix Shell</h3>
<li>Looping over files</li>
<li>Creating and running shell scripts</li>
<li>Finding things</li>
<li><a href="{{site.swc_pages}}/shell-novice/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/shell-novice/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -21,7 +21,7 @@ <h3 id="syllabus-python">Programming in Python</h3>
<li>Loops and conditionals</li>
<li>Defensive programming</li>
<li>Using Python from the command line</li>
<li><a href="{{site.swc_pages}}/python-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/python-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
<!--
Expand All @@ -33,7 +33,7 @@ <h3 id="syllabus-r">Programming in R</h3>
<li>Creating and using functions</li>
<li>Loops and conditionals</li>
<li>Using R from the command line</li>
<li><a href="{{site.swc_pages}}/r-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/r-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
-->
Expand All @@ -46,7 +46,7 @@ <h3 id="syllabus-matlab">Programming in MATLAB</h3>
<li>Creating and using functions</li>
<li>Loops and conditionals</li>
<li>Defensive programming</li>
<li><a href="{{site.swc_pages}}/matlab-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/matlab-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
-->
Expand All @@ -64,7 +64,7 @@ <h3 id="syllabus-git">Version Control with Git</h3>
<li>Resolving conflicts</li>
<li>Open licenses</li>
<li>Where to host work, and why</li>
<li><a href="{{site.swc_pages}}/git-novice/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/git-novice/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -78,7 +78,7 @@ <h3 id="syllabus-sql">Managing Data with SQL</h3>
<li>Combining information from multiple tables using <code>join</code></li>
<li>Creating, modifying, and deleting data</li>
<li>Programming with databases</li>
<li><a href="{{site.swc_pages}}/sql-novice-survey/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/sql-novice-survey/reference.html">Reference...</a></li>
</ul>
</div>
<!--
Expand All @@ -89,7 +89,7 @@ <h3 id="syllabus-r">Open Refine</h3>
<li>Importing data</li>
<li>Basic functions</li>
<li>Advanced Functions</li>
<li><a href="{{site.lc_pages}}library-openrefine/reference">Reference...</a></li>
<li><a href="{{site.lc_pages}}library-openrefine/reference.html">Reference...</a></li>
</ul>
</div>
-->
Expand Down
8 changes: 4 additions & 4 deletions _includes/lc/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3 id="syllabus-python">Data Intro</h3>
<li>Plain text formats</li>
<li>Naming files</li>
<li>Regular expressions</li>
<li><a href="http://data-lessons.github.io/library-data-intro/reference/">Reference...</a></li>
<li><a href="http://data-lessons.github.io/library-data-intro/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -19,7 +19,7 @@ <h3 id="syllabus-shell">The Unix Shell</h3>
<li>Counting and sorting contents in files</li>
<li>Pipes and redirection</li>
<li>Mining or searching in files</li>
<li><a href="http://data-lessons.github.io/library-shell/reference/">Reference...</a></li>
<li><a href="http://data-lessons.github.io/library-shell/reference.html">Reference...</a></li>
</ul>
</div>

Expand All @@ -35,7 +35,7 @@ <h3 id="syllabus-git">Version Control with Git</h3>
<li>Viewing state changes with <code>status</code></li>
<li>Working on the web: <code>clone</code>, <code>pull</code>, <code>push</code>, ...</li>
<li>Where to host work, and why</li>
<li><a href="http://data-lessons.github.io/library-git/reference">Reference...</a></li>
<li><a href="http://data-lessons.github.io/library-git/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -62,7 +62,7 @@ <h3 id="syllabus-sql">SQL Intro</h3>
<li>Filtering with <code>where</code></li>
<li>Combining values using aggregation</li>
<li>Combining information from multiple tables using <code>join</code></li>
<li><a href="http://data-lessons.github.io//library-sql/reference/">Reference...</a></li>
<li><a href="http://data-lessons.github.io//library-sql/reference.html">Reference...</a></li>
</ul>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions _includes/sc/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h3 id="syllabus-shell">The Unix Shell</h3>
<li>Looping over files</li>
<li>Creating and running shell scripts</li>
<li>Finding things</li>
<li><a href="{{site.swc_pages}}/shell-novice/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/shell-novice/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -21,7 +21,7 @@ <h3 id="syllabus-python">Programming in Python</h3>
<li>Loops and conditionals</li>
<li>Defensive programming</li>
<li>Using Python from the command line</li>
<li><a href="{{site.swc_pages}}/python-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/python-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
<!--
Expand All @@ -33,7 +33,7 @@ <h3 id="syllabus-r">Programming in R</h3>
<li>Creating and using functions</li>
<li>Loops and conditionals</li>
<li>Using R from the command line</li>
<li><a href="{{site.swc_pages}}/r-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/r-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
-->
Expand All @@ -46,7 +46,7 @@ <h3 id="syllabus-matlab">Programming in MATLAB</h3>
<li>Creating and using functions</li>
<li>Loops and conditionals</li>
<li>Defensive programming</li>
<li><a href="{{site.swc_pages}}/matlab-novice-inflammation/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/matlab-novice-inflammation/reference.html">Reference...</a></li>
</ul>
</div>
-->
Expand All @@ -64,7 +64,7 @@ <h3 id="syllabus-git">Version Control with Git</h3>
<li>Resolving conflicts</li>
<li>Open licenses</li>
<li>Where to host work, and why</li>
<li><a href="{{site.swc_pages}}/git-novice/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/git-novice/reference.html">Reference...</a></li>
</ul>
</div>
<div class="col-md-6">
Expand All @@ -78,7 +78,7 @@ <h3 id="syllabus-sql">Managing Data with SQL</h3>
<li>Combining information from multiple tables using <code>join</code></li>
<li>Creating, modifying, and deleting data</li>
<li>Programming with databases</li>
<li><a href="{{site.swc_pages}}/sql-novice-survey/reference/">Reference...</a></li>
<li><a href="{{site.swc_pages}}/sql-novice-survey/reference.html">Reference...</a></li>
</ul>
</div>
<!--
Expand All @@ -89,7 +89,7 @@ <h3 id="syllabus-r">Open Refine</h3>
<li>Importing data</li>
<li>Basic functions</li>
<li>Advanced Functions</li>
<li><a href="{{site.lc_pages}}library-openrefine/reference">Reference...</a></li>
<li><a href="{{site.lc_pages}}library-openrefine/reference.html">Reference...</a></li>
</ul>
</div>-->
</div>

0 comments on commit 9bc8dee

Please sign in to comment.