Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 92ea5a2

Browse files
authored
Merge pull request #380 from Vyrastas/master
Complete Material Icon support for docs
2 parents 3795340 + fbe8df4 commit 92ea5a2

File tree

2 files changed

+55
-11
lines changed

2 files changed

+55
-11
lines changed

doc/STYLE_GUIDE.md

Lines changed: 51 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ process, in order to visually tie concepts together across the documentation sit
190190
Example: https://openweave.io/guides/tools#weave-heartbeat
191191

192192
To use these icons in your content, so that they render on the openweave.io documentation site,
193-
surround one of the supported keywords with an underscore+asterisk combo.
193+
put one of the supported keywords inside an HTML comment.
194194

195195
For example:
196196

197-
<div>_*Echo*_</div>
198-
<div>_*heartbeat*_</div>
197+
`<!-- echo -->`
199198

200-
The keyword can be upper or lowercase. Use of this format with unsupported keywords merely
201-
renders the text in italics.
199+
`<!-- heartbeat -->`
200+
201+
The keyword must be lowercase.
202202

203203
See the **OpenWeave Tools** page for an example of this:
204204

@@ -207,5 +207,49 @@ See the **OpenWeave Tools** page for an example of this:
207207

208208
Supported keywords:
209209

210-
* Echo
211-
* Heartbeat
210+
Keyword | Weave Element
211+
----|----
212+
alarm | Alarm
213+
bdx | Bulk Data Exchange
214+
certificate | Certificate
215+
common | Common
216+
controller | Controller
217+
custom | Custom Command
218+
description | Device Description
219+
devicecontrol | Device Control
220+
directory | Service Directory
221+
echo | Echo
222+
event | Events
223+
fabric | Fabric
224+
fabric | Fabric Provisioning
225+
general | General
226+
heartbeat | Heartbeat
227+
interface | Interfaces
228+
locale | Locale
229+
messaging | Messaging
230+
nestservice | Nest Service
231+
network | Network Provisioning
232+
notify | Notify
233+
pairing | Pairing
234+
profile | Profiles
235+
property | Properties
236+
publisher | Publisher
237+
request | Requests
238+
resource | Resources
239+
schema | Schema
240+
security | Security
241+
service | Service Provisioning
242+
status | Status Report
243+
subscribe | Subscribe
244+
swu | Software Update
245+
timeservice | Time Service
246+
timezone | Time Zone
247+
tlv | TLV
248+
trait | Traits
249+
tunnel | Tunnel
250+
ula | ULA (Unique Local Address)
251+
update | Update
252+
view | View
253+
wdl | WDL (Weave Schema Description Language)
254+
wdm | Data Management
255+
wrm | WRM

doc/guides/tools/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Tool | Description | [Standalone build](https://openweave.io/guides/build#standa
1515
`weave` | Generate and manage Weave certificates | `/src/tools/weave`
1616
`weave-device-descriptor` | Encode and decode Weave device descriptor strings for pairing QR codes | `/src/test-apps`
1717
[`weave-device-mgr`](/guides/tools/device-manager) | Manage the device pairing process | `/src/device-manager/python`
18-
`weave-heartbeat` | Send and receive <a href="https://openweave.io/guides/weave-primer/profiles#heartbeat">_*Heartbeat*_</a> profile messages | `/src/test-apps`
18+
`weave-heartbeat` | Send and receive <a href="https://openweave.io/guides/weave-primer/profiles#heartbeat">Heartbeat <!-- heartbeat --></a> profile messages | `/src/test-apps`
1919
`weave-key-export` | Send key export requests | `/src/test-apps`
20-
`weave-ping`| Send and receive <a href="https://openweave.io/guides/weave-primer/profiles#echo">_*Echo*_</a> profile messages | `/src/test-apps`
20+
`weave-ping`| Send and receive <a href="https://openweave.io/guides/weave-primer/profiles#echo">Echo <!-- echo --></a> profile messages | `/src/test-apps`
2121

2222
To build the target:
2323

@@ -167,7 +167,7 @@ Primary WiFi MAC: 5C:F3:70:80:0E:77
167167
## weave-heartbeat
168168

169169
Use `weave-heartbeat` to send and receive
170-
<a href="https://openweave.io/guides/weave-primer/profiles#heartbeat">_*Heartbeat*_</a> profile messages between
170+
<a href="https://openweave.io/guides/weave-primer/profiles#heartbeat">Heartbeat <!-- heartbeat --></a> profile messages between
171171
two Weave nodes. Heartbeat provides a means to indicate liveness of one node to
172172
the other nodes in the network, or to check if a node remains connected to the
173173
fabric.
@@ -260,7 +260,7 @@ $ ./mock-device -a fd00:0:1:1::1
260260
## weave-ping
261261

262262
Use `weave-ping` to send and receive
263-
<a href="https://openweave.io/guides/weave-primer/profiles#echo">_*Echo*_</a> profile messages
263+
<a href="https://openweave.io/guides/weave-primer/profiles#echo">Echo <!-- echo --></a> profile messages
264264
between two Weave nodes. An Echo payload consists of arbitrary data supplied by
265265
the requesting node and is expected to be echoed back verbatim in the response.
266266
Echo provides a means to test network connectivity and latency.

0 commit comments

Comments
 (0)