1
0
mirror of https://github.com/golang/go synced 2024-10-01 05:18:33 -06:00
go/godoc/static/bake.sh
Alan Donovan 503140c72e godoc: documentation of -analysis features.
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
2014-04-16 16:35:08 -04:00

61 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2013 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
STATIC="
analysis/call3.png
analysis/call-eg.png
analysis/callers1.png
analysis/callers2.png
analysis/chan1.png
analysis/chan2a.png
analysis/chan2b.png
analysis/error1.png
analysis/help.html
analysis/ident-def.png
analysis/ident-field.png
analysis/ident-func.png
analysis/ipcg-func.png
analysis/ipcg-pkg.png
analysis/typeinfo-pkg.png
analysis/typeinfo-src.png
callgraph.html
codewalk.html
codewalkdir.html
dirlist.html
error.html
example.html
godoc.html
godocs.js
images/minus.gif
images/plus.gif
images/treeview-black-line.gif
images/treeview-black.gif
images/treeview-default-line.gif
images/treeview-default.gif
images/treeview-gray-line.gif
images/treeview-gray.gif
implements.html
jquery.js
jquery.treeview.css
jquery.treeview.edit.js
jquery.treeview.js
methodset.html
opensearch.xml
package.html
package.txt
play.js
playground.js
search.html
search.txt
searchcode.html
searchdoc.html
searchtxt.html
style.css
"
go run bake.go $STATIC | gofmt > static.go