Document Area Tags
The following tags are used in a document-area block in a DiveTab script.
Tag |
Examples |
Status |
Notes |
---|---|---|---|
document-area |
document-area { ... } |
Required |
Defines the block for this document area. |
areas |
areas { ... } |
Required |
Defines the outer level block for one or more areas. |
icon |
icon "/divetab/images/Doc.png" retina = false |
Optional |
Indicates the graphic for the menu button. |
id |
document-area id = "My Doc" { ... } |
Optional |
Provides a means to refer to this document-area block. Place after the document-area tag and before the open brace, {. |
path |
path "/divetab/documents/PPA Data.pdf" |
Required |
Refers to an item in the repository or to a Project directory. For example: <diveport>/doc-libraries/Shared Docs/data_sheets/PPA Data Sheet.pdf or <project>/documents/data_sheets/PPA Data Sheet.pdf |
repository |
repository "Shared Docs" |
Optional |
Refers to a DivePort Document Library. For example: <diveport>/doc-libraries/Marketing Docs |
retina |
icon "/divetab/images/icon.png" retina = true |
Optional |
Indicates the type of image. The retina attribute is Boolean. |
title |
title "My Document" |
Optional |
Indicates a label for the menu button and a title for the resulting page. |