The Sphinx documentation generator
Go to file
Stephen Finucane eb8efce7d8 requirements: Reduce duplication
Simply installing packages will ensure that most of the dependencies in
'setup.py' are installed, meaning 'test-reqs.txt' need only contain
those necessary for testing.

The only notable change is that the 'simplejson' module is dropped from
the requirements list. This included as a dependency for the PyPy
target, but it appears that this is not necessary today (though it may
have been when the target was added in 2011).

This retains 'setup.py test' which, as noted in the tox docs [1], is
sometimes expected for downstream distribution testing. We may wish to
find a way to synchronize requirements between 'test-reqs.txt' and this
section in the future, but that's work for another day.

[1] https://tox.readthedocs.io/en/latest/example/basic.html#integration-with-setup-py-test-command

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-10 14:06:10 +01:00
.circleci Add .circleci/config.yml 2017-05-11 16:26:24 +09:00
.github refs #3222: add PULL_REQUEST_TEMPLATE.md 2016-12-18 01:20:55 +09:00
doc Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +09:00
sphinx Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +09:00
tests Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +09:00
utils utils: Remove 'check_sources' 2017-10-05 17:17:27 +01:00
.appveyor.yml requirements: Reduce duplication 2017-10-10 14:06:10 +01:00
.gitignore tox: Always run coverage 2017-10-05 09:18:20 +01:00
.travis.yml requirements: Reduce duplication 2017-10-10 14:06:10 +01:00
AUTHORS Typo 2017-08-18 19:26:39 +02:00
babel.cfg babel location has changed from edgewall to pocoo 2017-05-30 00:50:25 +08:00
CHANGES Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +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
CONTRIBUTING.rst Adds a note about passing args to pytest. 2017-10-09 22:37:27 +02:00
EXAMPLES Merge commit '63c15998f66eeb42f3fcfef6087a7264645bee6b' 2017-09-24 22:49:37 +09:00
LICENSE Update URL locations, and switch where possible to HTTPS 2017-05-30 01:23:05 +08:00
Makefile Merge branch 'master' into tests 2017-10-10 19:55:46 +09:00
MANIFEST.in Merge commit '63c15998f66eeb42f3fcfef6087a7264645bee6b~1' 2017-09-24 21:36:04 +09:00
README.rst Update HTTP url to HTTPS 2017-05-30 00:38:13 +08:00
setup.cfg utils: Move "header check" to a flake8 plugin 2017-10-05 17:17:27 +01:00
setup.py requirements: Reduce duplication 2017-10-10 14:06:10 +01:00
sphinx-apidoc.py apidoc: Move apidoc to ext/apidoc 2017-09-20 13:42:57 +01:00
sphinx-autogen.py Update more files that hardcode sys.argv 2017-05-09 14:43:19 -05:00
sphinx-build.py Update more files that hardcode sys.argv 2017-05-09 14:43:19 -05:00
sphinx-quickstart.py sphinx-quickstart: Move code to 'sphinx.cmd' 2017-10-02 15:42:23 +01:00
test-reqs.txt requirements: Reduce duplication 2017-10-10 14:06:10 +01:00
tox.ini requirements: Reduce duplication 2017-10-10 14:06:10 +01:00

.. image:: https://img.shields.io/pypi/v/sphinx.svg
   :target: https://pypi.python.org/pypi/Sphinx
.. image:: https://readthedocs.org/projects/sphinx/badge/
   :target: http://www.sphinx-doc.org/
   :alt: Documentation Status
.. image:: https://travis-ci.org/sphinx-doc/sphinx.svg?branch=master
   :target: https://travis-ci.org/sphinx-doc/sphinx

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

This is the Sphinx documentation generator, see http://www.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 .


Release signatures
==================

Releases are signed with following keys:

* `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_
* `5EBA0E07 <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x1425F8CE5EBA0E07>`_

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

You can read them online at <http://www.sphinx-doc.org/>.

Or, after installing::

   cd doc
   make html

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

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: https://travis-ci.org/sphinx-doc/sphinx


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

See `CONTRIBUTING.rst`__

.. __: CONTRIBUTING.rst