mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
503140c72e
The text and images are "baked in" to the godoc executable's rodata section (~300KB) and are accessible from the godoc server itself at /lib/godoc/analysis/help.html. In due course, the page will become visible at http://golang.org/lib/godoc/analysis/help.html, which will be the canonical location for this doc (in announcements, etc). The page is temporarily visible here, for those on the Google corp network: http://172.26.104.127:7777/lib/godoc/analysis/help.html Also: - add link to new doc from source view pages. - document -analysis flag in cmd/godoc/doc.go - fix indentation of -analysis flag's help string LGTM=gri R=gri, bgarcia, r CC=golang-codereviews https://golang.org/cl/87110045 |
||
---|---|---|
.. | ||
appinit.go | ||
blog.go | ||
codewalk.go | ||
doc.go | ||
godoc_test.go | ||
handlers.go | ||
main.go | ||
play.go | ||
README.godoc-app | ||
remotesearch.go | ||
setup-godoc-app.bash |
godoc on appengine ------------------ Prerequisites ------------- * Go appengine SDK https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go * Go sources at tip under $GOROOT * Godoc sources at tip inside $GOPATH (go get -d code.google.com/p/go.tools/cmd/godoc) Directory structure ------------------- * Let $APPDIR be the directory containing the app engine files. (e.g., $APPDIR=$HOME/godoc-app) * $APPDIR contains the following entries (this may change depending on app-engine release and version of godoc): app.yaml code.google.com/p/go.tools/cmd/godoc godoc.zip index.split.* * The app.yaml file is set up per app engine documentation. For instance: application: godoc-app version: 1 runtime: go api_version: go1 handlers: - url: /.* script: _go_app Configuring and running godoc ----------------------------- To configure godoc, run bash setup-godoc-app.bash to prepare an $APPDIR as described above. See the script for details on usage. To run godoc locally, using the App Engine development server, run <path to go_appengine>/dev_appserver.py $APPDIR godoc should come up at http://localhost:8080 .