Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5873598a
Commit
5873598a
authored
Nov 06, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated godoc documentation
R=r
http://go/go-review/1026007
parent
fd7d8035
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
doc.go
src/cmd/godoc/doc.go
+17
-3
No files found.
src/cmd/godoc/doc.go
View file @
5873598a
...
...
@@ -25,11 +25,13 @@ The flags are:
verbose mode
-tabwidth=4
width of tabs in units of spaces
-cmdroot="src/cmd"
root command source directory (if unrooted, relative to -goroot)
-tmplroot="lib/godoc"
root template directory (if unrooted, relative to -
-
goroot)
root template directory (if unrooted, relative to -goroot)
-pkgroot="src/pkg"
root package source directory (if unrooted, relative to -
-
goroot)
-html
=
root package source directory (if unrooted, relative to -goroot)
-html
print HTML in command-line mode
-goroot=$GOROOT
Go root directory
...
...
@@ -42,5 +44,17 @@ The flags are:
-sync_minutes=0
sync interval in minutes; sync is disabled if <= 0
When godoc runs as a web server, it creates a search index from all .go files
under $GOROOT (excluding files starting with .). The index is created at startup
and is automatically updated every time the -sync command terminates with exit
status 0, indicating that files have changed.
If the sync exit status is 1, godoc assumes that it succeeded without errors
but that no files changed; the index is not updated in this case.
In all other cases, sync is assumed to have failed and godoc backs off running
sync exponentially (up to 1 day). As soon as sync succeeds again (exit status 0
or 1), the normal sync rhythm is re-established.
*/
package
documentation
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment