From 64bc38eb854b860342031d98eb8788eea1f69815 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 28 Feb 2012 16:05:12 +1100 Subject: [PATCH] godoc: add Examples link to top-level index R=golang-dev CC=golang-dev https://golang.org/cl/5702043 --- lib/godoc/package.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/godoc/package.html b/lib/godoc/package.html index cdebd4fc4a..3e8af0fca0 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -12,6 +12,9 @@
Overview
Index
+ {{if $.Examples}} +
Examples
+ {{end}} {{if $.Dirs}}
Subdirectories
{{end}} @@ -54,7 +57,7 @@
{{if $.Examples}} -

Examples

+

Examples

{{range $.Examples}}
{{example_name .Name}}
-- 2.48.1