From 3a5baada3708601456ac092366ea35e788952091 Mon Sep 17 00:00:00 2001 From: Chris Gervang Date: Wed, 27 Mar 2024 16:04:22 -0700 Subject: [PATCH] add(docs) widgets table of contents (#8715) Signed-off-by: Chris Gervang --- docs/api-reference/widgets/compass-widget.md | 2 +- docs/api-reference/widgets/zoom-widget.md | 2 +- docs/table-of-contents.json | 13 ++++++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/api-reference/widgets/compass-widget.md b/docs/api-reference/widgets/compass-widget.md index 69c3b460473..7ec73f1455d 100644 --- a/docs/api-reference/widgets/compass-widget.md +++ b/docs/api-reference/widgets/compass-widget.md @@ -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`. \ No newline at end of file +Class name to attach to the widget element. The element has the default class name of `deck-widget deck-compass-widget`. \ No newline at end of file diff --git a/docs/api-reference/widgets/zoom-widget.md b/docs/api-reference/widgets/zoom-widget.md index 24f5cdb641e..cbbe071fdb2 100644 --- a/docs/api-reference/widgets/zoom-widget.md +++ b/docs/api-reference/widgets/zoom-widget.md @@ -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`. \ No newline at end of file +Class name to attach to the widget element. The element has the default class name of `deck-widget deck-zoom-widget`. \ No newline at end of file diff --git a/docs/table-of-contents.json b/docs/table-of-contents.json index 3d27cb1a112..439cef32526 100644 --- a/docs/table-of-contents.json +++ b/docs/table-of-contents.json @@ -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" ] }, { @@ -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" + ] } ] }