mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
* style(prettier): Use prettier for code formatting This saves us style issues. Also adds husky and lint-staged for pre-commit testing Refs https://github.com/documentationjs/documentation/issues/709
362 lines
6.9 KiB
JSON
362 lines
6.9 KiB
JSON
[
|
|
{
|
|
"description": {
|
|
"type": "root",
|
|
"children": [
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "an area chart generator",
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 24,
|
|
"offset": 23
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 24,
|
|
"offset": 23
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 24,
|
|
"offset": 23
|
|
}
|
|
}
|
|
},
|
|
"tags": [
|
|
{
|
|
"title": "returns",
|
|
"description": "chart",
|
|
"lineNumber": 2,
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "area"
|
|
}
|
|
}
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 3
|
|
}
|
|
},
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 2
|
|
}
|
|
}
|
|
},
|
|
"augments": [],
|
|
"errors": [],
|
|
"examples": [],
|
|
"params": [],
|
|
"properties": [],
|
|
"returns": [
|
|
{
|
|
"description": {
|
|
"type": "root",
|
|
"children": [
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "chart",
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6,
|
|
"offset": 5
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6,
|
|
"offset": 5
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6,
|
|
"offset": 5
|
|
}
|
|
}
|
|
},
|
|
"title": "returns",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "area"
|
|
}
|
|
}
|
|
],
|
|
"sees": [],
|
|
"throws": [],
|
|
"todos": [],
|
|
"name": "area",
|
|
"kind": "function",
|
|
"members": {
|
|
"global": [],
|
|
"inner": [],
|
|
"instance": [],
|
|
"events": [],
|
|
"static": []
|
|
},
|
|
"path": [
|
|
{
|
|
"name": "area",
|
|
"kind": "function"
|
|
}
|
|
],
|
|
"namespace": "area"
|
|
},
|
|
{
|
|
"description": "",
|
|
"tags": [
|
|
{
|
|
"title": "class",
|
|
"description": null,
|
|
"lineNumber": 1,
|
|
"type": null,
|
|
"name": "area"
|
|
}
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 5
|
|
}
|
|
},
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
"augments": [],
|
|
"errors": [],
|
|
"examples": [],
|
|
"params": [
|
|
{
|
|
"title": "param",
|
|
"name": "selection",
|
|
"lineNumber": 9
|
|
}
|
|
],
|
|
"properties": [],
|
|
"returns": [],
|
|
"sees": [],
|
|
"throws": [],
|
|
"todos": [],
|
|
"kind": "class",
|
|
"name": "area",
|
|
"members": {
|
|
"global": [],
|
|
"inner": [],
|
|
"instance": [],
|
|
"events": [],
|
|
"static": []
|
|
},
|
|
"path": [
|
|
{
|
|
"name": "area",
|
|
"kind": "class"
|
|
}
|
|
],
|
|
"namespace": "area"
|
|
},
|
|
{
|
|
"description": {
|
|
"type": "root",
|
|
"children": [
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "text",
|
|
"value": "Sets the chart data.",
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21,
|
|
"offset": 20
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21,
|
|
"offset": 20
|
|
},
|
|
"indent": []
|
|
}
|
|
}
|
|
],
|
|
"position": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1,
|
|
"offset": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21,
|
|
"offset": 20
|
|
}
|
|
}
|
|
},
|
|
"tags": [
|
|
{
|
|
"title": "function",
|
|
"description": null,
|
|
"lineNumber": 2,
|
|
"name": null
|
|
}
|
|
],
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 5
|
|
}
|
|
},
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
"augments": [],
|
|
"errors": [
|
|
{
|
|
"message": "@memberof reference to chart not found",
|
|
"commentLineNumber": 0
|
|
}
|
|
],
|
|
"examples": [],
|
|
"params": [
|
|
{
|
|
"title": "param",
|
|
"name": "_",
|
|
"lineNumber": 15
|
|
}
|
|
],
|
|
"properties": [],
|
|
"returns": [],
|
|
"sees": [],
|
|
"throws": [],
|
|
"todos": [],
|
|
"kind": "function",
|
|
"name": "data",
|
|
"memberof": "chart",
|
|
"scope": "static",
|
|
"members": {
|
|
"global": [],
|
|
"inner": [],
|
|
"instance": [],
|
|
"events": [],
|
|
"static": []
|
|
},
|
|
"path": [
|
|
{
|
|
"name": "data",
|
|
"kind": "function",
|
|
"scope": "static"
|
|
}
|
|
],
|
|
"namespace": ".data"
|
|
}
|
|
] |