changeset 59:9ed0088bf27f kai

Remove the fancy download stuff. Make plain static page.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 11 Oct 2016 16:00:52 +0200
parents 2e2e9feba1f3
children ca344ecdfffa
files _includes/footer.html _includes/install.html css/octave.css download.md
diffstat 4 files changed, 62 insertions(+), 132 deletions(-) [+]
line wrap: on
line diff
--- a/_includes/footer.html	Tue Oct 11 15:59:18 2016 +0200
+++ b/_includes/footer.html	Tue Oct 11 16:00:52 2016 +0200
@@ -13,18 +13,4 @@
     x.className = "topnav";
   }
 }
-
-function openCity(evt, cityName) {
-  var i, tabcontent, tablinks;
-  tabcontent = document.getElementsByClassName("tabcontent");
-  for (i = 0; i < tabcontent.length; i++) {
-    tabcontent[i].style.display = "none";
-  }
-  tablinks = document.getElementsByClassName("tablinks");
-  for (i = 0; i < tablinks.length; i++) {
-    tablinks[i].className = tablinks[i].className.replace(" active", "");
-  }
-  document.getElementById(cityName).style.display = "block";
-  evt.currentTarget.className += " active";
-}
 </script>
--- a/_includes/install.html	Tue Oct 11 15:59:18 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-<ul class="tab">
-  <li><a href="javascript:void(0);" class="tablinks" onclick="openCity(event, 'Source')">Source</a></li>
-  <li><a href="javascript:void(0);" class="tablinks" onclick="openCity(event, 'GNU/Linux')">GNU/Linux</a></li>
-  <li><a href="javascript:void(0);" class="tablinks" onclick="openCity(event, 'Mac')">Mac</a></li>
-  <li><a href="javascript:void(0);" class="tablinks" onclick="openCity(event, 'BSD')">BSD</a></li>
-  <li><a href="javascript:void(0);" class="tablinks" onclick="openCity(event, 'Windows')">Windows</a></li>
-</ul>
-
-<div id="Source" class="tabcontent">
-  <p>
-    The latest released version of Octave is always available from
-    <a href="ftp://ftp.gnu.org/gnu/octave">ftp://ftp.gnu.org/gnu/octave</a>.
-  </p>
-  <p>
-    If you are interested in working with the latest version of the
-    Octave sources, check out
-    the <a href="get-involved.html">resources for developers</a>.
-  </p>
-</div>
-
-<div id="GNU/Linux" class="tabcontent">
-  <p>
-    Executable versions of Octave for GNU/Linux systems are provided
-    by the individual distributions.  Distributions known to package
-    Octave include: <a href="http://debian.org">Debian</a>,
-    <a href="http://fedoraproject.org">Fedora</a>,
-    <a href="http://gentoo.org">Gentoo</a>,
-    and <a href="http://opensuse.org">SuSE</a>.  These packages are
-    created by volunteers.  The delay between an Octave source release
-    and the availability of a package for a particular GNU/Linux
-    distribution varies.  The Octave project has no control over that
-    process.
-  </p>
-</div>
-
-<div id="Mac" class="tabcontent">
-  <p>
-    The Wiki has some instructions for
-    <a href="http://wiki.octave.org/Octave_for_MacOS_X">installing
-    Octave on OS X systems</a>.
-  </p>
-</div>
-
-<div id="BSD" class="tabcontent">
-  <p>
-    Executable versions of Octave for BSD systems are provided
-    by the individual distributions.
-    Both <a href="http://freebsd.org">FreeBSD</a>
-    and <a href="http://openbsd.org">OpenBSD</a> have Octave
-    packages.  These packages are created by volunteers.  The delay
-    between an Octave source release and the availability of a package
-    for a particular GNU/Linux distribution varies.  The Octave
-    project has no control over that process.
-  </p>
-</div>
-
-<div id="Windows" class="tabcontent">
-  <p>
-    Windows binaries with corresponding source code can be downloaded from
-    <a href="https://ftp.gnu.org/gnu/octave/windows/">https://ftp.gnu.org/gnu/octave/windows/</a>
-  </p>
-</div>
--- a/css/octave.css	Tue Oct 11 15:59:18 2016 +0200
+++ b/css/octave.css	Tue Oct 11 16:00:52 2016 +0200
@@ -195,58 +195,3 @@
     margin-right: 10%;
   }
 }
-
-ul.tab {
-  list-style-type: none;
-  margin: 0;
-  padding: 0;
-  overflow: hidden;
-  background-color: #0790c0;
-}
-
-ul.tab li {
-  float: left;
-}
-
-ul.tab li a {
-  display: inline-block;
-  color: white;
-  text-align: center;
-  padding: 14px 16px;
-  text-decoration: none;
-  transition: 0.3s;
-  font-size: 20px;
-}
-
-ul.tab li a:hover {
-  background-color: #555;
-}
-
-ul.tab li a:focus, .active {
-  background-color: #555;
-}
-
-.tabcontent {
-  display: none;
-  padding: 6px 12px;
-  -webkit-animation: fadeEffect 1s;
-  animation: fadeEffect 1s;
-}
-
-@-webkit-keyframes fadeEffect {
-  from {
-    opacity: 0;
-  }
-  to {
-    opacity: 1;
-  }
-}
-
-@keyframes fadeEffect {
-  from {
-    opacity: 0;
-  }
-  to {
-    opacity: 1;
-  }
-}
--- a/download.md	Tue Oct 11 15:59:18 2016 +0200
+++ b/download.md	Tue Oct 11 16:00:52 2016 +0200
@@ -4,4 +4,65 @@
 menu: true
 ---
 
-{% include install.html %}
+## Source
+
+The latest released version of Octave is always available from
+[ftp://ftp.gnu.org/gnu/octave](ftp://ftp.gnu.org/gnu/octave).
+
+If you are interested in working with the latest version of the
+Octave sources, just clone the [Mercurial][1] development repository
+
+{% highlight text %}
+hg clone http://www.octave.org/hg/octave
+{% endhighlight %}
+
+More information is given [here]({{ "contribute.html" | relative_url }}).
+
+[1]: https://www.mercurial-scm.org
+
+
+
+## GNU/Linux
+
+Executable versions of Octave for GNU/Linux systems are provided
+by the individual distributions.
+Distributions known to package Octave include:
+[Debian][2], [Ubuntu][3], [Fedora][4], [Gentoo][5], and [openSUSE][6].
+These packages are created by volunteers.
+The delay between an Octave source release and the availability
+of a package for a particular GNU/Linux distribution varies.
+The Octave project has no control over that process.
+
+[2]: https://packages.debian.org/octave
+[3]: http://packages.ubuntu.com/octave
+[4]: https://apps.fedoraproject.org/packages/octave
+[5]: https://packages.gentoo.org/packages/sci-mathematics/octave
+[6]: https://en.opensuse.org/Octave
+
+
+
+## Mac
+
+The Wiki has some instructions for
+[installing Octave on OS X systems][7].
+
+[7]: http://wiki.octave.org/Octave_for_MacOS_X
+
+
+
+## BSD
+
+Executable versions of Octave for BSD systems are provided
+by the individual distributions.
+Both <a href="http://freebsd.org">FreeBSD</a>
+and <a href="http://openbsd.org">OpenBSD</a> have Octave
+packages.  These packages are created by volunteers.  The delay
+between an Octave source release and the availability of a package
+for a particular GNU/Linux distribution varies.  The Octave
+project has no control over that process.
+
+
+# Windows
+
+Windows binaries with corresponding source code can be downloaded from
+[https://ftp.gnu.org/gnu/octave/windows/](https://ftp.gnu.org/gnu/octave/windows/).