summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-10-04 11:21:37 +1000
committerAndrew Gerrand <adg@golang.org>2012-10-04 11:21:37 +1000
commite7f453148c22789660ad064107ffa7e2541ae740 (patch)
treeb93361694a24465883387fd6a4fc3f195e36c237 /doc
parentce6acefc5d9049762066cad6c7cac1378de4544e (diff)
downloadgo-git-e7f453148c22789660ad064107ffa7e2541ae740.tar.gz
godoc: show contents in correct order, expand sections on click
R=dsymonds CC=gobot, golang-dev https://golang.org/cl/6588079
Diffstat (limited to 'doc')
-rw-r--r--doc/godocs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/godocs.js b/doc/godocs.js
index 8fd32fef0f..b1ad3b28c3 100644
--- a/doc/godocs.js
+++ b/doc/godocs.js
@@ -208,6 +208,8 @@ function godocs_onload() {
godocs_bindToggles("toggleVisible");
godocs_bindToggleLinks("exampleLink", "example_");
godocs_bindToggleLinks("overviewLink", "");
+ godocs_bindToggleLinks("examplesLink", "");
+ godocs_bindToggleLinks("indexLink", "");
}
bindEvent(window, 'load', godocs_onload);