adds full docs

This commit is contained in:
Moisés Guimarães
2017-02-05 18:51:13 -03:00
parent 00a74d0da4
commit e33d4c0172
9 changed files with 225 additions and 53 deletions

View File

@@ -18,7 +18,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
.PHONY : all clean clean-build clean-pyc clean-test install test docs upload
.PHONY : all clean clean-build clean-pyc clean-test clean-docs install test docs upload
# builds the module
all :
@@ -29,7 +29,7 @@ install : all
python ./setup.py install
## removes all build, test, coverage and Python artifacts
clean : clean-test clean-build clean-pyc
clean : clean-test clean-build clean-pyc clean-docs
## removes test and coverage artifacts
clean-test :
@@ -47,6 +47,10 @@ clean-pyc :
find src test -name '*.pyc' -exec rm -f {} +
find src test -name '*.pyo' -exec rm -f {} +
## removes documentation file artifacts
clean-docs :
$(MAKE) -C docs clean
# runs unit tests
check : test
@@ -54,7 +58,7 @@ test : clean-pyc
tox
docs :
$(MAKE) -C docs singlehtml
$(MAKE) -C docs html
# publishes module at pypi
upload : test