Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2010 Google Inc. All Rights Reserved. |
| 4 | # Author: jcgregorio@google.com (Joe Gregorio) |
| 5 | # |
| 6 | # Creates the documentation set for the library by |
| 7 | # running pydoc on all the files in apiclient. |
| 8 | # |
| 9 | # Notes: You may have to update the location of the |
| 10 | # App Engine library for your local system. |
| 11 | |
Joe Gregorio | 3cf90d0 | 2010-12-20 10:26:08 -0500 | [diff] [blame] | 12 | export GOOGLE_APPENGINE=$HOME/projects/google_appengine/ |
| 13 | export DJANGO_SETTINGS_MODULE=fakesettings |
| 14 | export PYTHONPATH=`pwd`/..:$GOOGLE_APPENGINE |
Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 15 | find ../apiclient/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs pydoc -w |
Joe Gregorio | 6e53703 | 2011-02-09 23:04:26 -0500 | [diff] [blame] | 16 | find ../oauth2client/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs pydoc -w |
Joe Gregorio | 55d5818 | 2011-02-20 01:42:07 -0500 | [diff] [blame] | 17 | find ../httplib2/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs pydoc -w |
| 18 | find ../uritemplate/ -name "*.py" | sed "s/\/__init__.py//" | sed "s/\.py//" | sed "s/^\.\.\///" | sed "s#/#.#g" | xargs pydoc -w |
Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 19 | |