Skip to content

Commit 6bab1f0

Browse files
authored
Upgrade dartdoc to 0.21.1 (#1650)
* Upgrade customization tests * Upgrade dartdoc to 0.21.1
1 parent 1ebf451 commit 6bab1f0

11 files changed

+40
-39
lines changed

app/lib/shared/versions.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final RegExp runtimeVersionPattern = new RegExp(r'\d{4}\.\d{2}\.\d{2}');
1616
/// Increment the version when a change is significant enough to trigger
1717
/// reprocessing, including: version change in pana, dartdoc, or the SDKs,
1818
/// or when an feature or bugfix should be picked up by the analysis ASAP.
19-
final String runtimeVersion = '2018.09.17';
19+
final String runtimeVersion = '2018.09.25';
2020
final Version semanticRuntimeVersion = new Version.parse(runtimeVersion);
2121

2222
/// The version which marks the earliest version of the data which we'd like to
@@ -41,7 +41,7 @@ final Version semanticPanaVersion = new Version.parse(panaVersion);
4141
final String flutterVersion = '0.8.4';
4242
final Version semanticFlutterVersion = new Version.parse(flutterVersion);
4343

44-
final String dartdocVersion = '0.20.4';
44+
final String dartdocVersion = '0.21.1';
4545
final Version semanticDartdocVersion = new Version.parse(dartdocVersion);
4646

4747
/// The version of our customization going into the output of the dartdoc static

app/test/dartdoc/golden/pana_0.12.2_index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<meta name="generator" content="made with love by dartdoc 0.20.4">
7+
<meta name="generator" content="made with love by dartdoc 0.21.1">
88
<meta name="description" content="pana API docs, for the Dart programming language.">
99
<title>pana - Dart API docs</title>
1010
<link rel="canonical" href="https://pub.dartlang.org/documentation/pana/0.12.2/index.html">
@@ -76,12 +76,12 @@ <h3 id="usage">Usage</h3>
7676
<h2>Libraries</h2>
7777
<dl>
7878
<dt id="models">
79-
<span class="name"><a href="models/models-library.html">models</a></span>
79+
<span class="name"><a href="models/models-library.html">models</a></span>
8080
</dt>
8181
<dd>
8282

8383
</dd> <dt id="pana">
84-
<span class="name"><a href="pana/pana-library.html">pana</a></span>
84+
<span class="name"><a href="pana/pana-library.html">pana</a></span>
8585
</dt>
8686
<dd>
8787

app/test/dartdoc/golden/pana_0.12.2_index.out.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<meta charset="utf-8">
1212
<meta http-equiv="X-UA-Compatible" content="IE=edge">
1313
<meta name="viewport" content="width=device-width, initial-scale=1">
14-
<meta name="generator" content="made with love by dartdoc 0.20.4">
14+
<meta name="generator" content="made with love by dartdoc 0.21.1">
1515
<meta name="description" content="pana API docs, for the Dart programming language.">
1616
<title>pana - Dart API docs</title>
1717
<link rel="alternate" href="/documentation/pana/latest/">
@@ -87,12 +87,12 @@ <h3 id="usage">Usage</h3>
8787
<h2>Libraries</h2>
8888
<dl>
8989
<dt id="models">
90-
<span class="name"><a href="models/models-library.html">models</a></span>
90+
<span class="name"><a href="models/models-library.html">models</a></span>
9191
</dt>
9292
<dd>
9393

9494
</dd> <dt id="pana">
95-
<span class="name"><a href="pana/pana-library.html">pana</a></span>
95+
<span class="name"><a href="pana/pana-library.html">pana</a></span>
9696
</dt>
9797
<dd>
9898

app/test/dartdoc/golden/pana_0.12.2_license_file_class.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h5>pana library</h5>
125125
</div>
126126

127127
<div class="col-xs-12 col-sm-9 col-md-8 main-content">
128-
<h1>LicenseFile class</h1>
128+
<h1>LicenseFile class </h1>
129129

130130

131131
<section>
@@ -167,55 +167,55 @@ <h2>Properties</h2>
167167
<dl class="properties">
168168
<dt id="hashCode" class="property">
169169
<span class="name"><a href="pana/LicenseFile/hashCode.html">hashCode</a></span>
170-
<span class="signature">&#8594; int</span>
170+
<span class="signature">&#8594; int</span>
171171
</dt>
172172
<dd>
173173
The hash code for this object. <a href="pana/LicenseFile/hashCode.html">[...]</a>
174174
<div class="features">read-only</div>
175175
</dd>
176176
<dt id="name" class="property">
177177
<span class="name"><a href="pana/LicenseFile/name.html">name</a></span>
178-
<span class="signature">&#8594; String</span>
178+
<span class="signature">&#8594; String</span>
179179
</dt>
180180
<dd>
181181

182182
<div class="features">final</div>
183183
</dd>
184184
<dt id="path" class="property">
185185
<span class="name"><a href="pana/LicenseFile/path.html">path</a></span>
186-
<span class="signature">&#8594; String</span>
186+
<span class="signature">&#8594; String</span>
187187
</dt>
188188
<dd>
189189

190190
<div class="features">final</div>
191191
</dd>
192192
<dt id="shortFormatted" class="property">
193193
<span class="name"><a href="pana/LicenseFile/shortFormatted.html">shortFormatted</a></span>
194-
<span class="signature">&#8594; String</span>
194+
<span class="signature">&#8594; String</span>
195195
</dt>
196196
<dd>
197197

198198
<div class="features">read-only</div>
199199
</dd>
200200
<dt id="url" class="property">
201201
<span class="name"><a href="pana/LicenseFile/url.html">url</a></span>
202-
<span class="signature">&#8594; String</span>
202+
<span class="signature">&#8594; String</span>
203203
</dt>
204204
<dd>
205205

206206
<div class="features">@JsonKey(includeIfNull: false), final</div>
207207
</dd>
208208
<dt id="version" class="property">
209209
<span class="name"><a href="pana/LicenseFile/version.html">version</a></span>
210-
<span class="signature">&#8594; String</span>
210+
<span class="signature">&#8594; String</span>
211211
</dt>
212212
<dd>
213213

214214
<div class="features">@JsonKey(includeIfNull: false), final</div>
215215
</dd>
216216
<dt id="runtimeType" class="property inherited">
217217
<span class="name"><a href="pana/LicenseFile/runtimeType.html">runtimeType</a></span>
218-
<span class="signature">&#8594; Type</span>
218+
<span class="signature">&#8594; Type</span>
219219
</dt>
220220
<dd class="inherited">
221221
A representation of the runtime type of the object.
@@ -231,7 +231,7 @@ <h2>Methods</h2>
231231
<span class="name"><a href="pana/LicenseFile/change.html">change</a></span><span class="signature">(<wbr>{<span class="parameter" id="change-param-url"><span class="type-annotation">String</span> <span class="parameter-name">url</span></span> })
232232
<span class="returntype parameter">&#8594; <a href="pana/LicenseFile-class.html">LicenseFile</a></span>
233233
</span>
234-
</dt>
234+
</dt>
235235
<dd>
236236

237237

@@ -240,7 +240,7 @@ <h2>Methods</h2>
240240
<span class="name"><a href="pana/LicenseFile/toString.html">toString</a></span><span class="signature">(<wbr>)
241241
<span class="returntype parameter">&#8594; String</span>
242242
</span>
243-
</dt>
243+
</dt>
244244
<dd>
245245
Returns a string representation of this object.
246246

@@ -249,7 +249,7 @@ <h2>Methods</h2>
249249
<span class="name"><a href="pana/LicenseFile/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation">Invocation</span> <span class="parameter-name">invocation</span></span>)
250250
<span class="returntype parameter">&#8594; dynamic</span>
251251
</span>
252-
</dt>
252+
</dt>
253253
<dd class="inherited">
254254
Invoked when a non-existent method or property is accessed. <a href="pana/LicenseFile/noSuchMethod.html">[...]</a>
255255
<div class="features">inherited</div>
@@ -258,7 +258,7 @@ <h2>Methods</h2>
258258
<span class="name"><a href="pana/LicenseFile/toJson.html">toJson</a></span><span class="signature">(<wbr>)
259259
<span class="returntype parameter">&#8594; Map<span class="signature">&lt;<wbr><span class="type-parameter">String</span>, <span class="type-parameter">dynamic</span>&gt;</span></span>
260260
</span>
261-
</dt>
261+
</dt>
262262
<dd class="inherited">
263263

264264
<div class="features">inherited</div>
@@ -273,7 +273,7 @@ <h2>Operators</h2>
273273
<span class="name"><a href="pana/LicenseFile/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">Object</span> <span class="parameter-name">other</span></span>)
274274
<span class="returntype parameter">&#8594; bool</span>
275275
</span>
276-
</dt>
276+
</dt>
277277
<dd>
278278
The equality operator. <a href="pana/LicenseFile/operator_equals.html">[...]</a>
279279

app/test/dartdoc/golden/pana_0.12.2_license_file_class.out.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h5>pana library</h5>
135135
</div>
136136

137137
<div class="col-xs-12 col-sm-9 col-md-8 main-content">
138-
<h1>LicenseFile class</h1>
138+
<h1>LicenseFile class </h1>
139139

140140

141141
<section>
@@ -177,55 +177,55 @@ <h2>Properties</h2>
177177
<dl class="properties">
178178
<dt id="hashCode" class="property">
179179
<span class="name"><a href="pana/LicenseFile/hashCode.html">hashCode</a></span>
180-
<span class="signature">→ int</span>
180+
<span class="signature">→ int</span>
181181
</dt>
182182
<dd>
183183
The hash code for this object. <a href="pana/LicenseFile/hashCode.html">[...]</a>
184184
<div class="features">read-only</div>
185185
</dd>
186186
<dt id="name" class="property">
187187
<span class="name"><a href="pana/LicenseFile/name.html">name</a></span>
188-
<span class="signature">→ String</span>
188+
<span class="signature">→ String</span>
189189
</dt>
190190
<dd>
191191

192192
<div class="features">final</div>
193193
</dd>
194194
<dt id="path" class="property">
195195
<span class="name"><a href="pana/LicenseFile/path.html">path</a></span>
196-
<span class="signature">→ String</span>
196+
<span class="signature">→ String</span>
197197
</dt>
198198
<dd>
199199

200200
<div class="features">final</div>
201201
</dd>
202202
<dt id="shortFormatted" class="property">
203203
<span class="name"><a href="pana/LicenseFile/shortFormatted.html">shortFormatted</a></span>
204-
<span class="signature">→ String</span>
204+
<span class="signature">→ String</span>
205205
</dt>
206206
<dd>
207207

208208
<div class="features">read-only</div>
209209
</dd>
210210
<dt id="url" class="property">
211211
<span class="name"><a href="pana/LicenseFile/url.html">url</a></span>
212-
<span class="signature">→ String</span>
212+
<span class="signature">→ String</span>
213213
</dt>
214214
<dd>
215215

216216
<div class="features">@JsonKey(includeIfNull: false), final</div>
217217
</dd>
218218
<dt id="version" class="property">
219219
<span class="name"><a href="pana/LicenseFile/version.html">version</a></span>
220-
<span class="signature">→ String</span>
220+
<span class="signature">→ String</span>
221221
</dt>
222222
<dd>
223223

224224
<div class="features">@JsonKey(includeIfNull: false), final</div>
225225
</dd>
226226
<dt id="runtimeType" class="property inherited">
227227
<span class="name"><a href="pana/LicenseFile/runtimeType.html">runtimeType</a></span>
228-
<span class="signature">→ Type</span>
228+
<span class="signature">→ Type</span>
229229
</dt>
230230
<dd class="inherited">
231231
A representation of the runtime type of the object.
@@ -241,7 +241,7 @@ <h2>Methods</h2>
241241
<span class="name"><a href="pana/LicenseFile/change.html">change</a></span><span class="signature">(<wbr>{<span class="parameter" id="change-param-url"><span class="type-annotation">String</span> <span class="parameter-name">url</span></span> })
242242
<span class="returntype parameter"><a href="pana/LicenseFile-class.html">LicenseFile</a></span>
243243
</span>
244-
</dt>
244+
</dt>
245245
<dd>
246246

247247

@@ -250,7 +250,7 @@ <h2>Methods</h2>
250250
<span class="name"><a href="pana/LicenseFile/toString.html">toString</a></span><span class="signature">(<wbr>)
251251
<span class="returntype parameter">→ String</span>
252252
</span>
253-
</dt>
253+
</dt>
254254
<dd>
255255
Returns a string representation of this object.
256256

@@ -259,7 +259,7 @@ <h2>Methods</h2>
259259
<span class="name"><a href="pana/LicenseFile/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation">Invocation</span> <span class="parameter-name">invocation</span></span>)
260260
<span class="returntype parameter">→ dynamic</span>
261261
</span>
262-
</dt>
262+
</dt>
263263
<dd class="inherited">
264264
Invoked when a non-existent method or property is accessed. <a href="pana/LicenseFile/noSuchMethod.html">[...]</a>
265265
<div class="features">inherited</div>
@@ -268,7 +268,7 @@ <h2>Methods</h2>
268268
<span class="name"><a href="pana/LicenseFile/toJson.html">toJson</a></span><span class="signature">(<wbr>)
269269
<span class="returntype parameter">→ Map<span class="signature">&lt;<wbr><span class="type-parameter">String</span>, <span class="type-parameter">dynamic</span>&gt;</span></span>
270270
</span>
271-
</dt>
271+
</dt>
272272
<dd class="inherited">
273273

274274
<div class="features">inherited</div>
@@ -283,7 +283,7 @@ <h2>Operators</h2>
283283
<span class="name"><a href="pana/LicenseFile/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">Object</span> <span class="parameter-name">other</span></span>)
284284
<span class="returntype parameter">→ bool</span>
285285
</span>
286-
</dt>
286+
</dt>
287287
<dd>
288288
The equality operator. <a href="pana/LicenseFile/operator_equals.html">[...]</a>
289289

app/test/dartdoc/golden/pana_0.12.2_pretty_json.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h5>pana library</h5>
125125
</div><!--/.sidebar-offcanvas-left-->
126126

127127
<div class="col-xs-12 col-sm-9 col-md-8 main-content">
128-
<h1>prettyJson function</h1>
128+
<h1>prettyJson function </h1>
129129

130130
<section class="multi-line-signature">
131131
<span class="returntype">String</span>

app/test/dartdoc/golden/pana_0.12.2_pretty_json.out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h5>pana library</h5>
135135
</div><!--/.sidebar-offcanvas-left-->
136136

137137
<div class="col-xs-12 col-sm-9 col-md-8 main-content">
138-
<h1>prettyJson function</h1>
138+
<h1>prettyJson function </h1>
139139

140140
<section class="multi-line-signature">
141141
<span class="returntype">String</span>

app/test/shared/versions_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void main() {
3131
// This test is a reminder that if pana, the SDK or any of the above
3232
// versions change, we should also adjust the [runtimeVersion]. Before
3333
// updating the hash value, double-check if it is being updated.
34-
expect(hash, 643525684);
34+
expect(hash, 575265127);
3535
});
3636

3737
test('runtime version should be (somewhat) lexicographically ordered', () {

pkg/pub_dartdoc/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ packages:
140140
name: dartdoc
141141
url: "https://pub.dartlang.org"
142142
source: hosted
143-
version: "0.20.4"
143+
version: "0.21.1"
144144
fixnum:
145145
dependency: transitive
146146
description:

pkg/pub_dartdoc/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
meta: ^1.1.5
1010
path: ^1.6.0
1111
# dartdoc version to be pinned
12-
dartdoc: 0.20.4
12+
dartdoc: 0.21.1
1313

1414
dev_dependencies:
1515
build_runner: '^0.10.0'

pkg/pub_dartdoc/test/self_documenting_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ main() {
4343
files.sort();
4444
expect(files, [
4545
'__404error.html',
46+
'categories.json',
4647
'index.html',
4748
'index.json',
4849
'pub-data.json',

0 commit comments

Comments
 (0)