Updating makefile and gitignore for building docs.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,6 +3,7 @@
|
||||
oauth2client.egg-info/
|
||||
build/
|
||||
dist/
|
||||
docs/
|
||||
|
||||
# Test files
|
||||
.tox/
|
||||
|
||||
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ coverage:
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
cd docs; ./build
|
||||
./doc-build
|
||||
|
||||
.PHONY: prerelease
|
||||
oauth2_prerelease: test
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user