sphinx/README.rst

88 lines
2.1 KiB
ReStructuredText
Raw Normal View History

2008-03-18 14:37:05 -05:00
=================
README for Sphinx
=================
2014-09-20 14:09:33 -05:00
This is the Sphinx documentation generator, see http://sphinx-doc.org/.
2008-03-18 14:37:05 -05:00
Installing
==========
Install from PyPI to use stable version::
2008-03-18 14:37:05 -05:00
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 .
2008-03-18 14:37:05 -05:00
Release signatures
==================
Releases are signed with `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_
2008-03-18 14:37:05 -05:00
Reading the docs
================
After installing::
cd doc
2014-09-20 14:09:33 -05:00
make html
2008-11-24 13:33:58 -06:00
Then, direct your browser to ``_build/html/index.html``.
2008-03-18 14:37:05 -05:00
Or read them online at <http://sphinx-doc.org/>.
2008-03-18 14:37:05 -05:00
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
2015-01-02 06:54:04 -06:00
Continuous testing runs on travis:
2014-09-20 14:06:44 -05:00
2015-01-02 06:54:04 -06:00
.. image:: https://travis-ci.org/sphinx-doc/sphinx.svg?branch=master
:target: https://travis-ci.org/sphinx-doc/sphinx
2014-09-20 14:06:44 -05:00
2008-03-18 14:37:05 -05:00
Contributing
============
#. Check for open issues or open a fresh issue to start a discussion around a
2015-01-02 07:07:15 -06:00
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.
2015-01-03 16:16:39 -06:00
#. 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
2015-03-06 00:51:21 -06:00
as expected. Use ``make test`` to run the test suite.
#. Send a pull request and bug the maintainer until it gets merged and
2015-03-06 00:51:21 -06:00
published. Make sure to add yourself to AUTHORS
2015-01-02 07:07:15 -06:00
<https://github.com/sphinx-doc/sphinx/blob/master/AUTHORS> and the change to
CHANGES <https://github.com/sphinx-doc/sphinx/blob/master/CHANGES>.