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/
|
oauth2client.egg-info/
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
|
docs/
|
||||||
|
|
||||||
# Test files
|
# Test files
|
||||||
.tox/
|
.tox/
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ coverage:
|
|||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
cd docs; ./build
|
./doc-build
|
||||||
|
|
||||||
.PHONY: prerelease
|
.PHONY: prerelease
|
||||||
oauth2_prerelease: test
|
oauth2_prerelease: test
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
# Notes: You may have to update the location of the
|
# Notes: You may have to update the location of the
|
||||||
# App Engine library for your local system.
|
# App Engine library for your local system.
|
||||||
|
|
||||||
|
[[ -d docs ]] || mkdir -p docs
|
||||||
|
cd docs
|
||||||
export DJANGO_SETTINGS_MODULE=fakesettings
|
export DJANGO_SETTINGS_MODULE=fakesettings
|
||||||
export PYTHONPATH=$(pwd)/..
|
export PYTHONPATH=$(pwd)/..
|
||||||
epydoc --output epy --graph all --parse-only --docformat plaintext oauth2client
|
epydoc --output epy --graph all --parse-only --docformat plaintext oauth2client
|
||||||
|
|||||||
Reference in New Issue
Block a user