Jonathan Waltman db9cfa4d1a Speed up search index generation by caching word stemming calls.
Saves about 20 seconds when building the Python documentation.

Here are some stats for building the Python docs on my machine with
and without stem caching.

Without stem caching::

    % rm -fr _build
    % \time sphinx-build -q . _build/html
    158.22user 0.87system 2:39.25elapsed 99%CPU (0avgtext+0avgdata 400800maxresident)k
    104inputs+180240outputs (1major+113472minor)pagefaults 0swaps

    % \time sphinx-build -a -q . _build/html
    91.00user 0.67system 1:31.73elapsed 99%CPU (0avgtext+0avgdata 330704maxresident)k
    0inputs+69864outputs (1major+106009minor)pagefaults 0swaps

With stem caching::

    % rm -fr _build
    % \time sphinx-build -q . _build/html
    137.90user 1.10system 2:20.50elapsed 98%CPU (0avgtext+0avgdata 413344maxresident)k
    18896inputs+180232outputs (1major+113779minor)pagefaults 0swaps

    % \time sphinx-build -a -q . _build/html
    70.04user 0.74system 1:10.87elapsed 99%CPU (0avgtext+0avgdata 345632maxresident)k
    16inputs+69864outputs (1major+108010minor)pagefaults 0swaps
2013-02-18 21:02:51 -06:00
2013-01-01 22:13:15 +01:00
2012-11-03 10:50:50 +01:00
2013-01-03 10:11:18 +01:00
2012-11-04 11:29:47 +01:00
2013-01-01 22:13:15 +01:00
2013-01-01 22:13:15 +01:00
2013-01-01 22:13:15 +01:00
2013-01-01 22:13:15 +01:00
2013-01-01 22:13:15 +01:00
2009-10-26 09:30:43 +01:00

=================
README for Sphinx
=================

Installing
==========

Use ``setup.py``::

   python setup.py build
   sudo python setup.py install


Reading the docs
================

After installing::

   cd doc
   sphinx-build . _build/html

Then, direct your browser to ``_build/html/index.html``.

Or read them online at <http://sphinx-doc.org/>.


Testing
=======

To run the tests with the interpreter available as ``python``, use::

    make test

If you want to use a different interpreter, e.g. ``python3``, use::

    PYTHON=python3 make test


Contributing
============

Send wishes, comments, patches, etc. to sphinx-dev@googlegroups.com.
Description
Languages
Python 79.5%
JavaScript 11.5%
TeX 5.6%
Jinja 2.5%
HTML 0.6%
Other 0.2%