Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: pkg/analyzer_plugin/tool/spec/to_html.dart

Issue 2800283002: updates to the analysis server generated spec doc (Closed)
Patch Set: revert a change from a separate CL Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/from_html.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Code for displaying the API as HTML. This is used both for generating a 6 * Code for displaying the API as HTML. This is used both for generating a
7 * full description of the API as a web page, and for generating doc comments 7 * full description of the API as a web page, and for generating doc comments
8 * in generated code. 8 * in generated code.
9 */ 9 */
10 import 'dart:convert'; 10 import 'dart:convert';
(...skipping 16 matching lines...) Expand all
27 margin: 0 auto; 27 margin: 0 auto;
28 padding: 0 16px; 28 padding: 0 16px;
29 font-size: 16px; 29 font-size: 16px;
30 line-height: 1.5; 30 line-height: 1.5;
31 color: #111; 31 color: #111;
32 background-color: #fdfdfd; 32 background-color: #fdfdfd;
33 font-weight: 300; 33 font-weight: 300;
34 -webkit-font-smoothing: auto; 34 -webkit-font-smoothing: auto;
35 } 35 }
36 36
37 h1 {
38 text-align: center;
39 }
40
41 h2, h3, h4, h5 { 37 h2, h3, h4, h5 {
42 margin-bottom: 0; 38 margin-bottom: 0;
43 } 39 }
44 40
45 h2.domain { 41 h2.domain {
46 border-bottom: 1px solid rgb(200, 200, 200); 42 border-bottom: 1px solid rgb(200, 200, 200);
47 margin-bottom: 0.5em; 43 margin-bottom: 0.5em;
48 } 44 }
49 45
50 h4 { 46 h4 {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 102 }
107 103
108 a { 104 a {
109 text-decoration: none; 105 text-decoration: none;
110 } 106 }
111 107
112 a:focus, a:hover { 108 a:focus, a:hover {
113 text-decoration: underline; 109 text-decoration: underline;
114 } 110 }
115 111
112 .deprecated {
113 text-decoration: line-through;
114 }
115
116 /* Styles for index */ 116 /* Styles for index */
117 117
118 .subindex { 118 .subindex {
119 } 119 }
120 120
121 .subindex ul { 121 .subindex ul {
122 padding-left: 0; 122 padding-left: 0;
123 margin-left: 0; 123 margin-left: 0;
124 124
125 -webkit-margin-before: 0; 125 -webkit-margin-before: 0;
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 bool verticalBarNeeded = false; 770 bool verticalBarNeeded = false;
771 for (TypeDecl choice in typeUnion.choices) { 771 for (TypeDecl choice in typeUnion.choices) {
772 if (verticalBarNeeded) { 772 if (verticalBarNeeded) {
773 write(' | '); 773 write(' | ');
774 } 774 }
775 visitTypeDecl(choice); 775 visitTypeDecl(choice);
776 verticalBarNeeded = true; 776 verticalBarNeeded = true;
777 } 777 }
778 } 778 }
779 } 779 }
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/from_html.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698