The Sphinx documentation generator
Go to file
jfbu b6695ad7fc use 'sphinxpackageoptions' as argument to `\sphinxsetup`
Indeed, LaTeX's handling of package options is not robust when options
contain LaTeX macros; thus we pass all the user customization to
``\sphinxsetup``, not as package options to "sphinx.sty".

Also, make parameters for long code line breaking (ref #2343, 1.4.2)
accessible as sub-keys of 'sphinxpackageoptions'. The space reserved for
the continuation character has been modified for coherence and
compatibility with use in footnotes. In fact it did not use the correct
font for the dimension computation. The documentation explains how to
recover former value.
2016-10-28 21:45:44 +02:00
doc use 'sphinxpackageoptions' as argument to `\sphinxsetup` 2016-10-28 21:45:44 +02:00
sphinx use 'sphinxpackageoptions' as argument to `\sphinxsetup` 2016-10-28 21:45:44 +02:00
tests update style files checklist for latex tests 2016-10-27 11:43:20 +02:00
utils Add compile_grammar command to setup.py (ref: #2765) 2016-08-19 20:16:02 +09:00
.gitignore Add .swp to .gitignore 2016-01-02 22:42:16 +09:00
.travis.yml Travis CI: Install lmodern to build xetex documents 2016-10-25 11:26:44 +09:00
AUTHORS fix mark-up in AUTHORS (funny effect of `T.`) 2016-10-27 10:08:26 +02: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#3096 2016-10-27 10:02:53 +02: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 Add Seaborn project to EXAMPLES (ref: #2814) 2016-07-28 11:54:08 +09:00
LICENSE Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Makefile Merge branch 'stable' 2016-10-02 00:44:49 +09:00
MANIFEST.in Merge pull request #2770 from tk0miya/2765_bundle_grammars 2016-08-15 14:20:48 +09:00
README.rst Add a release signature to README (ref: #2612) 2016-07-02 16:37:00 +09:00
setup.cfg Skip flake8 for sample python codes for napoleon docs 2016-07-26 14:35:20 +09:00
setup.py Fix #2919: Drop py26 support 2016-09-15 22:47:47 +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 Merge branch 'stable' 2016-07-15 00:51:29 +09:00
tox.ini To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09: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 .


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

Releases are signed with `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_


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>.