Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
Joe Gregorio | 20a5aa9 | 2011-04-01 17:44:25 -0400 | [diff] [blame] | 3 | # 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 Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 17 | # 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 Gregorio | c4fc095 | 2011-11-09 12:21:11 -0500 | [diff] [blame] | 25 | export GOOGLE_APPENGINE=$HOME/projects/google_appengine/ |
Joe Gregorio | 3cf90d0 | 2010-12-20 10:26:08 -0500 | [diff] [blame] | 26 | export DJANGO_SETTINGS_MODULE=fakesettings |
| 27 | export PYTHONPATH=`pwd`/..:$GOOGLE_APPENGINE |
Joe Gregorio | 90e7ec2 | 2011-07-06 10:09:20 -0400 | [diff] [blame] | 28 | find ../apiclient/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w |
| 29 | find ../oauth2client/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w |
Joe Gregorio | 90e7ec2 | 2011-07-06 10:09:20 -0400 | [diff] [blame] | 30 | find ../uritemplate/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs python `which pydoc` -w |
Joe Gregorio | 746096f | 2012-06-15 10:53:36 -0400 | [diff] [blame^] | 31 | epydoc --output epy --graph classtree --docformat plaintext apiclient oauth2client |