Andriy Kornatskyy avatar Andriy Kornatskyy committed a975cb1

Added upload_docs to make upload target

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.security`_ is a `python`_ package written in pure Python code. 
+`wheezy.security`_ is a `python`_ package written in pure Python code.
 It is a lightweight security library that provides integration with:
 
 * `pycrypto`_ - The Python Cryptography Toolkit
 .. _`eggs`: http://pypi.python.org/pypi/wheezy.security
 .. _`examples`: http://bitbucket.org/akorn/wheezy.security/src/tip/demos
 .. _`issues`: http://bitbucket.org/akorn/wheezy.security/issues
-.. _`mercurial`: http://mercurial.selenic.com/
-.. _`mind reference`: http://mindref.blogspot.com/
-.. _`pycrypto`: https://www.dlitz.net/software/pycrypto/
-.. _`pypi`: http://pypi.python.org/pypi/wheezy.security
-.. _`pypi`: http://pypi.python.org/pypi/wheezy.security
+.. _`mercurial`: http://mercurial.selenic.com
+.. _`mind reference`: http://mindref.blogspot.com
+.. _`pycrypto`: https://www.dlitz.net/software/pycrypto
+.. _`pypi`: http://pypi.python.org
 .. _`python`: http://www.python.org
-.. _`readthedocs`: http://readthedocs.org/builds/wheezysecurity/
+.. _`readthedocs`: http://readthedocs.org/builds/wheezysecurity
 .. _`setuptools`: http://pypi.python.org/pypi/setuptools
 .. _`source code`: http://bitbucket.org/akorn/wheezy.security/src
-.. _`sphinx`: http://sphinx.pocoo.org/
+.. _`sphinx`: http://sphinx.pocoo.org
 .. _`virtualenv`: http://pypi.python.org/pypi/virtualenv
 .. _`wheezy.security`: http://pypi.python.org/pypi/wheezy.security
-
 # 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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.