The Sphinx documentation generator
Go to file
jfbu bc67d4298f Improve latex tables: fix #1574 and other rendering issues
- allow multi-paragraph contents in grid table merged cells
- allow code-blocks in merged cells
- allow generally speaking reST contents allowed in regular
  cells to be also allowed in merged cells, whether multirow,
  multicolumn, or both.

This is made possible by custom LaTeX macros replacing original
``\multicolumn`` and ``\multirow`` (none of the originals allows
verbatim contents as is needed for code-blocks). They are defined in
bundled LaTeX style file sphinxmulticell.sty. The multicolumn merged
cells give much better results with tabulary as it is coerced into
taking them into account in its automatic width algorithm.

This deprecates use of LaTeX packages eqparbox and multirow, which are
not needed anymore.

New config setting ``latex_use_latex_multicolumn`` (default value False,
currently) as custom Sphinx multicolumn is not fully compatible will all
types of custom table col specs which may be inserted via tabularcolumns
directive. It works best with standard ``|`` column separator.

The default tabulary column specifier has been changed from L
(flushleft) to J (justifying). Internally the column type is called T,
so ``r'\newcolumntype{T}{L}'`` in preamble key recovers the former
behaviour. A ``\Y`` column type is defined which admits one decimal
argument in place of the two integers for ``\X``.
2017-03-01 09:41:30 +01:00
.github refs #3222: add PULL_REQUEST_TEMPLATE.md 2016-12-18 01:20:55 +09:00
doc Improve latex tables: fix #1574 and other rendering issues 2017-03-01 09:41:30 +01:00
sphinx Improve latex tables: fix #1574 and other rendering issues 2017-03-01 09:41:30 +01:00
tests Improve latex tables: fix #1574 and other rendering issues 2017-03-01 09:41:30 +01:00
utils Reduce DeprecationWarnings for regexp 2017-02-17 02:01:04 +09:00
.gitignore Ignore .cache/ 2017-01-07 20:37:01 +09:00
.travis.yml Skip test with the combination of py3 and docutils-0.12 2017-03-01 00:26:49 +09:00
AUTHORS setuptools: Support multiple builders 2017-02-28 17:30:28 +00: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#3476 2017-03-01 15:31:15 +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 Reducing README.rst to avoid duplicated information in CONTRIBUTING.rst. 2016-12-18 00:10:40 +09:00
EXAMPLES Fixed some broken URLs in "Projects using Sphinx" 2017-02-08 14:14:50 +01:00
LICENSE Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Makefile Merge pull request #3416 from tk0miya/refactor_literalinclude 2017-02-25 17:10:57 +09:00
MANIFEST.in remove MANIFEST.in file entries which doesn't exist 2017-01-17 14:13:31 +09:00
mypy.ini Upgrade to newest mypy package 2017-02-21 14:05:18 +09:00
README.rst move badge to top. and add another badge. 2016-12-18 00:22:05 +09:00
setup.cfg setup.cfg: Enable 'warning-is-error' 2017-02-24 13:41:46 -05:00
setup.py Fix test depend 2017-02-26 15:31:21 +03: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' 2017-01-10 01:04:21 +09:00
tox.ini tox: Add 'mypy' target 2017-02-28 17:32:34 +00:00

.. image:: https://img.shields.io/pypi/v/sphinx.svg
   :target: http://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