Skip to content

Commit

Permalink
fix a few broken links in the homepage, closes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Feb 7, 2020
1 parent bad1024 commit 82cc162
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all: core
.PHONY: all core c r python

CVERSION?=0.8.0
RVERSION?=1.2.4.1
RVERSION?=1.2.4.2
PYVERSION?=master

CREPO=https://github.com/igraph/igraph
Expand Down
2 changes: 1 addition & 1 deletion _includes/rbasepkg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a href="http://www.inside-r.org/r-doc/{{ include.p }}"><code class="rpkg">{{ include.p }}</code></a>
<a href="https://rdrr.io/r/{{ include.p }}/{{ include.p }}-package.html"><code class="rpkg">{{ include.p }}</code></a>
2 changes: 1 addition & 1 deletion _includes/rpkg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a href="http://www.inside-r.org/packages/cran/{{ include.p }}"><code class="rpkg">{{ include.p }}</code></a>
<a href="https://rdrr.io/cran/{{ include.p }}/"><code class="rpkg">{{ include.p }}</code></a>
21 changes: 10 additions & 11 deletions docs/r/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,17 +195,17 @@ <h3><span id="rreqopt" class="anchor">&nbsp;</span>
is needed for the ability of reading GraphML files. On
Ubuntu and Debian Linux the <code>lixml2</code> and
<code>libxml2-dev</code> packages are needed.</li>
<li>The <a href="http://www.inside-r.org/r-doc/tcltk"><code class="rpkg">tcltk</code></a>
<li>The <a href="https://rdrr.io/r/tcltk/tcltk-package.html"><code class="rpkg">tcltk</code></a>
R package is needed for
<a href="/r/doc/tkplot.html"><code class="rfun">tkplot</code></a>
and
<a href="/r/doc/tkigraph.html"><code class="rfun">tkigraph</code></a>
to work.</li>
<li>The <a href="http://www.inside-r.org/packages/cran/rgl"><code class="rpkg">rgl</code></a>
<li>The <a href="https://rdrr.io/cran/rgl/"><code class="rpkg">rgl</code></a>
R package is needed for
<a href="/r/doc/rglplot.html"><code class="rfun">rglplot</code></a>
to work.</li>
<li>The <a href="http://www.inside-r.org/packages/cran/ape"><code class="rpkg">ape</code></a>
<li>The <a href="https://rdrr.io/cran/ape/"><code class="rpkg">ape</code></a>
package is needed to
plot nice dendrograms with
<a href="/r/doc/dendPlot.html"><code class="rfun">dendPlot</code></a>
Expand All @@ -223,18 +223,17 @@ <h3><span id="rdoc1" class="anchor">&nbsp;</span>Tutorials</h3>
<!-- <li>Some screenshots and examples are -->
<!-- <a href="">here.</a></li> -->
<li>Type in <code>demo(package="igraph")</code>
(or use <a href="/r/doc/igraphdemo.html"><code class="rfun">igraphdemo</code></a>
if you have
(or use <a href="https://igraph.org/r/doc/igraph_demo.html">igraphdemo()</a> if you have
<span style="white-space:nowrap;">
<a href="http://www.inside-r.org/r-doc/tcltk"><code class="rpkg">tcltk</code></a>
<a href="https://rdrr.io/r/tcltk/tcltk-package.html"><code class="rpkg">tcltk</code></a>
)</span> to get a list of
demos.</li>
</ul>
</p>

<div class="page-header">
<h1><span id="docs" class="anchor">&nbsp;</span>Documentation
<small>&ndash; for version 1.2.4.1
<small>&ndash; for version 1.2.4.2
</small></h1>
</div>

Expand Down Expand Up @@ -276,7 +275,7 @@ <h1><span id="downloads" class="anchor">&nbsp;</span>Downloads</h1>

<h3><span id="rdown" class="anchor">&nbsp;</span>
Latest stable version
&ndash; 1.2.4.1
&ndash; 1.2.4.2

</h3>
<p>
Expand All @@ -287,13 +286,13 @@ <h3><span id="rdown" class="anchor">&nbsp;</span>
<p>
<ul class="icons-ul list-unstyled">
<li><i class="icon-li icon-windows"></i>
<a href="https://cran.r-project.org/bin/windows/contrib/3.6/igraph_1.2.4.1
<a href="https://cran.r-project.org/bin/windows/contrib/r-release/igraph_1.2.4.2
.zip">Windows binary package</a></li>
<li><i class="icon-li icon-apple"></i>
<a href="https://cran.r-project.org/bin/macosx/el-capitan/contrib/3.6/igraph_1.2.4.1
<a href="https://cran.r-project.org/bin/macosx/el-capitan/contrib/r-release/igraph_1.2.4.2
.tgz">Mac OS X universal binary package</a></li>
<li><i class="icon-li icon-file-text"></i>
<a href="https://cran.r-project.org/src/contrib/igraph_1.2.4.1
<a href="https://cran.r-project.org/src/contrib/igraph_1.2.4.2
.tar.gz">Source package</a></li>
</ul>
</p>
Expand Down
6 changes: 3 additions & 3 deletions r/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h3><span id="rdoc1" class="anchor">&nbsp;</span>Tutorials</h3>
<!-- <li>Some screenshots and examples are -->
<!-- <a href="">here.</a></li> -->
<li>Type in <code>demo(package="igraph")</code>
(or use {% include rfun f="igraphdemo" %} if you have
(or use <a href="https://igraph.org/r/doc/igraph_demo.html">igraphdemo()</a> if you have
<span style="white-space:nowrap;">
{% include rbasepkg p="tcltk" %})</span> to get a list of
demos.</li>
Expand Down Expand Up @@ -173,9 +173,9 @@ <h3><span id="rdown" class="anchor">&nbsp;</span>
<p>
<ul class="icons-ul list-unstyled">
<li><i class="icon-li icon-windows"></i>
<a href="https://cran.r-project.org/bin/windows/contrib/3.6/igraph_{% include igraph-rversion %}.zip">Windows binary package</a></li>
<a href="https://cran.r-project.org/bin/windows/contrib/r-release/igraph_{% include igraph-rversion %}.zip">Windows binary package</a></li>
<li><i class="icon-li icon-apple"></i>
<a href="https://cran.r-project.org/bin/macosx/el-capitan/contrib/3.6/igraph_{% include igraph-rversion %}.tgz">Mac OS X universal binary package</a></li>
<a href="https://cran.r-project.org/bin/macosx/el-capitan/contrib/r-release/igraph_{% include igraph-rversion %}.tgz">Mac OS X universal binary package</a></li>
<li><i class="icon-li icon-file-text"></i>
<a href="https://cran.r-project.org/src/contrib/igraph_{% include igraph-rversion %}.tar.gz">Source package</a></li>
</ul>
Expand Down

0 comments on commit 82cc162

Please sign in to comment.