1 new commit in pytest:

https://bitbucket.org/pytest-dev/pytest/commits/cca9e94489f0/
Changeset:   cca9e94489f0
Branch:      parametrized-fixture-override
User:        bubenkoff
Date:        2015-03-02 20:43:31+00:00
Summary:     add docs target
Affected #:  2 files

diff -r bae41ffae0c4fc5d0e1852e320692d34395a2c90 -r 
cca9e94489f0ffa7d0b18ceb8dbbef2696377f29 Makefile
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,24 @@
-# create virtual environment
+# Set of targets useful for development/release process
 PYTHON = python2.7
+PATH := $(PWD)/.env/bin:$(PATH)
 
+# prepare virtual python environment
 .env:
        virtualenv .env -p $(PYTHON)
 
 # install all needed for development
 develop: .env
-       .env/bin/pip install -e . tox
+       pip install -e . tox -r requirements-docs.txt
 
 # clean the development envrironment
 clean:
        -rm -rf .env
+
+# generate documentation
+docs: develop
+       cd doc/en; make html
+       find doc/en/ -name '*.txt' | xargs .env/bin/regendoc
+
+# upload documentation
+upload-docs: develop
+       cd doc/en; make install

diff -r bae41ffae0c4fc5d0e1852e320692d34395a2c90 -r 
cca9e94489f0ffa7d0b18ceb8dbbef2696377f29 requirements-docs.txt
--- /dev/null
+++ b/requirements-docs.txt
@@ -0,0 +1,2 @@
+sphinx==1.2.3
+hg+ssh://h...@bitbucket.org/RonnyPfannschmidt/regendoc#egg=regendoc

Repository URL: https://bitbucket.org/pytest-dev/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to