Skip to content

Commit

Permalink
Merge pull request #20 from metacloud/doc-bar
Browse files Browse the repository at this point in the history
Added additional docs prior to 1.0 cut
  • Loading branch information
alop committed Nov 29, 2016
2 parents dcd9e47 + baf0334 commit caf13c2
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
49 changes: 49 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
************
Contributing
************

* We are interested in various different kinds of improvement for Gilt;
please feel free to raise an `Issue`_ if you would like to work on something
major to ensure efficient collaboration and avoid duplicate effort.
* Create a topic branch from where you want to base your work.
* Check for unnecessary whitespace with ``git diff --check`` before committing.
* Make sure you have added tests for your changes.
* Run all the tests to ensure nothing else was accidentally broken.
* Reformat the code by following the formatting section below.
* Submit a pull request.

Testing
=======

Dependencies
------------

Install the test framework `Tox`_.

.. code-block:: bash
$ pip install tox
Unit
----

Unit tests are invoked by `Tox`_.

.. code-block:: bash
$ tox
Formatting
==========

The formatting is done using `YAPF`_.

From the root for the project, run:

.. code-block:: bash
$ tox -e syntax
.. _`YAPF`: https://github.com/google/yapf
.. _`Tox`: https://tox.readthedocs.io/en/latest
.. _`Issue`: https://github.com/metacloud/gilt/issues
1 change: 1 addition & 0 deletions doc/source/authors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../../AUTHORS.rst
1 change: 1 addition & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../../CHANGELOG.rst
1 change: 1 addition & 0 deletions doc/source/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../../CONTRIBUTING.rst
3 changes: 3 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ Similar Tools
.. toctree::
:maxdepth: 3

contributing
changelog
authors
autodoc

Indices and tables
Expand Down

0 comments on commit caf13c2

Please sign in to comment.