Index: third_party/gsutil/third_party/oauth2client/scripts/build-docs |
diff --git a/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py b/third_party/gsutil/third_party/oauth2client/scripts/build-docs |
old mode 100644 |
new mode 100755 |
similarity index 59% |
copy from tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py |
copy to third_party/gsutil/third_party/oauth2client/scripts/build-docs |
index 6139d510a10b0bc4ee79a0baeb0a2f5847bec031..618f00c0c241461cbb2aef6b49533bced38c66f3 |
--- a/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py |
+++ b/third_party/gsutil/third_party/oauth2client/scripts/build-docs |
@@ -1,7 +1,6 @@ |
-# -*- coding: ascii -*- |
+#!/bin/bash |
# |
-# Copyright 2007, 2008, 2009, 2010, 2011 |
-# Andr\xe9 Malo or his licensors, as applicable |
+# Copyright 2014 Google Inc. All rights reserved. |
# |
# Licensed under the Apache License, Version 2.0 (the "License"); |
# you may not use this file except in compliance with the License. |
@@ -14,14 +13,19 @@ |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
# See the License for the specific language governing permissions and |
# limitations under the License. |
-""" |
-================ |
- Package _setup |
-================ |
+# |
+# Build the oauth2client docs, installing the GAE SDK as needed. |
+ |
+set -e |
+ |
+if [[ -z "${SKIP_GAE_SDK}" ]]; then |
+ scripts/fetch_gae_sdk.py |
+ export PYTHONPATH="${PWD}/google_appengine:${PYTHONPATH}" |
+fi |
-This package provides tools for main package setup. |
-""" |
-__author__ = "Andr\xe9 Malo" |
-__docformat__ = "restructuredtext en" |
+rm -rf docs/_build/* docs/source/* |
+sphinx-apidoc -f -o docs/source oauth2client |
+cd docs |
+make html |
+cd .. |
-from _setup.setup import run # pylint: disable = W0611 |