Files
sigal/docs/contribute.rst

45 lines
938 B
ReStructuredText
Raw Normal View History

=========================
Contributing guidelines
=========================
.. include:: ../CONTRIBUTING.rst
Setting up the development environment
--------------------------------------
2019-01-26 23:05:51 +01:00
Using a virtualenv_::
git clone https://github.com/saimn/sigal.git
cd sigal
virtualenv venv
2015-06-11 16:06:40 +02:00
. venv/bin/activate
Install sigal in development mode::
pip install -e .
2019-01-26 23:05:51 +01:00
Install additional dependencies for development (Sphinx, pytest), and optional
dependencies::
pip install -e .\[all,tests\]
Building the docs
-----------------
2019-01-26 23:05:51 +01:00
- Using tox_, run ``tox -e doc``
- Or ``make html`` in the ``docs/`` directory.
Running the test suite
----------------------
2019-01-26 23:05:51 +01:00
- Using tox_, run ``tox -e py37`` (replacing ``py37`` with your Python version
if needed).
.. _tox: https://tox.readthedocs.io/
.. _virtualenv: https://virtualenv.pypa.io/
2019-01-26 23:05:51 +01:00
Building the test gallery
-------------------------
- Using tox_, run ``tox -e demo``