blob: 47367b1acc0879ee7699aa32ab78abd4f1586209 [file] [log] [blame]
Joe Gregorio30dfdc32010-12-09 16:34:22 -05001#!/bin/bash
2#
Joe Gregorio20a5aa92011-04-01 17:44:25 -04003# Copyright 2007 Google Inc.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
Joe Gregorio30dfdc32010-12-09 16:34:22 -050017# Author: jcgregorio@google.com (Joe Gregorio)
18#
19# Creates the documentation set for the library by
20# running pydoc on all the files in apiclient.
21#
22# Notes: You may have to update the location of the
23# App Engine library for your local system.
24
Joe Gregorio20a5aa92011-04-01 17:44:25 -040025export GOOGLE_APPENGINE=$HOME/projects/google_appengine
Joe Gregorio3cf90d02010-12-20 10:26:08 -050026export DJANGO_SETTINGS_MODULE=fakesettings
27export PYTHONPATH=`pwd`/..:$GOOGLE_APPENGINE
Joe Gregorio90e7ec22011-07-06 10:09:20 -040028find ../apiclient/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w
29find ../oauth2client/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w
30find ../httplib2/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w
31find ../uritemplate/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w
Joe Gregorio30dfdc32010-12-09 16:34:22 -050032