Skip to content

Commit

Permalink
Fix API docs page by using iron-component-page v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte committed Jul 1, 2017
1 parent 0c351f3 commit 4ad6407
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 15 deletions.
68 changes: 56 additions & 12 deletions docs.json → analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"sourceRange": {
"file": "vaadin-button.html",
"start": {
"line": 99,
"line": 105,
"column": 6
},
"end": {
"line": 99,
"line": 105,
"column": 42
}
},
Expand Down Expand Up @@ -99,11 +99,11 @@
"privacy": "protected",
"sourceRange": {
"start": {
"line": 69,
"line": 75,
"column": 8
},
"end": {
"line": 80,
"line": 86,
"column": 9
}
},
Expand Down Expand Up @@ -307,18 +307,62 @@
"privacy": "protected",
"sourceRange": {
"start": {
"line": 82,
"line": 88,
"column": 8
},
"end": {
"line": 87,
"line": 93,
"column": 9
}
},
"metadata": {},
"params": []
}
],
"staticMethods": [
{
"name": "constructor",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "bower_components/vaadin-themable-mixin/vaadin-themable-mixin.html",
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
},
"metadata": {},
"params": [],
"inheritedFrom": "Vaadin.ThemableMixin"
},
{
"name": "includeStyle",
"description": "",
"privacy": "public",
"sourceRange": {
"file": "bower_components/vaadin-themable-mixin/vaadin-themable-mixin.html",
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "moduleName"
}
],
"inheritedFrom": "Vaadin.ThemableMixin"
}
],
"demos": [
{
"url": "demo/index.html",
Expand All @@ -328,15 +372,16 @@
"metadata": {},
"sourceRange": {
"start": {
"line": 64,
"line": 70,
"column": 6
},
"end": {
"line": 92,
"line": 98,
"column": 7
}
},
"privacy": "public",
"superclass": "HTMLElement",
"name": "Vaadin.ButtonElement",
"attributes": [
{
Expand Down Expand Up @@ -406,11 +451,11 @@
"range": {
"file": "vaadin-button.html",
"start": {
"line": 29,
"line": 31,
"column": 6
},
"end": {
"line": 29,
"line": 31,
"column": 19
}
}
Expand All @@ -420,8 +465,7 @@
"mixins": [
"Vaadin.ControlStateMixin",
"Vaadin.ThemableMixin"
],
"superclass": "HTMLElement"
]
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"devDependencies": {
"elements-demo-resources": "^2.0.0",
"iron-component-page": "^2.0.0",
"iron-component-page": "^3.0.0",
"iron-demo-helpers": "^2.0.0",
"iron-test-helpers": "^2.0.0",
"web-component-tester": "^6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../elements-demo-resources/api-doc-viewer.html">
<link rel="import" href="../iron-component-page/iron-component-page.html">
</head>
<body>
<api-doc-viewer url="docs.json" element-class-name="Vaadin.ButtonElement"></api-doc-viewer>
<iron-component-page src="vaadin-button.html"></iron-component-page>
</body>
</html>

0 comments on commit 4ad6407

Please sign in to comment.