The Sphinx documentation generator
Go to file
jfbu 303f163b0a Fix #2707: (latex) the column width is badly computed for tabular
MEMO: the used formula is correct as long as package array is loaded.
Package array (which modifies how the width of vertical rules is counted
in the total width of the tabular) is a dependency of packages tabulary,
and eqparbox, and possibly others which are currently loaded by
sphinx.sty. Even if usage of package tabulary is dropped in future
version of sphinx.sty, there would still remain the dependency on array
via eqparbox, and the formula configured in latex.py will remain
correct.
2016-06-21 23:02:43 +02:00
doc New latex.rst for extended documentation of LaTeX's customizing. 2016-06-20 09:23:41 +02:00
sphinx Fix #2707: (latex) the column width is badly computed for tabular 2016-06-21 23:02:43 +02:00
tests Remove usage by sphinx.sty of latex package newfloat.sty 2016-06-19 16:22:49 +02:00
utils Use six in util/reindent.py 2016-06-12 00:27:59 +09:00
.gitignore Add .swp to .gitignore 2016-01-02 22:42:16 +09:00
.travis.yml Install TeXLive for testing on Travis CI 2016-06-11 15:16:24 +09:00
AUTHORS refactor, add more tests #2516 2016-05-02 07:54:44 +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 latex: fully customizable notices/admonitions 2016-06-20 09:06:28 +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 Merge branch 'stable' into 1.4-release 2016-03-23 22:01:14 +09:00
LICENSE Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Makefile Clear __pycache__, tests/build and .tox on make clean 2016-05-30 23:44:49 +09:00
MANIFEST.in Include JS stemmers in the distribution 2015-11-30 23:39:53 +09:00
README.rst Support PEP-440 version spec for developers. 2015-03-14 16:46:24 +09:00
setup.cfg Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
setup.py Use html5lib to parse HTML in tests instead of XMLParser 2016-05-28 02:51:21 -04: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 Use html5lib to parse HTML in tests instead of XMLParser 2016-05-28 02:51:21 -04:00
tox.ini Add html5lib to tox.ini 2016-06-12 00:43:23 +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 .


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