-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43870c4
commit 264c9f0
Showing
8 changed files
with
39 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,23 +40,23 @@ To set up `thelper` for local development: | |
(look for the "Fork" button). | ||
2. Clone your fork locally:: | ||
|
||
git clone [email protected]:your_name_here/thelper.git | ||
$ git clone [email protected]:your_name_here/thelper.git | ||
|
||
3. Create a branch for local development:: | ||
|
||
git checkout -b name-of-your-bugfix-or-feature | ||
$ git checkout -b name-of-your-bugfix-or-feature | ||
|
||
Now you can make your changes locally. | ||
|
||
4. When you're done making changes, run all the checks and doc builder with `tox <https://tox.readthedocs.io/en/latest/install.html>`_ one command:: | ||
4. When you're done making changes, run all the checks and doc builder with `tox <https://tox.readthedocs.io/en/latest/install.html>`_ via:: | ||
|
||
tox | ||
$ make test-all | ||
|
||
5. Commit your changes and push your branch to GitHub:: | ||
|
||
git add . | ||
git commit -m "Your detailed description of your changes." | ||
git push origin name-of-your-bugfix-or-feature | ||
$ git add . | ||
$ git commit -m "Your detailed description of your changes." | ||
$ git push origin name-of-your-bugfix-or-feature | ||
|
||
6. Submit a pull request through the GitHub website. | ||
|
||
|
@@ -67,7 +67,7 @@ If you need some code review or feedback while you're developing the code just m | |
|
||
For merging, you should: | ||
|
||
1. Include passing tests (run ``tox``) [1]_. | ||
1. Make sure all tests are passing (run ``make test-all``) [1]_. | ||
2. Update documentation when there's new API, functionality etc. | ||
3. Add a note to ``CHANGELOG.rst`` about the changes. | ||
4. Add yourself to ``AUTHORS.rst``. | ||
|
@@ -76,14 +76,3 @@ For merging, you should: | |
`run the tests <https://travis-ci.org/plstcharles/thelper/pull_requests>`_ for each change you add in the pull request. | ||
It will be slower though ... | ||
Tips | ||
---- | ||
|
||
To run a subset of tests:: | ||
|
||
tox -e envname -- pytest -k test_myfeature | ||
|
||
To run all the test environments in *parallel* (you need to ``pip install detox``):: | ||
|
||
detox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
============= | ||
Documentation | ||
============= | ||
|
||
The sphinx documentation is generated automatically via `readthedocs.io <https://readthedocs.org/projects/thelper/>`_, but it might | ||
still be incomplete due to buggy apidoc usage/platform limitations. To build it yourself, use the makefile:: | ||
|
||
$ cd <THELPER_ROOT> | ||
$ make docs | ||
|
||
The HTML documentation should then be generated inside ``<THELPER_ROOT>/docs/build/html``. To browse it, simply open the | ||
``index.html`` file there. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. include:: ../../DOCUMENTATION.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters