Add more info on how the report a bug or contribute (ref ##128).

This commit is contained in:
Simon Conseil
2014-09-04 22:46:34 +02:00
parent 9ed733be6c
commit dcb91cbf60
5 changed files with 80 additions and 24 deletions

38
docs/contribute.rst Normal file
View File

@@ -0,0 +1,38 @@
=========================
Contributing guidelines
=========================
.. include:: ../CONTRIBUTING.rst
Setting up the development environment
--------------------------------------
Using a virtualenv_::
git clone https://github.com/saimn/sigal.git
cd sigal
virtualenv venv
. venv/activate
Install sigal in development mode::
pip install -e .
Install additional dependencies for development (Sphinx, ...)::
pip install -r requirements.txt
Building the docs
-----------------
- Run ``make docs`` (or ``make html`` in the ``docs/`` directory).
Running the test suite
----------------------
- Run ``make test`` (or ``py.test``).
- Run ``make coverage`` to get the coverage report.
- Using tox_ you can also run the tests on multiple versions of python.
.. _tox: https://testrun.org/tox/
.. _virtualenv: https://virtualenv.pypa.io/

View File

@@ -13,4 +13,5 @@ Documentation
image_information
themes
plugins
contribute
changelog