Skip to content

Commit 08e9ad6

Browse files
committed
Updated API Documentation Using Typedoc
1 parent 97ea7da commit 08e9ad6

17 files changed

+164
-203
lines changed

docs/assets/main.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/style.css

Lines changed: 6 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -248,35 +248,6 @@ dd {
248248
padding-left: 0;
249249
}
250250

251-
ul.tsd-descriptions > li > :first-child,
252-
.tsd-panel > :first-child,
253-
.col-8 > :first-child,
254-
.col-4 > :first-child,
255-
ul.tsd-descriptions > li > :first-child > :first-child,
256-
.tsd-panel > :first-child > :first-child,
257-
.col-8 > :first-child > :first-child,
258-
.col-4 > :first-child > :first-child,
259-
ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
260-
.tsd-panel > :first-child > :first-child > :first-child,
261-
.col-8 > :first-child > :first-child > :first-child,
262-
.col-4 > :first-child > :first-child > :first-child {
263-
margin-top: 0;
264-
}
265-
ul.tsd-descriptions > li > :last-child,
266-
.tsd-panel > :last-child,
267-
.col-8 > :last-child,
268-
.col-4 > :last-child,
269-
ul.tsd-descriptions > li > :last-child > :last-child,
270-
.tsd-panel > :last-child > :last-child,
271-
.col-8 > :last-child > :last-child,
272-
.col-4 > :last-child > :last-child,
273-
ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
274-
.tsd-panel > :last-child > :last-child > :last-child,
275-
.col-8 > :last-child > :last-child > :last-child,
276-
.col-4 > :last-child > :last-child > :last-child {
277-
margin-bottom: 0;
278-
}
279-
280251
@keyframes fade-in {
281252
from {
282253
opacity: 0;
@@ -971,7 +942,7 @@ a.tsd-index-link {
971942
margin: 2rem 0;
972943
}
973944
.tsd-panel-group.tsd-index-group details {
974-
margin: 4rem 0;
945+
margin: 2rem 0;
975946
}
976947

977948
#tsd-search {
@@ -1073,9 +1044,6 @@ a.tsd-index-link {
10731044
font-size: 14px;
10741045
overflow-x: auto;
10751046
}
1076-
.tsd-panel > .tsd-signature {
1077-
border-width: 1px 0;
1078-
}
10791047

10801048
.tsd-signature-symbol {
10811049
color: var(--color-text-aside);
@@ -1090,60 +1058,16 @@ a.tsd-index-link {
10901058
.tsd-signatures {
10911059
padding: 0;
10921060
margin: 0 0 1em 0;
1093-
border: 1px solid var(--color-accent);
1061+
list-style-type: none;
10941062
}
10951063
.tsd-signatures .tsd-signature {
10961064
margin: 0;
1097-
border-width: 1px 0 0 0;
1098-
transition: background-color 0.1s;
1099-
}
1100-
.tsd-signatures .tsd-signature:first-child {
1101-
border-top-width: 0;
1102-
}
1103-
.tsd-signatures .tsd-signature.current {
1104-
background-color: var(--color-background-secondary);
1105-
}
1106-
.tsd-signatures.active > .tsd-signature {
1107-
cursor: pointer;
1108-
}
1109-
.tsd-panel > .tsd-signatures {
1065+
border-color: var(--color-accent);
11101066
border-width: 1px 0;
1067+
transition: background-color 0.1s;
11111068
}
1112-
.tsd-panel > a.anchor + .tsd-signatures {
1113-
border-top-width: 0;
1114-
margin-top: -20px;
1115-
}
1116-
1117-
ul.tsd-descriptions {
1118-
position: relative;
1119-
overflow: hidden;
1120-
padding: 0;
1121-
list-style: none;
1122-
}
1123-
ul.tsd-descriptions.active > .tsd-description {
1124-
display: none;
1125-
}
1126-
ul.tsd-descriptions.active > .tsd-description.current {
1127-
display: block;
1128-
}
1129-
ul.tsd-descriptions.active > .tsd-description.fade-in {
1130-
animation: fade-in-delayed 0.3s;
1131-
}
1132-
ul.tsd-descriptions.active > .tsd-description.fade-out {
1133-
animation: fade-out-delayed 0.3s;
1134-
position: absolute;
1135-
display: block;
1136-
top: 0;
1137-
left: 0;
1138-
right: 0;
1139-
opacity: 0;
1140-
visibility: hidden;
1141-
}
1142-
ul.tsd-descriptions h4,
1143-
ul.tsd-descriptions .tsd-index-panel h3,
1144-
.tsd-index-panel ul.tsd-descriptions h3 {
1145-
font-size: 16px;
1146-
margin: 1em 0 0.5em 0;
1069+
.tsd-description .tsd-signatures .tsd-signature {
1070+
border-width: 1px;
11471071
}
11481072

11491073
ul.tsd-parameter-list,

docs/classes/accessories_Accessory.default.html

Lines changed: 15 additions & 13 deletions
Large diffs are not rendered by default.

docs/classes/accessories_GarageDoorAccessory.default.html

Lines changed: 47 additions & 39 deletions
Large diffs are not rendered by default.

docs/classes/platform.AladdinConnectPlatform.html

Lines changed: 39 additions & 33 deletions
Large diffs are not rendered by default.

docs/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="container container-main">
1010
<div class="col-8 col-content">
1111
<div class="tsd-page-title">
12-
<h2> homebridge-aladdinconnect</h2></div>
12+
<h2>homebridge-aladdinconnect</h2></div>
1313
<div class="tsd-panel tsd-typography"><p align="center">
1414
<a href="https://github.com/bloomkd46/homebridge-AladdinConnect"><img alt="Homebridge AladdinConnect" src="https://user-images.githubusercontent.com/75853497/177844958-712bcaae-8dc8-4fc9-a2e3-b4b828ff5999.png" width="600px"></a>
1515
</p>
@@ -20,7 +20,8 @@ <h2> homebridge-aladdinconnect</h2></div>
2020
<h1>homebridge-AladdinConnect</h1>
2121
</a>
2222
<p>Homebridge plugin to integrate Genie&#39;s Aladdin Connect Devices into HomeKit</p>
23-
<p><a href="https://npmcharts.com/compare/homebridge-aladdinconnect?log=true&amp;interval=1&amp;minimal=true"><img src="https://img.shields.io/npm/dt/homebridge-aladdinconnect" alt="downloads"></a></p>
23+
<p><a href="https://github.com/homebridge/homebridge/wiki/Verified-Plugins"><img src="https://badgen.net/badge/homebridge/verified/purple" alt="verified-by-homebridge"></a>
24+
<a href="https://npmcharts.com/compare/homebridge-aladdinconnect?log=true&amp;interval=1&amp;minimal=true"><img src="https://img.shields.io/npm/dt/homebridge-aladdinconnect" alt="downloads"></a></p>
2425
<p><a href="https://www.npmjs.com/package/homebridge-aladdinconnect"><img src="https://img.shields.io/npm/v/homebridge-aladdinconnect/latest?label=latest" alt="npm"></a>
2526
<a href="https://github.com/bloomkd46/homebridge-AladdinConnect/wiki/Beta-Version"><img src="https://img.shields.io/npm/v/homebridge-aladdinconnect/beta?label=beta" alt="npm"></a> </p>
2627
<p><a href="https://github.com/bloomkd46/homebridge-AladdinConnect/actions/workflows/build.yml"><img src="https://github.com/bloomkd46/homebridge-AladdinConnect/actions/workflows/build.yml/badge.svg" alt="build workflow"></a>
@@ -29,7 +30,7 @@ <h1>homebridge-AladdinConnect</h1>
2930

3031

3132
<a href="#plugin-information" id="plugin-information" style="color: inherit; text-decoration: none;">
32-
<h3>Plugin Information</h3>
33+
<h2>Plugin Information</h2>
3334
</a>
3435
<ul>
3536
<li>This plugin allows you to view and control Genie&#39;s Aladdin Connect System within HomeKit. This plugin:<ul>
@@ -41,17 +42,18 @@ <h3>Plugin Information</h3>
4142
</ul>
4243

4344
<a href="#features" id="features" style="color: inherit; text-decoration: none;">
44-
<h2>Features:</h2>
45+
<h2>Features</h2>
4546
</a>
4647
<ul>
4748
<li><input checked="" disabled="" type="checkbox"> Easy Setup</li>
4849
<li><input checked="" disabled="" type="checkbox"> Real-Time Device Updates</li>
4950
<li><input checked="" disabled="" type="checkbox"> Device-By-Device Logs In Custom UI</li>
5051
<li><input checked="" disabled="" type="checkbox"> Device-By-Device Info In Custom UI</li>
52+
<li><input checked="" disabled="" type="checkbox"> Supports Secondary Account</li>
5153
</ul>
5254

5355
<a href="#todo" id="todo" style="color: inherit; text-decoration: none;">
54-
<h2>TODO:</h2>
56+
<h2>TODO</h2>
5557
</a>
5658
<ul>
5759
<li><input disabled="" type="checkbox"> Verify Plugin</li>

docs/modules.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="container container-main">
1010
<div class="col-8 col-content">
1111
<div class="tsd-page-title">
12-
<h2> homebridge-aladdinconnect</h2></div>
12+
<h2>homebridge-aladdinconnect</h2></div>
1313
<section class="tsd-panel-group tsd-index-group">
1414
<section class="tsd-panel tsd-index-panel">
1515
<h3 class="tsd-index-heading uppercase">Index</h3>

docs/modules/accessories_Accessory.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<ul class="tsd-breadcrumb">
1313
<li><a href="../modules.html">homebridge-aladdinconnect</a></li>
1414
<li><a href="accessories_Accessory.html">accessories/Accessory</a></li></ul>
15-
<h1>Module accessories/Accessory</h1></div>
15+
<h1>Module accessories/Accessory</h1></div><aside class="tsd-sources">
16+
<ul>
17+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/accessories/Accessory.ts#L1">src/accessories/Accessory.ts:1</a></li></ul></aside>
18+
<section class="tsd-panel-group">
19+
<section class="tsd-panel tsd-typography"></section></section>
1620
<section class="tsd-panel-group tsd-index-group">
1721
<section class="tsd-panel tsd-index-panel">
1822
<h3 class="tsd-index-heading uppercase">Index</h3>

docs/modules/accessories_GarageDoorAccessory.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<ul class="tsd-breadcrumb">
1313
<li><a href="../modules.html">homebridge-aladdinconnect</a></li>
1414
<li><a href="accessories_GarageDoorAccessory.html">accessories/GarageDoorAccessory</a></li></ul>
15-
<h1>Module accessories/GarageDoorAccessory</h1></div>
15+
<h1>Module accessories/GarageDoorAccessory</h1></div><aside class="tsd-sources">
16+
<ul>
17+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/accessories/GarageDoorAccessory.ts#L1">src/accessories/GarageDoorAccessory.ts:1</a></li></ul></aside>
18+
<section class="tsd-panel-group">
19+
<section class="tsd-panel tsd-typography"></section></section>
1620
<section class="tsd-panel-group tsd-index-group">
1721
<section class="tsd-panel tsd-index-panel">
1822
<h3 class="tsd-index-heading uppercase">Index</h3>

docs/modules/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<ul class="tsd-breadcrumb">
1313
<li><a href="../modules.html">homebridge-aladdinconnect</a></li>
1414
<li><a href="index.html">index</a></li></ul>
15-
<h1>Module index</h1></div>
15+
<h1>Module index</h1></div><aside class="tsd-sources">
16+
<ul>
17+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/index.ts#L1">src/index.ts:1</a></li></ul></aside>
18+
<section class="tsd-panel-group">
19+
<section class="tsd-panel tsd-typography"></section></section>
1620
<section class="tsd-panel-group tsd-index-group">
1721
<section class="tsd-panel tsd-index-panel">
1822
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -32,8 +36,7 @@ <h4>Type declaration</h4>
3236
<ul class="tsd-parameters">
3337
<li class="tsd-parameter-signature">
3438
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-module">
35-
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>api<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">API</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
36-
<ul class="tsd-descriptions">
39+
<li class="tsd-signature" id="__type.__type-1"><span class="tsd-signature-symbol">(</span>api<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">API</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
3740
<li class="tsd-description">
3841
<div class="tsd-comment tsd-typography"><p>This method registers the platform with Homebridge</p>
3942
</div>
@@ -44,7 +47,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
4447
<h5>api: <span class="tsd-signature-type">API</span></h5></li></ul></div>
4548
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
4649
<ul>
47-
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/67f1ca0/src/index.ts#L9">src/index.ts:9</a></li></ul></aside></section></section></div>
50+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/index.ts#L9">src/index.ts:9</a></li></ul></aside></section></section></div>
4851
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
4952
<div class="tsd-navigation settings">
5053
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

docs/modules/platform.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<ul class="tsd-breadcrumb">
1313
<li><a href="../modules.html">homebridge-aladdinconnect</a></li>
1414
<li><a href="platform.html">platform</a></li></ul>
15-
<h1>Module platform</h1></div>
15+
<h1>Module platform</h1></div><aside class="tsd-sources">
16+
<ul>
17+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/platform.ts#L1">src/platform.ts:1</a></li></ul></aside>
18+
<section class="tsd-panel-group">
19+
<section class="tsd-panel tsd-typography"></section></section>
1620
<section class="tsd-panel-group tsd-index-group">
1721
<section class="tsd-panel tsd-index-panel">
1822
<h3 class="tsd-index-heading uppercase">Index</h3>

docs/modules/settings.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
<ul class="tsd-breadcrumb">
1313
<li><a href="../modules.html">homebridge-aladdinconnect</a></li>
1414
<li><a href="settings.html">settings</a></li></ul>
15-
<h1>Module settings</h1></div>
15+
<h1>Module settings</h1></div><aside class="tsd-sources">
16+
<ul>
17+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/settings.ts#L4">src/settings.ts:4</a></li></ul></aside>
18+
<section class="tsd-panel-group">
19+
<section class="tsd-panel tsd-typography"></section></section>
1620
<section class="tsd-panel-group tsd-index-group">
1721
<section class="tsd-panel tsd-index-panel">
1822
<h3 class="tsd-index-heading uppercase">Index</h3>

docs/variables/settings.PLATFORM_NAME.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>Variable PLATFORM_NAME<code class="tsd-tag ts-flagConst">Const</code> </h1><
1818
<div class="tsd-comment tsd-typography"><p>This is the name of the platform that users will use to register the plugin in the Homebridge config.json</p>
1919
</div><aside class="tsd-sources">
2020
<ul>
21-
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/67f1ca0/src/settings.ts#L4">src/settings.ts:4</a></li></ul></aside></div>
21+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/settings.ts#L4">src/settings.ts:4</a></li></ul></aside></div>
2222
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
2323
<div class="tsd-navigation settings">
2424
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

docs/variables/settings.PLUGIN_NAME.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>Variable PLUGIN_NAME<code class="tsd-tag ts-flagConst">Const</code> </h1></d
1818
<div class="tsd-comment tsd-typography"><p>This must match the name of your plugin as defined the package.json</p>
1919
</div><aside class="tsd-sources">
2020
<ul>
21-
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/67f1ca0/src/settings.ts#L9">src/settings.ts:9</a></li></ul></aside></div>
21+
<li>Defined in <a href="https://github.com/bloomkd46/homebridge-AladdinConnect/blob/97ea7da/src/settings.ts#L9">src/settings.ts:9</a></li></ul></aside></div>
2222
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
2323
<div class="tsd-navigation settings">
2424
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"nodemon": "^2.0.19",
4646
"rimraf": "^3.0.2",
4747
"ts-node": "^10.3.0",
48-
"typedoc": "^0.23.5",
48+
"typedoc": "^0.23.10",
4949
"typescript": "^4.4.4"
5050
}
5151
}

0 commit comments

Comments
 (0)