summaryrefslogtreecommitdiff
path: root/doc/source/contributors/index.rst
blob: 40039de258d9e50cf68c175280bf29af405fc1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
==================
 For Contributors
==================

If you would like to contribute to cliff directly, these instructions
should help you get started.  Bug reports, and feature requests are
all welcome through the `Storyboard project`_.

.. _Storyboard project: https://storyboard.openstack.org/#!/project/openstack/cliff

Changes to cliff should be submitted for review via the Gerrit tool,
following the workflow documented at
https://docs.openstack.org/infra/manual/developers.html#development-workflow

Pull requests submitted through GitHub will be ignored.

Bugs should be filed under the `Storyboard project`_.

.. note::

  Before contributing new features to clif core, please consider
  whether they should be implemented as an extension instead. The
  architecture is highly pluggable precisely to keep the core small.

Running Tests
=============

The test suite for cliff uses tox_, which must be installed separately
(``pip install tox``).

To run the standard set of tests, run ``tox`` from the top level directory of
the git repository.

To run a single environment, specify it using the ``-e`` parameter. For
example::

  $ tox -e pep8

Add new tests by modifying an existing file or creating new script in
the ``tests`` directory.

.. _tox: https://tox.readthedocs.io/

Building Documentation
======================

The documentation for cliff is written in reStructuredText and
converted to HTML using Sphinx. Like tests, the documentation can be built
using ``tox``::

  $ tox -e docs

The output version of the documentation ends up in ``./docs/build/html``.

.. _developer-templates: