Commits

Andriy Kornatskyy committed d9a9e6b

Added upload_docs to make upload target

  • Participants
  • Parent commits a139000

Comments (0)

Files changed (3)

 	if [ "$$(echo $(VERSION) | sed 's/\.//')" -eq 27 ]; then \
 		$(PYTHON) setup.py -q egg_info --tag-build .$$REV \
 			sdist register upload; \
-		make -s doc; \
+		$(EASY_INSTALL) -i $(PYPI) sphinx; \
+		$(PYTHON) env/bin/sphinx-build -D release=0.1.$$REV \
+			-a -b html doc/ doc/_build/;\
 		python setup.py upload_docs; \
 	fi; \
 	$(PYTHON) setup.py -q egg_info --tag-build .$$REV \
-`wheezy.web`_ is a `python`_ package written in pure Python code. 
+`wheezy.web`_ is a `python`_ package written in pure Python code.
 It is a lightweight `WSGI`_ web framework.
 
 It is optimized for performance, well tested and documented.
 -------
 
 `wheezy.web`_ requires `python`_ version 2.4 to 2.7 or 3.2.
-It is independent of operating system. You can install it from `pypi`_ 
+It is independent of operating system. You can install it from `pypi`_
 site using `setuptools`_::
 
     $ easy_install wheezy.web
-    
+
 If you are using `virtualenv`_::
 
     $ virtualenv env
 
     $ make test
 
-You can read how to compile from source code different versions of 
+You can read how to compile from source code different versions of
 `python`_ in the `article`_ published on `mind reference`_ blog.
 
 You can run certain make targets with specific python version. Here
 we are going to run `doctest`_ with python3.2::
 
     $ make env doctest-cover VERSION=3.2
-    
+
 Generate documentation with `sphinx`_::
 
 	$ make doc
 .. _`eggs`: http://pypi.python.org/pypi/wheezy.web
 .. _`examples`: http://bitbucket.org/akorn/wheezy.web/src/tip/demos
 .. _`issues`: http://bitbucket.org/akorn/wheezy.web/issues
-.. _`mercurial`: http://mercurial.selenic.com/
-.. _`mind reference`: http://mindref.blogspot.com/
-.. _`pypi`: http://pypi.python.org/pypi/wheezy.web
+.. _`mercurial`: http://mercurial.selenic.com
+.. _`mind reference`: http://mindref.blogspot.com
+.. _`pypi`: http://pypi.python.org
 .. _`python`: http://www.python.org
-.. _`readthedocs`: http://readthedocs.org/builds/wheezyweb/
+.. _`readthedocs`: http://readthedocs.org/builds/wheezyweb
 .. _`setuptools`: http://pypi.python.org/pypi/setuptools
 .. _`source code`: http://bitbucket.org/akorn/wheezy.web/src
-.. _`sphinx`: http://sphinx.pocoo.org/
+.. _`sphinx`: http://sphinx.pocoo.org
 .. _`virtualenv`: http://pypi.python.org/pypi/virtualenv
 .. _`wheezy.web`: http://pypi.python.org/pypi/wheezy.web
 .. _`WSGI`: http://www.python.org/dev/peps/pep-3333
 # built documents.
 #
 # The short X.Y version.
-version = '0.1.1'
+version = '0.1'
 # The full version, including alpha/beta/rc tags.
-release = '0.1.1'
+release = '0.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.