diff --git a/lib/resources/styles.css b/lib/resources/styles.css index aa1cf21151..b2280457e4 100644 --- a/lib/resources/styles.css +++ b/lib/resources/styles.css @@ -599,6 +599,7 @@ ul.subnav li:last-of-type { .sidebar ol { list-style: none; line-height: 22px; + margin-top: 0; margin-bottom: 0; padding: 0 0 15px 0; } diff --git a/lib/src/html/template_data.dart b/lib/src/html/template_data.dart index aa2c11a2d5..0cdd99f0df 100644 --- a/lib/src/html/template_data.dart +++ b/lib/src/html/template_data.dart @@ -69,9 +69,9 @@ abstract class TemplateData { String _layoutTitle(String name, String kind, bool isDeprecated) { if (isDeprecated) { - return '${kind} ${name}'; + return '${name} ${kind}'; } else { - return '${kind} ${name}'; + return '${name} ${kind}'; } } diff --git a/lib/templates/class.html b/lib/templates/class.html index 240d4c04db..a3aab8fb53 100644 --- a/lib/templates/class.html +++ b/lib/templates/class.html @@ -1,11 +1,12 @@ {{>head}}
+

{{{self.nameWithGenerics}}} {{self.kind}}

{{#clazz}} {{>documentation}} @@ -161,7 +162,6 @@

Constants

diff --git a/lib/templates/constant.html b/lib/templates/constant.html index a5a93f9757..005e1145b4 100644 --- a/lib/templates/constant.html +++ b/lib/templates/constant.html @@ -1,11 +1,12 @@ {{>head}}
+

{{self.name}} {{self.kind}}

{{#property}} @@ -24,7 +25,6 @@
{{parent.kind}} {{parent.name}}
{{>footer}} diff --git a/lib/templates/constructor.html b/lib/templates/constructor.html index 43a3bce48d..6e279ab2e5 100644 --- a/lib/templates/constructor.html +++ b/lib/templates/constructor.html @@ -1,11 +1,13 @@ {{>head}}
+

{{{self.nameWithGenerics}}} {{self.kind}}

+ {{#constructor}}
{{#hasAnnotations}} @@ -29,7 +31,6 @@
{{parent.kind}} {{parent.name}}
{{>footer}} diff --git a/lib/templates/enum.html b/lib/templates/enum.html index 38b24f5102..d0c13a50c5 100644 --- a/lib/templates/enum.html +++ b/lib/templates/enum.html @@ -1,11 +1,12 @@ {{>head}}
+

{{self.name}} {{self.kind}}

{{#eNum}} {{>documentation}} @@ -161,7 +162,6 @@

Static Methods

diff --git a/lib/templates/function.html b/lib/templates/function.html index c7abc43296..4b6f826f2a 100644 --- a/lib/templates/function.html +++ b/lib/templates/function.html @@ -1,11 +1,12 @@ {{>head}}
+

{{{self.nameWithGenerics}}} {{self.kind}}

{{#function}}
@@ -19,7 +20,6 @@
{{parent.kind}} {{parent.name}}
{{>footer}} diff --git a/lib/templates/index.html b/lib/templates/index.html index a128668c5c..5474e1a448 100644 --- a/lib/templates/index.html +++ b/lib/templates/index.html @@ -1,7 +1,7 @@ {{>head}}