]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add more gophers
authorAndrew Gerrand <adg@golang.org>
Tue, 6 Mar 2012 01:50:52 +0000 (12:50 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 6 Mar 2012 01:50:52 +0000 (12:50 +1100)
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5753047

12 files changed:
doc/contrib.html
doc/docs.html
doc/gopher/doc.png [new file with mode: 0644]
doc/gopher/help.png [new file with mode: 0644]
doc/gopher/pkg.png [new file with mode: 0644]
doc/gopher/project.png [new file with mode: 0644]
doc/gopher/run.png [new file with mode: 0644]
doc/gopher/talks.png [new file with mode: 0644]
doc/help.html
doc/reference.html
doc/style.css
lib/godoc/package.html

index 76cee1ffd40cdbb7eb54fce0217e412f5ac33d10..7a96b8db7b5a33e1eed6a1200cbb61b48ea59bf4 100644 (file)
@@ -3,6 +3,8 @@
        "Path": "/project/"
 }-->
 
+<img class="gopher" src="/doc/gopher/project.png" />
+
 <div id="manual-nav"></div>
 
 <p>
index 52ec28edbfc0460465bc46e566e04502148f0110..f48eb0a08fee498b0585a9e64b9dda5cb6208346 100644 (file)
@@ -31,6 +31,8 @@ libraries.
 
 <h2 id="learning">Learning Go</h2>
 
+<img class="gopher" src="/doc/gopher/doc.png"/>
+
 <h3 id="go_tour"><a href="http://tour.golang.org/">A Tour of Go</a></h3>
 <p>
 An interactive introduction to Go in three sections.
@@ -117,6 +119,8 @@ Guided tours of Go programs.
 
 <h2 id="talks">Talks</h2>
 
+<img class="gopher" src="/doc/gopher/talks.png"/>
+
 <p>
 The talks marked with a red asterisk (<font color="red">*</font>) were written
 before Go 1 and contain some examples that are no longer correct, but they are
@@ -179,6 +183,8 @@ documentation.
 
 <h2 id="community">The Go Community</h2>
 
+<img class="gopher" src="/doc/gopher/project.png"/>
+
 <h3 id="mailinglist"><a href="http://groups.google.com/group/golang-nuts">Go Nuts Mailing List</a></h3>
 <p>The <a href="http://groups.google.com/group/golang-nuts">golang-nuts</a> 
 mailing list is for general Go discussion.</p>
diff --git a/doc/gopher/doc.png b/doc/gopher/doc.png
new file mode 100644 (file)
index 0000000..3604e39
Binary files /dev/null and b/doc/gopher/doc.png differ
diff --git a/doc/gopher/help.png b/doc/gopher/help.png
new file mode 100644 (file)
index 0000000..75aa74a
Binary files /dev/null and b/doc/gopher/help.png differ
diff --git a/doc/gopher/pkg.png b/doc/gopher/pkg.png
new file mode 100644 (file)
index 0000000..9091b93
Binary files /dev/null and b/doc/gopher/pkg.png differ
diff --git a/doc/gopher/project.png b/doc/gopher/project.png
new file mode 100644 (file)
index 0000000..e729a31
Binary files /dev/null and b/doc/gopher/project.png differ
diff --git a/doc/gopher/run.png b/doc/gopher/run.png
new file mode 100644 (file)
index 0000000..4547371
Binary files /dev/null and b/doc/gopher/run.png differ
diff --git a/doc/gopher/talks.png b/doc/gopher/talks.png
new file mode 100644 (file)
index 0000000..03ab7ef
Binary files /dev/null and b/doc/gopher/talks.png differ
index 2efda4e30a776a97d404b41e730d4166e8e6acdc..fadf80a038a9bba803a13ec55b04909d09d58e20 100644 (file)
@@ -3,6 +3,8 @@
        "Path": "/help/"
 }-->
 
+<img class="gopher" src="/doc/gopher/help.png"/>
+
 <p>
 Need help with Go? Try these resources.
 </p>
index 12a6ef96dae303fd0451b573408a20db7f7dc1f8..1b6953e0278def8e5c871b57b9013ff7c70b0872 100644 (file)
@@ -3,7 +3,7 @@
        "Path":  "/ref/"
 }-->
 
-<img src="/doc/gopher/ref.png" align="right"/>
+<img class="gopher" src="/doc/gopher/ref.png" />
 
 <p>Good bedtime reading.</p>
 
index b180a615d29b510ebe6488df95438c9a539a43eb..a62dbc9517e210dba9e3670871e1995548c6693d 100644 (file)
@@ -367,3 +367,20 @@ div#blog .read {
 
 table.codetable { margin-left: auto; margin-right: auto; border-style: none; }
 hr { border-style: none; border-top: 1px solid black; }
+
+img.gopher {
+       float: right;
+       margin-left: 10px;
+       margin-bottom: 10px;
+}
+.pkgGopher {
+       text-align: right;
+}
+.pkgGopher .gopher {
+       float: none;
+       position: relative;
+       top: -40px;
+       margin-bottom: -120px;
+}
+h2 { clear: right; }
+
index e46300f6b638091924d763a0bb33d90f32b2dafc..848e68df775b8d06fb995686cbeb03c6dd11a36c 100644 (file)
 
 {{with .Dirs}}
        {{/* DirList entries are numbers and strings - no need for FSet */}}
-       {{if $.PDoc}}<h2 id="subdirectories">Subdirectories</h2>{{end}}
+       {{if $.PDoc}}
+               <h2 id="subdirectories">Subdirectories</h2>
+       {{else}}
+               <div class="pkgGopher">
+                       <img class="gopher" src="/doc/gopher/pkg.png"/>
+               </div>
+       {{end}}
        <table class="dir">
        <tr>
        <th>Name</th>