From a55018a303cda3147621ca1349520b2f307f9dd7 Mon Sep 17 00:00:00 2001 From: Iva Utikalova Date: Sun, 5 May 2024 21:05:14 +0200 Subject: [PATCH] tutorials fix --- tutorials/tools/Info.mdx | 9 +++++---- tutorials/tools/Sidebar.mdx | 30 +++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/tutorials/tools/Info.mdx b/tutorials/tools/Info.mdx index 4a07c94..49f86ca 100644 --- a/tutorials/tools/Info.mdx +++ b/tutorials/tools/Info.mdx @@ -15,7 +15,7 @@ The Info tool provides the ability to provide the user with basic information ab ### Installation ``` -npm i geovisto-geo-downloader +npm i geovisto-info ``` @@ -25,9 +25,10 @@ Configuration used in example above: ```json { - "type": "geovisto-geo-downloader", - "id": "geovisto-geo-downloader", - "enabled": true + "type": "geovisto-tool-info", + "id": "geovisto-tool-info", + "enabled": true, + "defaultFile": "intro.md" } ``` diff --git a/tutorials/tools/Sidebar.mdx b/tutorials/tools/Sidebar.mdx index 51d4934..fdbec0d 100644 --- a/tutorials/tools/Sidebar.mdx +++ b/tutorials/tools/Sidebar.mdx @@ -24,9 +24,33 @@ Configuration used in example above: ```json { - "type": "geovisto-tool-sidebar", - "id": "geovisto-tool-sidebar", + "type": "geovisto-tool-sidebar", + "id": "geovisto-tool-sidebar", + "enabled": true, + "tabs": [ + { "enabled": true, - "tabs": [] + "name": "General settings", + "icon": "", + "checkButton": false, + "fragments": [ + { + "tool": "geovisto-tool-themes", + "enabled": true + }, + { + "tool": "geovisto-tool-selection", + "enabled": true + } + ] + }, + { + "tool": "geovisto-tool-info", + "enabled": true, + "name": "Info", + "icon": "", + "checkButton": true + }, + ] } ```