# HG changeset patch
# User Philip Jenvey <pjenvey@underboss.org>
# Date 1514231811 28800
#      Mon Dec 25 11:56:51 2017 -0800
# Branch extradoc
# Node ID 4c67f0934073ea1db4ce5e6d49b85d837a78a872
# Parent  51a69a2367a03b9bf339e63f36b6b86f14dbab02
fix download links

diff --git a/download.html b/download.html
--- a/download.html
+++ b/download.html
@@ -115,50 +115,40 @@
 </div>
 <div class="section" id="python2-7-compatible-pypy-5-10-0">
 <span id="release"></span><h1>Python2.7 compatible PyPy 5.10.0</h1>
-<div class="system-message">
-<p class="system-message-title">System Message: WARNING/2 (<tt class="docutils">[dynamic-text]</tt>, line 78)</p>
-<p>Title underline too short.</p>
-<pre class="literal-block">
-Python2.7 compatible PyPy 5.10.0
--------------------------------
-</pre>
-</div>
 <ul class="simple">
-<li><a href="#id36"><span class="problematic" id="id37">`Linux x86 binary (32bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id38">`Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id39">`ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Raspbian)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id40">`ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Ubuntu Raring)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id41">`ARM Softfloat Linux binary (ARMEL/gnueabi, tar.bz2,  Ubuntu Precise)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id42">`Mac OS X binary (64bit)`__</span></a> (High Sierra)</li>
-<li><a href="#id36"><span class="problematic" id="id43">`Mac OS X binary (64bit) (2)`__</span></a> (Sierra and below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux32.tar.bz2">Linux x86 binary (32bit, tar.bz2 built on Ubuntu 12.04 - 16.04)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux64.tar.bz2">Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armhf-raspbian.tar.bz2">ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Raspbian)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armhf-raring.tar.bz2">ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Ubuntu Raring)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armel.tar.bz2">ARM Softfloat Linux binary (ARMEL/gnueabi, tar.bz2,  Ubuntu Precise)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-osx64.tar.bz2">Mac OS X binary (64bit)</a></li>
 <li>FreeBSD x86 and x86_64: see <a class="reference external" href="http://www.freshports.org/lang/pypy">FreshPorts</a></li>
-<li><a href="#id36"><span class="problematic" id="id44">`Windows binary (32bit)`__</span></a> (you might need the VS 2008 runtime library
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-win32.zip">Windows binary (32bit)</a> (you might need the VS 2008 runtime library
 installer <a class="reference external" href="http://www.microsoft.com/en-us/download/details.aspx?id=5582">vcredist_x86.exe</a>.)</li>
-<li><a href="#id36"><span class="problematic" id="id45">`PowerPC PPC64 Linux binary (64bit big-endian, Fedora 20)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id46">`PowerPC PPC64le Linux binary (64bit little-endian, Fedora 21)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id47">`s390x Linux binary (tar.bz2 built on Redhat Linux 7.2)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id48">`Source (tar.bz2)`__</span></a>; <a href="#id36"><span class="problematic" id="id49">`Source (zip)`__</span></a>.  See below for more about the sources.</li>
-<li><a href="#id36"><span class="problematic" id="id50">`All our downloads,`__</span></a> including previous versions.  We also have a
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64.tar.bz2">PowerPC PPC64 Linux binary (64bit big-endian, Fedora 20)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64le.tar.bz2">PowerPC PPC64le Linux binary (64bit little-endian, Fedora 21)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-s390x.tar.bz2">s390x Linux binary (tar.bz2 built on Redhat Linux 7.2)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-src.tar.bz2">Source (tar.bz2)</a>; <a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-src.zip">Source (zip)</a>.  See below for more about the sources.</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads">All our downloads,</a> including previous versions.  We also have a
 <a class="reference external" href="http://buildbot.pypy.org/mirror/">mirror</a>, but please use only if you have troubles accessing the links above</li>
 </ul>
 </div>
 <div class="section" id="python-3-5-3-compatible-pypy3-5-v5-10">
 <h1>Python 3.5.3 compatible PyPy3.5 v5.10</h1>
-<div class="system-message">
-<p class="system-message-title">System Message: WARNING/2 (<tt class="docutils">[dynamic-text]</tt>, line 116)</p>
-<p>Title underline too short.</p>
-<pre class="literal-block">
-Python 3.5.3 compatible PyPy3.5 v5.10
-------------------------------------
-</pre>
-</div>
 <p class="download-menu">Warning: PyPy3.5 is known to be rarely much slower than
 PyPy 2.  You are welcome to use it anyway</p>
 <ul class="simple">
-<li><a href="#id36"><span class="problematic" id="id51">`Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__</span></a> (see <tt class="docutils literal">[1]</tt> below)</li>
-<li><a href="#id36"><span class="problematic" id="id52">`Source (tar.bz2)`__</span></a></li>
-<li><a href="#id36"><span class="problematic" id="id53">`Source (zip)`__</span></a></li>
-<li><a href="#id36"><span class="problematic" id="id54">`All our downloads,`__</span></a> including previous versions.  We also have a
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux32.tar.bz2">Linux x86 binary (32bit, tar.bz2 built on Ubuntu 12.04 - 16.04)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux64.tar.bz2">Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux-armhf-raspbian.tar.bz2">ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Raspbian)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux-armel.tar.bz2">ARM Softfloat Linux binary (ARMEL/gnueabi, tar.bz2,  Ubuntu Precise)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-osx64.tar.bz2">Mac OS X binary (64bit)</a> (High Sierra)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-osx64-2.tar.bz2">Mac OS X binary (64bit) (2)</a> (Sierra and below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-win32.zip">Windows binary (32bit)</a> (you might need the VS 2008 runtime library
+installer <a class="reference external" href="http://www.microsoft.com/en-us/download/details.aspx?id=5582">vcredist_x86.exe</a>.)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-s390x.tar.bz2">s390x Linux binary (tar.bz2 built on Redhat Linux 7.2)</a> (see <tt class="docutils literal">[1]</tt> below)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-src.tar.bz2">Source (tar.bz2)</a>; <a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-src.zip">Source (zip)</a>.  See below for more about the sources.</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads">All our downloads,</a> including previous versions.  We also have a
 <a class="reference external" href="http://buildbot.pypy.org/mirror/">mirror</a>, but please use only if you have troubles accessing the links above</li>
 </ul>
 <p>If your CPU is really, really old, it may be a x86-32 without SSE2.
@@ -177,7 +167,7 @@
 <p>This is a special version of PyPy!  See the <a class="reference external" href="http://doc.pypy.org/en/latest/stm.html">Software Transactional
 Memory</a> (STM) documentation.</p>
 <ul class="simple">
-<li><a href="#id36"><span class="problematic" id="id55">`PyPy-STM Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__</span></a></li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-stm-2.5.1-linux64.tar.bz2">PyPy-STM Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)</a></li>
 </ul>
 </div>
 <div class="section" id="other-versions">
@@ -188,8 +178,8 @@
 release is too old for what you want to do. There are versions for
 different libc on this site too.</li>
 <li>Reverse debugger: This version enables debugging your Python
-programs by going forward and backward in time.  See the <a href="#id36"><span class="problematic" id="id56">`RevDB
-documentation`__</span></a>.</li>
+programs by going forward and backward in time.  See the <a class="reference external" href="https://bitbucket.org/pypy/revdb/">RevDB
+documentation</a>.</li>
 </ul>
 <ul class="simple">
 <li>Sandboxing: A special safe version.  Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>.
@@ -198,7 +188,7 @@
 version, or otherwise play around on your own.  We provide this
 documentation only for historical reasons.  Please do not use in
 production.  For reference, there are some very old, unmaintained
-binaries for Linux (<a href="#id36"><span class="problematic" id="id57">32bit__</span></a>, <a href="#id36"><span class="problematic" id="id58">64bit__</span></a>).</li>
+binaries for Linux (<a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-sandbox-linux64.tar.bz2">32bit</a>, <a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-sandbox-linux.tar.bz2">64bit</a>).</li>
 </ul>
 </div>
 <div class="section" id="installing">
@@ -239,7 +229,7 @@
 </div>
 <div class="section" id="numpypy">
 <h2>2. NumPyPy</h2>
-<p>The &ldquo;numpy&rdquo; module can also be installed from <a href="#id36"><span class="problematic" id="id59">`our own repository`__</span></a> rather
+<p>The &ldquo;numpy&rdquo; module can also be installed from <a class="reference external" href="https://bitbucket.org/pypy/numpy">our own repository</a> rather
 than from the official source.  This version uses our
 built-in <tt class="docutils literal">_numpypy</tt> multiarray replacement module, written in RPython.
 This module is not complete, but if it works it should give correct answers.
@@ -263,7 +253,7 @@
 </pre>
 <p>Note again that this version is incomplete: many things do
 not work and those that do may not be any faster than NumPy on CPython.
-For further instructions see <a href="#id36"><span class="problematic" id="id60">`the pypy/numpy repository`__</span></a> and the
+For further instructions see <a class="reference external" href="https://bitbucket.org/pypy/numpy">the pypy/numpy repository</a> and the
 <a class="reference external" href="http://doc.pypy.org/en/latest/faq.html#should-i-install-numpy-or-numpypy">FAQ question</a> about the difference between the two.</p>
 </div>
 </div>
@@ -281,10 +271,10 @@
 <p>Alternatively, the following smaller package contains the source at
 the same revision as the above binaries:</p>
 <ul class="simple">
-<li><a href="#id36"><span class="problematic" id="id61">`pypy2-v5.10.0-src.tar.bz2`__</span></a> (sources)</li>
+<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-src.tar.bz2">pypy2-v5.10.0-src.tar.bz2</a> (sources)</li>
 </ul>
 </li>
-<li><p class="first">Make sure you <strong>installed the dependencies.</strong>  See the list <a href="#id36"><span class="problematic" id="id62">here__</span></a>.</p>
+<li><p class="first">Make sure you <strong>installed the dependencies.</strong>  See the list <a class="reference external" href="http://pypy.readthedocs.org/en/latest/build.html#install-build-time-dependencies">here</a>.</p>
 </li>
 <li><p class="first">Enter the <tt class="docutils literal">goal</tt> directory:</p>
 <pre class="literal-block">
@@ -440,13 +430,6 @@
 96cf354fb410599cd5acd21732855e25e742e13eac7dc079c0c02b0625908cb9  pypy3-v5.10.0-src.zip
 2d93bf2bd7b1d031b96331d3fde6cacdda95673ce6875d6d1669c4c0ea2a52bc  pypy3-v5.10.0-win32.zip</blockquote>
 </div>
-<div class="system-messages section">
-<h1>Docutils System Messages</h1>
-<div class="system-message" id="id36">
-<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">[dynamic-text]</tt>); <em>backlinks: <a href="#id37">1</a>, <a href="#id38">2</a>, <a href="#id39">3</a>, <a href="#id40">4</a>, <a href="#id41">5</a>, <a href="#id42">6</a>, <a href="#id43">7</a>, <a href="#id44">8</a>, <a href="#id45">9</a>, <a href="#id46">10</a>, <a href="#id47">11</a>, <a href="#id48">12</a>, <a href="#id49">13</a>, <a href="#id50">14</a>, <a href="#id51">15</a>, <a href="#id52">16</a>, <a href="#id53">17</a>, <a href="#id54">18</a>, <a href="#id55">19</a>, <a href="#id56">20</a>, <a href="#id57">21</a>, <a href="#id58">22</a>, <a href="#id59">23</a>, <a href="#id60">24</a>, <a href="#id61">25</a>, <a href="#id62">26</a></em></p>
-Anonymous hyperlink mismatch: 26 references but 35 targets.
-See &ldquo;backrefs&rdquo; attribute for IDs.</div>
-</div>
 </div>
 <div id="sidebar">
 </div>
diff --git a/source/download.txt b/source/download.txt
--- a/source/download.txt
+++ b/source/download.txt
@@ -80,15 +80,14 @@
 .. _release:
 
 Python2.7 compatible PyPy 5.10.0
--------------------------------
+--------------------------------
 
 * `Linux x86 binary (32bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__ (see ``[1]`` below)
 * `Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__ (see ``[1]`` below)
 * `ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Raspbian)`__ (see ``[1]`` below)
 * `ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Ubuntu Raring)`__ (see ``[1]`` below)
 * `ARM Softfloat Linux binary (ARMEL/gnueabi, tar.bz2,  Ubuntu Precise)`__ (see ``[1]`` below)
-* `Mac OS X binary (64bit)`__ (High Sierra)
-* `Mac OS X binary (64bit) (2)`__ (Sierra and below)
+* `Mac OS X binary (64bit)`__
 * FreeBSD x86 and x86_64: see FreshPorts_
 * `Windows binary (32bit)`__ (you might need the VS 2008 runtime library
   installer `vcredist_x86.exe`_.)
@@ -105,7 +104,6 @@
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armhf-raring.tar.bz2
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armel.tar.bz2
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-osx64.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-osx64-2.tar.bz2
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-win32.zip
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64.tar.bz2
 .. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64le.tar.bz2
@@ -118,31 +116,36 @@
 .. _FreshPorts: http://www.freshports.org/lang/pypy
 
 Python 3.5.3 compatible PyPy3.5 v5.10
-------------------------------------
+-------------------------------------
 
 .. class:: download_menu
 
     Warning: PyPy3.5 is known to be rarely much slower than
     PyPy 2.  You are welcome to use it anyway
 
+* `Linux x86 binary (32bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__ (see ``[1]`` below)
 * `Linux x86-64 binary (64bit, tar.bz2 built on Ubuntu 12.04 - 16.04)`__ (see ``[1]`` below)
-* `Source (tar.bz2)`__
-* `Source (zip)`__
+* `ARM Hardfloat Linux binary (ARMHF/gnueabihf, tar.bz2, Raspbian)`__ (see ``[1]`` below)
+* `ARM Softfloat Linux binary (ARMEL/gnueabi, tar.bz2,  Ubuntu Precise)`__ (see ``[1]`` below)
+* `Mac OS X binary (64bit)`__ (High Sierra)
+* `Mac OS X binary (64bit) (2)`__ (Sierra and below)
+* `Windows binary (32bit)`__ (you might need the VS 2008 runtime library
+  installer `vcredist_x86.exe`_.)
+* `s390x Linux binary (tar.bz2 built on Redhat Linux 7.2)`__ (see ``[1]`` below)
+* `Source (tar.bz2)`__; `Source (zip)`__.  See below for more about the sources.
 * `All our downloads,`__ including previous versions.  We also have a
   mirror_, but please use only if you have troubles accessing the links above
 
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux32.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux64.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armhf-raspbian.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armhf-raring.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-linux-armel.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-osx64.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-win32.zip
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-ppc64le.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-s390x.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-src.tar.bz2
-.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-src.zip
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux32.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux64.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux-armhf-raspbian.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-linux-armel.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-osx64.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-osx64-2.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-win32.zip
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-s390x.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-src.tar.bz2
+.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.0-src.zip
 .. __: https://bitbucket.org/pypy/pypy/downloads
 
 If your CPU is really, really old, it may be a x86-32 without SSE2.