Skip to content

Commit

Permalink
add(docs) widgets table of contents (#8715)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gervang <chris@gervang.com>
  • Loading branch information
chrisgervang committed Mar 27, 2024
1 parent bd15b76 commit 3a5baad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/widgets/compass-widget.md
Expand Up @@ -44,4 +44,4 @@ Additional CSS styles for the canvas.

Default: `undefined`

Class name to attach to the widget element. The element has the default class name of `deck-widget deck-fullscreen-widget`.
Class name to attach to the widget element. The element has the default class name of `deck-widget deck-compass-widget`.
2 changes: 1 addition & 1 deletion docs/api-reference/widgets/zoom-widget.md
Expand Up @@ -62,4 +62,4 @@ Additional CSS styles for the canvas.

Default: `undefined`

Class name to attach to the widget element. The element has the default class name of `deck-widget deck-fullscreen-widget`.
Class name to attach to the widget element. The element has the default class name of `deck-widget deck-zoom-widget`.
13 changes: 12 additions & 1 deletion docs/table-of-contents.json
Expand Up @@ -80,7 +80,8 @@
"label": "Core Classes",
"items": [
"api-reference/core/deck",
"api-reference/core/attribute-manager"
"api-reference/core/attribute-manager",
"api-reference/core/widget"
]
},
{
Expand Down Expand Up @@ -292,6 +293,16 @@
"api-reference/test-utils/test-layer",
"api-reference/test-utils/snapshot-test-runner"
]
},
{
"type": "category",
"label": "@deck.gl/widgets",
"items": [
"api-reference/widgets/overview",
"api-reference/widgets/zoom-widget",
"api-reference/widgets/compass-widget",
"api-reference/widgets/fullscreen-widget"
]
}
]
}
Expand Down

0 comments on commit 3a5baad

Please sign in to comment.