The Sphinx documentation generator
Go to file
Hong Xu 76e29ca5b3 Use "align" environment to wrap math equations instead of "gather"
Using align brings the benefit when multiple math equations are in one
math directive, alignment is provided. We also use "aligned" to wrap the
equations since in this way all the equations will be given only one
label/tag, while previously only the first equation is labeled.
2016-01-20 23:25:58 -08:00
doc Merge pull request #1939 from bukzor/dummy-builder 2016-01-20 10:36:00 +09:00
sphinx Use "align" environment to wrap math equations instead of "gather" 2016-01-20 23:25:58 -08:00
tests Use "align" environment to wrap math equations instead of "gather" 2016-01-20 23:25:58 -08:00
utils Merge branch 'stable' 2016-01-14 22:54:08 +01:00
.gitignore Add .swp to .gitignore 2016-01-02 22:42:16 +09:00
.travis.yml Conditionally enable py3.5 tests in travis 2015-11-10 04:09:05 +01:00
AUTHORS Merge pull request #1939 from bukzor/dummy-builder 2016-01-20 10:36:00 +09:00
babel.cfg Added improvements about i18n for themes "basic", "haiku" and "scrolls" that Sphinx built-in. Closes #1120 2013-03-04 10:35:30 -05:30
CHANGES Update CHANGES for PR #2230 2016-01-20 10:38:13 +09:00
CHANGES.old changelog: split off older changes (pre-1.0) to a CHANGES.old file 2013-03-29 13:05:49 +01:00
EXAMPLES remove or update missing links. 2015-03-07 22:07:46 +09:00
ez_setup.py update bundled ez_setup.py for setuptools-7.0 that requires Python 2.6 or later. 2014-12-03 23:17:48 +09:00
LICENSE Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Makefile Exclude stuff from style-check 2015-11-29 15:25:10 +01:00
MANIFEST.in Include JS stemmers in the distribution 2015-11-10 10:01:13 +01:00
README.rst Support PEP-440 version spec for developers. 2015-03-14 16:46:24 +09:00
setup.cfg Support PEP-440 version spec for developers. 2015-03-14 16:46:24 +09:00
setup.py Merge pull request #2087 from cppformat/optional-rtd 2016-01-15 11:55:09 +09:00
sphinx-apidoc.py Obligatory copyright update. 2016-01-14 22:54:04 +01:00
sphinx-autogen.py Obligatory copyright update. 2016-01-14 22:54:04 +01:00
sphinx-build.py Obligatory copyright update. 2016-01-14 22:54:04 +01:00
sphinx-quickstart.py Obligatory copyright update. 2016-01-14 22:54:04 +01:00
test-reqs.txt add flake8 testing 2015-03-07 17:59:28 +09:00
tox.ini Move py3.5 specific tests to their own file and adjust test environment 2015-11-10 03:40:48 +01:00

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

This is the Sphinx documentation generator, see http://sphinx-doc.org/.


Installing
==========

Install from PyPI to use stable version::

   pip install -U sphinx

Install from PyPI to use beta version::

   pip install -U --pre sphinx

Install from newest dev version in stable branch::

   pip install git+https://github.com/sphinx-doc/sphinx@stable

Install from newest dev version in master branch::

   pip install git+https://github.com/sphinx-doc/sphinx

Install from cloned source::

   pip install .

Install from cloned source as editable::

   pip install -e .


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

After installing::

   cd doc
   make 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

Continuous testing runs on travis:

.. image:: https://travis-ci.org/sphinx-doc/sphinx.svg?branch=master
   :target: https://travis-ci.org/sphinx-doc/sphinx


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

#. Check for open issues or open a fresh issue to start a discussion around a
   feature idea or a bug.
#. If you feel uncomfortable or uncertain about an issue or your changes, feel
   free to email sphinx-dev@googlegroups.com.
#. Fork the repository on GitHub https://github.com/sphinx-doc/sphinx
   to start making your changes to the **master** branch for next major
   version, or **stable** branch for next minor version.
#. Write a test which shows that the bug was fixed or that the feature works
   as expected.  Use ``make test`` to run the test suite.
#. Send a pull request and bug the maintainer until it gets merged and
   published.  Make sure to add yourself to AUTHORS
   <https://github.com/sphinx-doc/sphinx/blob/master/AUTHORS> and the change to
   CHANGES <https://github.com/sphinx-doc/sphinx/blob/master/CHANGES>.