Skip to content

Commit 74afbfc

Browse files
authored
Upgrade dartdoc to 0.30.4 (#3526)
1 parent 8459db5 commit 74afbfc

16 files changed

+54
-86
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Important changes to data-models, configuration and migrations between each
22
AppEngine version, listed here to ease deployment and troubleshooting.
33

44
## Next Release (replace with git tag when deployed)
5+
* Bumped runtimeVersion to `2020.04.16`.
6+
* Upgraded dartdoc to `0.30.4`.
57

68
## `20200407t121442-all`
79
* Bumped runtimeVersion to `2020.04.07`.

app/lib/dartdoc/dartdoc_runner.dart

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,6 @@ const _pubDataFileName = 'pub-data.json';
3636
const _sdkTimeout = Duration(minutes: 20);
3737
final Duration _twoYears = const Duration(days: 2 * 365);
3838

39-
const _excludedLibraries = <String>[
40-
'dart:async',
41-
'dart:collection',
42-
'dart:convert',
43-
'dart:core',
44-
'dart:developer',
45-
'dart:ffi',
46-
'dart:html',
47-
'dart:io',
48-
'dart:isolate',
49-
'dart:js',
50-
'dart:js_util',
51-
'dart:math',
52-
'dart:typed_data',
53-
'dart:ui',
54-
];
55-
5639
final _pkgPubDartdocDir =
5740
Platform.script.resolve('../../pkg/pub_dartdoc').toFilePath();
5841

@@ -381,8 +364,6 @@ class DartdocJobProcessor extends JobProcessor {
381364
'--rel-canonical-prefix',
382365
canonicalUrl,
383366
if (!isReduced) '--link-to-remote',
384-
'--exclude',
385-
_excludedLibraries.join(','),
386367
if (isReduced) '--no-validate-links',
387368
];
388369
if (envConfig.toolEnvDartSdkDir != null) {

app/lib/shared/versions.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final RegExp runtimeVersionPattern = RegExp(r'^\d{4}\.\d{2}\.\d{2}$');
2525
/// reprocessing, including: risk of data corruption in analysis, version change
2626
/// in pana, dartdoc, or the SDKs, or when an feature or bugfix should be picked
2727
/// up by the analysis ASAP.
28-
const String runtimeVersion = '2020.04.07';
28+
const String runtimeVersion = '2020.04.16';
2929
final Version semanticRuntimeVersion = Version.parse(runtimeVersion);
3030

3131
/// The version which marks the earliest version of the data which we'd like to
@@ -34,9 +34,9 @@ final Version semanticRuntimeVersion = Version.parse(runtimeVersion);
3434
///
3535
/// Make sure that at least two versions are kept here as the next candidates
3636
/// when the version switch happens:
37+
/// - 2020.04.07
3738
/// - 2020.03.24
38-
/// - 2020.03.09
39-
final String gcBeforeRuntimeVersion = '2020.02.19';
39+
final String gcBeforeRuntimeVersion = '2020.03.09';
4040

4141
/// The versions which contain data that we should not fall back to.
4242
final blacklistedRuntimeVersions = ['2019.12.05', '2019.12.05+1'];
@@ -53,7 +53,7 @@ final String flutterVersion = '1.12.13+hotfix.9';
5353
final Version semanticFlutterVersion = Version.parse(flutterVersion);
5454

5555
// keep in-sync with pkg/pub_dartdoc/pubspec.yaml
56-
final String dartdocVersion = '0.30.3';
56+
final String dartdocVersion = '0.30.4';
5757
final Version semanticDartdocVersion = Version.parse(dartdocVersion);
5858

5959
// Version that control the dartdoc serving.

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
7-
<meta name="generator" content="made with love by dartdoc 0.30.0+1">
7+
<meta name="generator" content="made with love by dartdoc 0.30.4">
88
<meta name="description" content="pana API docs, for the Dart programming language.">
99
<title>pana - Dart API docs</title>
10-
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/index.html">
10+
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/">
1111

1212

1313
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
1414
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1515
<link rel="stylesheet" href="static-assets/github.css">
1616
<link rel="stylesheet" href="static-assets/styles.css">
1717
<link rel="icon" href="static-assets/favicon.png">
18-
<!-- header placeholder -->
18+
1919
</head>
2020

21-
<body>
21+
<body data-base-href=""
22+
data-using-base-href="false">
2223

2324
<div id="overlay-under-drawer"></div>
2425

@@ -122,15 +123,14 @@ <h2>Libraries</h2>
122123
0.12.2
123124
</span>
124125

125-
<!-- footer-text placeholder -->
126126
</footer>
127127

128128
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
129129
<script src="static-assets/typeahead.bundle.min.js"></script>
130130
<script src="static-assets/highlight.pack.js"></script>
131131
<script src="static-assets/URI.js"></script>
132-
<script id="dartdoc_script_js" src="static-assets/script.js"></script>
133-
<!-- footer placeholder -->
132+
<script src="static-assets/script.js"></script>
133+
134134

135135
</body>
136136

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8"/>
77
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
88
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/>
9-
<meta name="generator" content="made with love by dartdoc 0.30.0+1"/>
9+
<meta name="generator" content="made with love by dartdoc 0.30.4"/>
1010
<meta name="description" content="pana API docs, for the Dart programming language."/>
1111
<title>pana - Dart API docs</title>
1212
<link rel="alternate" href="/documentation/pana/latest/"/>
@@ -17,9 +17,8 @@
1717
<link rel="stylesheet" href="static-assets/github.css"/>
1818
<link rel="stylesheet" href="static-assets/styles.css"/>
1919
<link rel="icon" href="static-assets/favicon.png"/>
20-
<!-- header placeholder -->
2120
</head>
22-
<body>
21+
<body data-base-href="" data-using-base-href="false">
2322
<div id="overlay-under-drawer"/>
2423
<header id="title">
2524
<button id="sidenav-left-toggle" type="button"></button>
@@ -138,13 +137,11 @@ <h2>Libraries</h2>
138137
pana
139138
0.12.2
140139
</span>
141-
<!-- footer-text placeholder -->
142140
</footer>
143141
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"/>
144142
<script src="static-assets/typeahead.bundle.min.js"/>
145143
<script src="static-assets/highlight.pack.js"/>
146144
<script src="static-assets/URI.js"/>
147-
<script id="dartdoc_script_js" src="static-assets/script.js"/>
148-
<!-- footer placeholder -->
145+
<script src="static-assets/script.js"/>
149146
</body>
150147
</html>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
77
<meta name="description" content="API docs for the LicenseFile class from the models library, for the Dart programming language.">
88
<title>LicenseFile class - models library - Dart API</title>
9-
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/../models/LicenseFile-class.html">
9+
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/models/LicenseFile-class.html">
1010

1111

1212
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
1313
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1414
<link rel="stylesheet" href="../static-assets/github.css">
1515
<link rel="stylesheet" href="../static-assets/styles.css">
1616
<link rel="icon" href="../static-assets/favicon.png">
17-
<!-- header placeholder -->
17+
1818
</head>
1919

20-
<body>
20+
<body data-base-href="../"
21+
data-using-base-href="false">
2122

2223
<div id="overlay-under-drawer"></div>
2324

@@ -288,15 +289,14 @@ <h2>Operators</h2>
288289
0.12.2
289290
</span>
290291

291-
<!-- footer-text placeholder -->
292292
</footer>
293293

294294
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
295295
<script src="../static-assets/typeahead.bundle.min.js"></script>
296296
<script src="../static-assets/highlight.pack.js"></script>
297297
<script src="../static-assets/URI.js"></script>
298-
<script id="dartdoc_script_js" src="../static-assets/script.js"></script>
299-
<!-- footer placeholder -->
298+
<script src="../static-assets/script.js"></script>
299+
300300

301301
</body>
302302

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
<link rel="stylesheet" href="../static-assets/github.css"/>
1616
<link rel="stylesheet" href="../static-assets/styles.css"/>
1717
<link rel="icon" href="../static-assets/favicon.png"/>
18-
<!-- header placeholder -->
1918
</head>
20-
<body>
19+
<body data-base-href="../" data-using-base-href="false">
2120
<div id="overlay-under-drawer"/>
2221
<header id="title">
2322
<button id="sidenav-left-toggle" type="button"></button>
@@ -441,13 +440,11 @@ <h2>Operators</h2>
441440
pana
442441
0.12.2
443442
</span>
444-
<!-- footer-text placeholder -->
445443
</footer>
446444
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"/>
447445
<script src="../static-assets/typeahead.bundle.min.js"/>
448446
<script src="../static-assets/highlight.pack.js"/>
449447
<script src="../static-assets/URI.js"/>
450-
<script id="dartdoc_script_js" src="../static-assets/script.js"/>
451-
<!-- footer placeholder -->
448+
<script src="../static-assets/script.js"/>
452449
</body>
453450
</html>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
77
<meta name="description" content="API docs for the LicenseFile constructor from the Class LicenseFile class from the models library, for the Dart programming language.">
88
<title>LicenseFile constructor - LicenseFile class - models library - Dart API</title>
9-
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/../../models/LicenseFile/LicenseFile.html">
9+
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/models/LicenseFile/LicenseFile.html">
1010

1111

1212
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
1313
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1414
<link rel="stylesheet" href="../../static-assets/github.css">
1515
<link rel="stylesheet" href="../../static-assets/styles.css">
1616
<link rel="icon" href="../../static-assets/favicon.png">
17-
<!-- header placeholder -->
17+
1818
</head>
1919

20-
<body>
20+
<body data-base-href="../../"
21+
data-using-base-href="false">
2122

2223
<div id="overlay-under-drawer"></div>
2324

@@ -115,15 +116,14 @@ <h2><span>Implementation</span></h2>
115116
0.12.2
116117
</span>
117118

118-
<!-- footer-text placeholder -->
119119
</footer>
120120

121121
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
122122
<script src="../../static-assets/typeahead.bundle.min.js"></script>
123123
<script src="../../static-assets/highlight.pack.js"></script>
124124
<script src="../../static-assets/URI.js"></script>
125-
<script id="dartdoc_script_js" src="../../static-assets/script.js"></script>
126-
<!-- footer placeholder -->
125+
<script src="../../static-assets/script.js"></script>
126+
127127

128128
</body>
129129

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
<link rel="stylesheet" href="../../static-assets/github.css"/>
1616
<link rel="stylesheet" href="../../static-assets/styles.css"/>
1717
<link rel="icon" href="../../static-assets/favicon.png"/>
18-
<!-- header placeholder -->
1918
</head>
20-
<body>
19+
<body data-base-href="../../" data-using-base-href="false">
2120
<div id="overlay-under-drawer"/>
2221
<header id="title">
2322
<button id="sidenav-left-toggle" type="button"></button>
@@ -180,13 +179,11 @@ <h2>
180179
pana
181180
0.12.2
182181
</span>
183-
<!-- footer-text placeholder -->
184182
</footer>
185183
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"/>
186184
<script src="../../static-assets/typeahead.bundle.min.js"/>
187185
<script src="../../static-assets/highlight.pack.js"/>
188186
<script src="../../static-assets/URI.js"/>
189-
<script id="dartdoc_script_js" src="../../static-assets/script.js"/>
190-
<!-- footer placeholder -->
187+
<script src="../../static-assets/script.js"/>
191188
</body>
192189
</html>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
77
<meta name="description" content="API docs for the name property from the LicenseFile class, for the Dart programming language.">
88
<title>name property - LicenseFile class - models library - Dart API</title>
9-
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/../../models/LicenseFile/name.html">
9+
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/models/LicenseFile/name.html">
1010

1111

1212
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
1313
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1414
<link rel="stylesheet" href="../../static-assets/github.css">
1515
<link rel="stylesheet" href="../../static-assets/styles.css">
1616
<link rel="icon" href="../../static-assets/favicon.png">
17-
<!-- header placeholder -->
17+
1818
</head>
1919

20-
<body>
20+
<body data-base-href="../../"
21+
data-using-base-href="false">
2122

2223
<div id="overlay-under-drawer"></div>
2324

@@ -113,15 +114,14 @@ <h2><span>Implementation</span></h2>
113114
0.12.2
114115
</span>
115116

116-
<!-- footer-text placeholder -->
117117
</footer>
118118

119119
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
120120
<script src="../../static-assets/typeahead.bundle.min.js"></script>
121121
<script src="../../static-assets/highlight.pack.js"></script>
122122
<script src="../../static-assets/URI.js"></script>
123-
<script id="dartdoc_script_js" src="../../static-assets/script.js"></script>
124-
<!-- footer placeholder -->
123+
<script src="../../static-assets/script.js"></script>
124+
125125

126126
</body>
127127

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
<link rel="stylesheet" href="../../static-assets/github.css"/>
1616
<link rel="stylesheet" href="../../static-assets/styles.css"/>
1717
<link rel="icon" href="../../static-assets/favicon.png"/>
18-
<!-- header placeholder -->
1918
</head>
20-
<body>
19+
<body data-base-href="../../" data-using-base-href="false">
2120
<div id="overlay-under-drawer"/>
2221
<header id="title">
2322
<button id="sidenav-left-toggle" type="button"></button>
@@ -156,13 +155,11 @@ <h2>
156155
pana
157156
0.12.2
158157
</span>
159-
<!-- footer-text placeholder -->
160158
</footer>
161159
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"/>
162160
<script src="../../static-assets/typeahead.bundle.min.js"/>
163161
<script src="../../static-assets/highlight.pack.js"/>
164162
<script src="../../static-assets/URI.js"/>
165-
<script id="dartdoc_script_js" src="../../static-assets/script.js"/>
166-
<!-- footer placeholder -->
163+
<script src="../../static-assets/script.js"/>
167164
</body>
168165
</html>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
77
<meta name="description" content="API docs for the prettyJson function from the pana library, for the Dart programming language.">
88
<title>prettyJson function - pana library - Dart API</title>
9-
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/../pana/prettyJson.html">
9+
<link rel="canonical" href="https://pub.dev/documentation/pana/0.12.2/pana/prettyJson.html">
1010

1111

1212
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
1313
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1414
<link rel="stylesheet" href="../static-assets/github.css">
1515
<link rel="stylesheet" href="../static-assets/styles.css">
1616
<link rel="icon" href="../static-assets/favicon.png">
17-
<!-- header placeholder -->
17+
1818
</head>
1919

20-
<body>
20+
<body data-base-href="../"
21+
data-using-base-href="false">
2122

2223
<div id="overlay-under-drawer"></div>
2324

@@ -184,15 +185,14 @@ <h2><span>Implementation</span></h2>
184185
0.12.2
185186
</span>
186187

187-
<!-- footer-text placeholder -->
188188
</footer>
189189

190190
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
191191
<script src="../static-assets/typeahead.bundle.min.js"></script>
192192
<script src="../static-assets/highlight.pack.js"></script>
193193
<script src="../static-assets/URI.js"></script>
194-
<script id="dartdoc_script_js" src="../static-assets/script.js"></script>
195-
<!-- footer placeholder -->
194+
<script src="../static-assets/script.js"></script>
195+
196196

197197
</body>
198198

0 commit comments

Comments
 (0)