diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index 3ae9cf48a4..f15ad8f535 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then fi # Install and activate dartdoc. -"$PUB" global activate dartdoc 0.28.1+2 +"$PUB" global activate dartdoc 0.28.2 # This script generates a unified doc set, and creates # a custom index.html, placing everything into dev/docs/doc. diff --git a/dev/docs/dashing.json b/dev/docs/dashing.json index 87bda93e16..4076446758 100644 --- a/dev/docs/dashing.json +++ b/dev/docs/dashing.json @@ -10,83 +10,52 @@ "allowJS": true, "ExternalURL": "https://docs.flutter.io", "selectors": { - "#exceptions span.name a": { "type": "Exception" }, - "body > main > div.col-xs-12.col-sm-9.col-md-8.main-content > h1": { - "requiretext": " library", - "type": "Library", - "regexp": " library", - "replacement": "" + "h1 > span.kind-library": { + "type": "Library" }, - "body > main > div.col-xs-12.col-sm-9.main-content > h1": { - "requiretext": " class", - "type": "Class", - "regexp": " class", - "replacement": "" + "h1 > span.kind-class": { + "type": "Class" }, - "body > main > div.col-xs-12.col-md-8.main-content > h1": { - "requiretext": " function", - "type": "Function", - "regexp": " function", - "replacement": "" + "h1 > span.kind-function": { + "type": "Function" }, - "body > main > div.col-sm-9.col-md-8.main-content > h1": { - "requiretext": " typedef", - "type": "Type", - "regexp": " typedef", - "replacement": "" + "h1 > span.kind-typedef": { + "type": "Type" }, - "body > main > .col-xs-12.col-sm-9.col-md-8.main-content > h1": { - "requiretext": " enum", - "type": "Enum", - "regexp": " enum", - "replacement": "" + "h1 > span.kind-enum": { + "type": "Enum" }, - "body > main > .col-md-8.main-content > h1": { - "requiretext": " constant", - "type": "Constant", - "regexp": " constant", - "replacement": "" + "h1 > span.kind-top-level-constant": { + "type": "Constant" }, - "body > main > div.col-xs-12.col-sm-9 > h1": { - "requiretext": " method", - "type": "Method", - "regexp": " method", - "replacement": "" + "h1 > span.kind-constant": { + "type": "Constant" }, - ".callables .callable .name a": { + "h1 > span.kind-method": { "type": "Method" }, - "body > main > .col-xs-12.col-sm-9.col-md-8 > h1": { - "requiretext": " property", - "type": "Property", - "regexp": " property", - "replacement": "" + "h1 > span.kind-property": { + "type": "Property" }, - "body > main > .col-xs-12.col-md-8 > h1": { - "requiretext": " constructor", - "type": "Constructor", - "regexp": " constructor", - "replacement": "" + "h1 > span.kind-top-level-property": { + "type": "Property" }, - "body > main > .col-xs-12.col-sm-9.main-content > h1": { - "requiretext": "operator ", - "type": "Operator", - "regexp": "operator ", - "replacement": "" + "h1 > span.kind-constructor": { + "type": "Constructor" }, ".callables .callable": { @@ -95,8 +64,6 @@ "regexp": "operator ", "replacement": "" } - - }, "ignore": [ "ABOUT"