Generate a zip file of offline docs and a Dash/Zeal docset. (#24244)
This generates a zip file containing all of the docs, and uploads it when we publish docs, as well as a Dash/Zeal docset that contains a feed of the docs. Addresses at least part of #9955
This commit is contained in:
91
dev/docs/dashing.json.tmpl
Normal file
91
dev/docs/dashing.json.tmpl
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"name": "flutter",
|
||||
"package": "flutter",
|
||||
"version": "{{VERSION}}",
|
||||
"author": {
|
||||
"name": "The Flutter Team",
|
||||
"link": "https://flutter.io"
|
||||
},
|
||||
"index": "index.html",
|
||||
"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": ""
|
||||
},
|
||||
|
||||
"body > main > div.col-xs-12.col-sm-9.main-content > h1": {
|
||||
"requiretext": " class",
|
||||
"type": "Class",
|
||||
"regexp": " class",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > div.col-xs-12.col-md-8.main-content > h1": {
|
||||
"requiretext": " function",
|
||||
"type": "Function",
|
||||
"regexp": " function",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > div.col-sm-9.col-md-8.main-content > h1": {
|
||||
"requiretext": " typedef",
|
||||
"type": "Type",
|
||||
"regexp": " typedef",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > .col-xs-12.col-sm-9.col-md-8.main-content > h1": {
|
||||
"requiretext": " enum",
|
||||
"type": "Enum",
|
||||
"regexp": " enum",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > .col-md-8.main-content > h1": {
|
||||
"requiretext": " constant",
|
||||
"type": "Constant",
|
||||
"regexp": " constant",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > div.col-xs-12.col-sm-9 > h1": {
|
||||
"requiretext": " method",
|
||||
"type": "Method",
|
||||
"regexp": " method",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > .col-xs-12.col-sm-9.col-md-8 > h1": {
|
||||
"requiretext": " property",
|
||||
"type": "Property",
|
||||
"regexp": " property",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > .col-xs-12.col-md-8 > h1": {
|
||||
"requiretext": " constructor",
|
||||
"type": "Constructor",
|
||||
"regexp": " constructor",
|
||||
"replacement": ""
|
||||
},
|
||||
|
||||
"body > main > .col-xs-12.col-sm-9.main-content > h1": {
|
||||
"requiretext": "operator ",
|
||||
"type": "Operator",
|
||||
"regexp": "operator ",
|
||||
"replacement": ""
|
||||
}
|
||||
},
|
||||
"ignore": [
|
||||
"ABOUT"
|
||||
],
|
||||
"icon32x32": "icon.png",
|
||||
"allowJS": true,
|
||||
"ExternalURL": "https://docs.flutter.io"
|
||||
}
|
||||
Reference in New Issue
Block a user