The Sphinx documentation generator
Go to file
EricFromCanada a63e4945ea Add highlight_options configuration value
This changeset adds the `highlight_options` configuration value, which
specifies a dict of key-value pairs to pass to the Pygments highlighter
specified with `highlight_language`. For example, specifying
`highlight_options = {'funcnamehighlighting' : False}` for the 'php'
lexer will disable function name highlighting.
Both the HTML and LaTeX writers have been updated to include the
options when calling `highlight_block()`, as long as the currently
selected language matches what was set with `highlight_language`, i.e.
not when modified by `highlight::` or `code-block::` directives.
2015-01-05 12:58:43 -05:00
doc Add highlight_options configuration value 2015-01-05 12:58:43 -05:00
sphinx Add highlight_options configuration value 2015-01-05 12:58:43 -05:00
tests Add highlight_options configuration value 2015-01-05 12:58:43 -05:00
utils Merge branch 'stable' 2015-01-03 21:41:14 +01:00
.gitignore add a .gitignore file, remove .hgignore 2015-01-02 12:25:23 +01:00
.travis.yml Require newer docutils and Pygments. 2015-01-01 19:02:19 +01:00
AUTHORS update CHANGES for pull request #303, pull request #307. 2014-10-09 21:53:09 +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 Add highlight_options configuration value 2015-01-05 12:58:43 -05: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 with stable. 2015-01-02 11:12:35 +01: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 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Makefile fix trailing space and long line 2014-10-09 23:53:33 +09:00
MANIFEST.in remove custom_fixers from MANIFEST.in. that directory already removed at 47baff4 2014-08-25 16:35:38 +09:00
README.rst Correct few "typos". 2015-01-04 00:16:39 +02:00
setup.cfg Use universal wheel package. removing build directory procedure is not needed anymore. 2014-10-10 00:01:57 +09:00
setup.py Require newer docutils and Pygments. 2015-01-01 19:02:19 +01:00
sphinx-apidoc.py all: update copyright 2015-01-03 21:36:32 +01:00
sphinx-autogen.py all: update copyright 2015-01-03 21:36:32 +01:00
sphinx-build.py all: update copyright 2015-01-03 21:36:32 +01:00
sphinx-quickstart.py all: update copyright 2015-01-03 21:36:32 +01:00
test-reqs.txt Require newer docutils and Pygments. 2015-01-01 19:02:19 +01:00
tox.ini Complete test suite overhaul. 2014-09-21 17:17:02 +02:00

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

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


Installing
==========

Use ``setup.py``::

   python setup.py build
   sudo python setup.py install


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