README: link to HTML documentation on Read the Docs
[FFT-tools.git] / README
diff --git a/README b/README
index 81866bc3efa8619ee028103f4bc622403b86a93c..d2efadf38d68c56b25947c10acd9e4bd4a74a444 100644 (file)
--- a/README
+++ b/README
@@ -4,7 +4,6 @@ This package wraps NumPy's fft module to produce unitary transforms
 and power spectra of real numbers in one dimension.  See the code for
 the technical details.
 
-
 Installation
 ============
 
@@ -21,7 +20,6 @@ overlay`_.  Install with::
     # layman --add wtk
     # emerge -av dev-python/FFT-tools
 
-
 Dependencies
 ------------
 
@@ -34,38 +32,46 @@ Package  Debian_       Gentoo_
 NumPy_   python-numpy  dev-python/numpy
 =======  ============  ================
 
-
 Installing by hand
 ------------------
 
 FFT-tools is available as a Git_ repository::
 
-    $ git clone http://www.physics.drexel.edu/~wking/code/git/FFT-tools.git
+    $ git clone git://tremily.us/FFT-tools.git
 
 See the homepage_ for details.  To install the checkout, run the
 standard::
 
     $ python setup.py install
 
+Building the HTML docs
+----------------------
+
+The module objects are documented in the `NumPy/SciPy documentation
+style`_.  You should be able to build this documentation with Sphinx_
+and the numpydoc_ extension.  I haven't been able to get numpydoc
+working cleanly, but you can still build a decent version of the docs
+from the ``doc`` subdirectory with::
+
+    $ make SPHINXBUILD=sphinx-build-2.7 dirhtml
+
+This documentation is available on `Read the Docs`_.
 
 Usage
 =====
 
-See the tests in `FFT_tools.py` for simple examples.
-
+See the tests in ``FFT_tools.py`` for simple examples.
 
 Testing
 =======
 
-Run internal unit tests with::
+Run internal unit tests using Nose_::
 
-    $ python -m FFT_tools
+    $ nosetests --with-doctest --doctest-tests -vv FFT_tools.py
 
 If you want to plot the test results (useful for debugging), you'll
-need to install matplotlib_.  Then run::
-
-    $ python -m FFT_tools --plot
-
+need to install matplotlib_ and set ``TEST_PLOTS`` to ``True`` in
+``FFT_tools.py`` before invoking Nose.
 
 Licence
 =======
@@ -74,22 +80,18 @@ This project is distributed under the `GNU General Public License
 Version 3`_ or greater.
 
 
-Author
-======
-
-W. Trevor King
-wking@drexel.edu
-Copyright 2007-2011
-
-
 .. _layman: http://layman.sourceforge.net/
-.. _wtk overlay:
-     http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_overlay
+.. _wtk overlay: http://blog.tremily.us/posts/Gentoo_overlay
 .. _Debian: http://www.debian.org/
 .. _Gentoo: http://www.gentoo.org/
 .. _NumPy: http://numpy.scipy.org/
 .. _Git: http://git-scm.com/
-.. _homepage:
-     http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/FFT-tools/
+.. _homepage: http://blog.tremily.us/posts/FFT-tools/
 .. _matplotlib: http://matplotlib.sourceforge.net/
+.. _NumPy/SciPy documentation style:
+   https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
+.. _Sphinx: http://sphinx-doc.org/
+.. _numpydoc: https://github.com/numpy/numpy/tree/master/doc/sphinxext
+.. _Read the Docs: https://fft-tools.readthedocs.org/en/latest/
+.. _Nose: http://somethingaboutorange.com/mrl/projects/nose/
 .. _GNU General Public License Version 3: http://www.gnu.org/licenses/gpl.txt