Skip to content

Commit f386b36

Browse files
jcollins-gcommit-bot@chromium.org
authored and
commit-bot@chromium.org
committed
Update dartdoc to v0.18.0 and tag library categories.
Bug: #32297 Change-Id: Id99c98c1b908c5a4b42594cd7e73cd92e089bbca Reviewed-on: https://dart-review.googlesource.com/48450 Commit-Queue: Janice Collins <jcollins@google.com> Reviewed-by: Devon Carew <devoncarew@google.com> Reviewed-by: William Hesse <whesse@google.com>
1 parent 7df4235 commit f386b36

File tree

15 files changed

+38
-1
lines changed

15 files changed

+38
-1
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ vars = {
8484
# For more details, see https://github.com/dart-lang/sdk/issues/30164
8585
"dart_style_tag": "@1.0.10", # Please see the note above before updating.
8686

87-
"dartdoc_tag" : "@v0.17.1+1",
87+
"dartdoc_tag" : "@v0.18.0",
8888
"fixnum_tag": "@0.10.5",
8989
"func_rev": "@25eec48146a58967d75330075ab376b3838b18a8",
9090
"glob_tag": "@1.1.5",

dartdoc_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dartdoc:
2+
categoryOrder: ["VM", "Web"]

sdk/BUILD.gn

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,17 @@ copy("copy_license") {
922922
]
923923
}
924924

925+
# This rule copies the dartdoc_options.yaml file.
926+
copy("copy_dartdoc_options") {
927+
visibility = [ ":create_common_sdk" ]
928+
sources = [
929+
"../dartdoc_options.yaml",
930+
]
931+
outputs = [
932+
"$root_out_dir/dart-sdk/dartdoc_options.yaml",
933+
]
934+
}
935+
925936
# This rule copies the API readme file to lib/
926937
copy("copy_api_readme") {
927938
visibility = [ ":create_common_sdk" ]
@@ -942,6 +953,7 @@ group("create_common_sdk") {
942953
":copy_api_readme",
943954
":copy_dart",
944955
":copy_dartdoc_files",
956+
":copy_dartdoc_options",
945957
":copy_headers",
946958
":copy_libraries_dart",
947959
":copy_license",

sdk/lib/cli/cli.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
/// {@category VM}
56
library dart.cli;
67

78
import 'dart:async';

sdk/lib/html/dart2js/html_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* * For even more examples, see
2222
* [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples)
2323
* on Github.
24+
*
25+
* {@category Web}
2426
*/
2527
library dart.dom.html;
2628

sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
*
7070
* [IndexedDB reference](http://docs.webplatform.org/wiki/apis/indexeddb)
7171
* provides wiki-style docs about indexedDB
72+
*
73+
* {@category Web}
7274
*/
7375
library dart.dom.indexed_db;
7476

sdk/lib/io/io.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@
185185
* (the program blocks waiting for user to type information):
186186
*
187187
* String inputText = stdin.readLineSync();
188+
*
189+
* {@category VM}
188190
*/
189191
library dart.io;
190192

sdk/lib/isolate/isolate.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* To use this library in your code:
1212
*
1313
* import 'dart:isolate';
14+
*
15+
* {@category VM}
1416
*/
1517
library dart.isolate;
1618

sdk/lib/js/dart2js/js_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
* This expression creates a JavaScript array:
7979
*
8080
* var jsArray = new JsObject.jsify([1, 2, 3]);
81+
*
82+
* {@category Web}
8183
*/
8284
library dart.js;
8385

sdk/lib/js_util/dart2js/js_util_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/// methods when the same effect cannot be achieved with @JS annotations.
88
/// These methods would be extension methods on JSObject if Dart supported
99
/// extension methods.
10+
///
11+
/// {@category Web}
1012
library dart.js_util;
1113

1214
import 'dart:_foreign_helper' show JS;

sdk/lib/mirrors/mirrors.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
* result of user feedback. This library is platform dependent and therefore it
5353
* has implementations for both dart2js and the Dart VM. Both are under
5454
* development and may not support all operations yet.
55+
*
56+
* {@category VM}
5557
*/
5658
library dart.mirrors;
5759

sdk/lib/svg/dart2js/svg_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* For details about the features and syntax of SVG, a W3C standard,
66
* refer to the
77
* [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/).
8+
*
9+
* {@category Web}
810
*/
911
library dart.dom.svg;
1012

sdk/lib/web_audio/dart2js/web_audio_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
22
* High-fidelity audio programming in the browser.
3+
*
4+
* {@category Web}
35
*/
46
library dart.dom.web_audio;
57

sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
22
* 3D programming in the browser.
3+
*
4+
* {@category Web}
35
*/
46
library dart.dom.web_gl;
57

sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* for more information.
88
*
99
* The [dart:indexed_db] APIs is a recommended alternatives.
10+
*
11+
* {@category Web}
1012
*/
1113
library dart.dom.web_sql;
1214

0 commit comments

Comments
 (0)