From 6a2a69a49fd7df0cb831241409632100c7b68e9e Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Fri, 5 Dec 2014 09:57:23 -0800 Subject: [PATCH] Updating makefile and gitignore for building docs. --- .gitignore | 1 + Makefile | 2 +- doc-build | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 301471a..ac20bd2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ oauth2client.egg-info/ build/ dist/ +docs/ # Test files .tox/ diff --git a/Makefile b/Makefile index 17ca6b2..83e1de7 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ coverage: .PHONY: docs docs: - cd docs; ./build + ./doc-build .PHONY: prerelease oauth2_prerelease: test diff --git a/doc-build b/doc-build index 21f2db6..f678c30 100755 --- a/doc-build +++ b/doc-build @@ -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