From 794fda00e282bfc6130f211b8dd39f14664db16f Mon Sep 17 00:00:00 2001 From: xibz Date: Tue, 3 Jan 2017 09:46:05 -0800 Subject: [PATCH] Updating aws-godoc (#1028) --- .../aws-godoc/templates/package_service.html | 77 +++++++++++-------- doc-src/aws-godoc/templates/pkglist.html | 9 ++- doc-src/aws-godoc/templates/style.css | 9 ++- 3 files changed, 58 insertions(+), 37 deletions(-) diff --git a/doc-src/aws-godoc/templates/package_service.html b/doc-src/aws-godoc/templates/package_service.html index 20e1a948cd9..ff35832e308 100644 --- a/doc-src/aws-godoc/templates/package_service.html +++ b/doc-src/aws-godoc/templates/package_service.html @@ -72,11 +72,13 @@

Operations ▾

{{node_html $ .Decl false | sanitize}}
{{end}} {{range .Methods}} - {{if (and (ne .Name "String") (ne .Name "GoString")) }} - {{if (ne .Name "Validate") }} + {{ if (not (is_setter $.PDoc.Name .)) }} + {{ if (not (is_paginator .)) }} + {{ if (ne .Name "Validate") }} {{$name_html := html .Name}} -
{{node_html $ .Decl false | sanitize}}
+
{{client_html $ .Decl false | sanitize}}
+ {{end}} {{end}} {{end}} {{end}} @@ -86,32 +88,30 @@

Operations ▾

{{noteTitle $marker | html}}s
{{end}} {{end}} - - - - - - + + {{ if $.HasPaginators }} +
+ +
+

Paginators ▾

+ {{range .Types -}} + {{$tname_html := html .Name}} + {{range .Methods -}} + {{if is_paginator . -}} + {{$name_html := html .Name}} +
{{client_html $ .Decl false | sanitize}}
+ {{end }} + {{ end }} + {{ end }} +
+
+ {{ end }}
@@ -184,11 +192,18 @@

Inter {{with .Consts}} -

Constants

- {{range .}} -
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{end}} +
+ +
+

Constants ▾

+ {{range .}} +
{{node_html $ .Decl true}}
+ {{comment_html .Doc}} + {{end}} +
+
{{end}} {{with .Vars}}

Variables

diff --git a/doc-src/aws-godoc/templates/pkglist.html b/doc-src/aws-godoc/templates/pkglist.html index 1ef53927aba..4d8428597d3 100644 --- a/doc-src/aws-godoc/templates/pkglist.html +++ b/doc-src/aws-godoc/templates/pkglist.html @@ -6,18 +6,19 @@
+
diff --git a/doc-src/aws-godoc/templates/style.css b/doc-src/aws-godoc/templates/style.css index cb5837e1f1c..d8cae520737 100644 --- a/doc-src/aws-godoc/templates/style.css +++ b/doc-src/aws-godoc/templates/style.css @@ -10,6 +10,10 @@ a > img { padding-top:8px; } +.packages dd:nth-child(odd) { + background-color: #ececec; +} + body { margin: 0; font-family: HelveticaNeueBold,Helvetica,Helvetica,Arial,sans-serif; @@ -67,6 +71,7 @@ ol { margin: 20px; } .packages { + display:inline; margin: 0px; text-align: left; width: 100%; @@ -766,8 +771,6 @@ a.error { div#mobile_container { display:inline-block; width: 100%; - padding-left:20px; - padding-top:10px; } } @@ -818,6 +821,8 @@ a.error { content:""; height: 5px; width:30px; + padding-left:20px; + padding-top:10px; } }