Updating makefile and gitignore for building docs.

This commit is contained in:
Danny Hermes
2014-12-05 09:57:23 -08:00
parent 0ae799360f
commit 6a2a69a49f
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@
oauth2client.egg-info/
build/
dist/
docs/
# Test files
.tox/

View File

@@ -15,7 +15,7 @@ coverage:
.PHONY: docs
docs:
cd docs; ./build
./doc-build
.PHONY: prerelease
oauth2_prerelease: test

View File

@@ -22,6 +22,8 @@
# Notes: You may have to update the location of the
# App Engine library for your local system.
[[ -d docs ]] || mkdir -p docs
cd docs
export DJANGO_SETTINGS_MODULE=fakesettings
export PYTHONPATH=$(pwd)/..
epydoc --output epy --graph all --parse-only --docformat plaintext oauth2client