Unverified Commit dff25a30 authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Fix Dashing rules to use new dartdoc CSS entity markers. (#27818)

This fixes the offline Dash/Zeal docs generation to use the newly added dartdoc markers for different entity types to make it more exact when finding entity names.

Bumped Dartdoc to the next release.
parent cb1c7a36
...@@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then ...@@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then
fi fi
# Install and activate dartdoc. # 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 # This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc. # a custom index.html, placing everything into dev/docs/doc.
......
...@@ -10,83 +10,52 @@ ...@@ -10,83 +10,52 @@
"allowJS": true, "allowJS": true,
"ExternalURL": "https://docs.flutter.io", "ExternalURL": "https://docs.flutter.io",
"selectors": { "selectors": {
"#exceptions span.name a": { "#exceptions span.name a": {
"type": "Exception" "type": "Exception"
}, },
"body > main > div.col-xs-12.col-sm-9.col-md-8.main-content > h1": { "h1 > span.kind-library": {
"requiretext": " library", "type": "Library"
"type": "Library",
"regexp": " library",
"replacement": ""
}, },
"body > main > div.col-xs-12.col-sm-9.main-content > h1": { "h1 > span.kind-class": {
"requiretext": " class", "type": "Class"
"type": "Class",
"regexp": " class",
"replacement": ""
}, },
"body > main > div.col-xs-12.col-md-8.main-content > h1": { "h1 > span.kind-function": {
"requiretext": " function", "type": "Function"
"type": "Function",
"regexp": " function",
"replacement": ""
}, },
"body > main > div.col-sm-9.col-md-8.main-content > h1": { "h1 > span.kind-typedef": {
"requiretext": " typedef", "type": "Type"
"type": "Type",
"regexp": " typedef",
"replacement": ""
}, },
"body > main > .col-xs-12.col-sm-9.col-md-8.main-content > h1": { "h1 > span.kind-enum": {
"requiretext": " enum", "type": "Enum"
"type": "Enum",
"regexp": " enum",
"replacement": ""
}, },
"body > main > .col-md-8.main-content > h1": { "h1 > span.kind-top-level-constant": {
"requiretext": " constant", "type": "Constant"
"type": "Constant",
"regexp": " constant",
"replacement": ""
}, },
"body > main > div.col-xs-12.col-sm-9 > h1": { "h1 > span.kind-constant": {
"requiretext": " method", "type": "Constant"
"type": "Method",
"regexp": " method",
"replacement": ""
}, },
".callables .callable .name a": { "h1 > span.kind-method": {
"type": "Method" "type": "Method"
}, },
"body > main > .col-xs-12.col-sm-9.col-md-8 > h1": { "h1 > span.kind-property": {
"requiretext": " property", "type": "Property"
"type": "Property",
"regexp": " property",
"replacement": ""
}, },
"body > main > .col-xs-12.col-md-8 > h1": { "h1 > span.kind-top-level-property": {
"requiretext": " constructor", "type": "Property"
"type": "Constructor",
"regexp": " constructor",
"replacement": ""
}, },
"body > main > .col-xs-12.col-sm-9.main-content > h1": { "h1 > span.kind-constructor": {
"requiretext": "operator ", "type": "Constructor"
"type": "Operator",
"regexp": "operator ",
"replacement": ""
}, },
".callables .callable": { ".callables .callable": {
...@@ -95,8 +64,6 @@ ...@@ -95,8 +64,6 @@
"regexp": "operator ", "regexp": "operator ",
"replacement": "" "replacement": ""
} }
}, },
"ignore": [ "ignore": [
"ABOUT" "ABOUT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment