From eeadf306ef48b8e3abac489329f515782ffababd Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Thu, 24 Nov 2022 19:55:33 +0500 Subject: [PATCH] prettier --- .../version-0.20-sidebars.json | 330 +++++++++--------- website/versions.json | 6 +- 2 files changed, 166 insertions(+), 170 deletions(-) diff --git a/website/versioned_sidebars/version-0.20-sidebars.json b/website/versioned_sidebars/version-0.20-sidebars.json index 83b7b05bc03..fe11bbbb64e 100644 --- a/website/versioned_sidebars/version-0.20-sidebars.json +++ b/website/versioned_sidebars/version-0.20-sidebars.json @@ -1,180 +1,180 @@ { - "docs": [ - { - "type": "category", - "label": "Getting Started", - "link": { - "type": "doc", - "id": "getting-started/introduction" - }, - "items": [ - "getting-started/build-a-sample-app", - "getting-started/examples", - "getting-started/editor-setup" - ] - }, - { - "type": "category", - "label": "Concepts", - "link": { - "type": "generated-index", - "title": "Yew concepts", - "description": "Learn about the important Yew concepts!" - }, - "items": [ + "docs": [ { - "type": "category", - "label": "Using Basic Web Technologies In Yew", - "link": { - "type": "generated-index", - "title": "Yew's Take on Basic Web Technologies", - "description": "Yew centrally operates on the idea of keeping everything that a reusable piece of UI may needin one place - rust files, while also keeping the underlying technology accessible where necessary. Explore further to fully grasp what we mean by these statements:" - }, - "items": [ - "concepts/basic-web-technologies/html", - "concepts/basic-web-technologies/css", - "concepts/basic-web-technologies/js", - "concepts/basic-web-technologies/wasm-bindgen", - "concepts/basic-web-technologies/web-sys" - ] - }, - { - "type": "category", - "label": "Components", - "link": { - "type": "doc", - "id": "concepts/function-components/introduction" - }, - "items": [ - "concepts/function-components/properties", - "concepts/function-components/callbacks", - "concepts/function-components/children", - "concepts/function-components/pure-components", - { - "type": "category", - "label": "Hooks", - "link": { + "type": "category", + "label": "Getting Started", + "link": { "type": "doc", - "id": "concepts/function-components/hooks/introduction" - }, - "items": [ - "concepts/function-components/hooks/custom-hooks" - ] + "id": "getting-started/introduction" }, - "concepts/function-components/node-refs", - "concepts/function-components/state", - "concepts/function-components/communication", - "concepts/function-components/generics" - ] + "items": [ + "getting-started/build-a-sample-app", + "getting-started/examples", + "getting-started/editor-setup" + ] }, { - "type": "category", - "label": "HTML", - "link": { - "type": "doc", - "id": "concepts/html/introduction" - }, - "items": [ - "concepts/html/components", - "concepts/html/elements", - "concepts/html/events", - "concepts/html/classes", - "concepts/html/fragments", - "concepts/html/lists", - "concepts/html/literals-and-expressions", - "concepts/html/conditional-rendering" - ] + "type": "category", + "label": "Concepts", + "link": { + "type": "generated-index", + "title": "Yew concepts", + "description": "Learn about the important Yew concepts!" + }, + "items": [ + { + "type": "category", + "label": "Using Basic Web Technologies In Yew", + "link": { + "type": "generated-index", + "title": "Yew's Take on Basic Web Technologies", + "description": "Yew centrally operates on the idea of keeping everything that a reusable piece of UI may needin one place - rust files, while also keeping the underlying technology accessible where necessary. Explore further to fully grasp what we mean by these statements:" + }, + "items": [ + "concepts/basic-web-technologies/html", + "concepts/basic-web-technologies/css", + "concepts/basic-web-technologies/js", + "concepts/basic-web-technologies/wasm-bindgen", + "concepts/basic-web-technologies/web-sys" + ] + }, + { + "type": "category", + "label": "Components", + "link": { + "type": "doc", + "id": "concepts/function-components/introduction" + }, + "items": [ + "concepts/function-components/properties", + "concepts/function-components/callbacks", + "concepts/function-components/children", + "concepts/function-components/pure-components", + { + "type": "category", + "label": "Hooks", + "link": { + "type": "doc", + "id": "concepts/function-components/hooks/introduction" + }, + "items": [ + "concepts/function-components/hooks/custom-hooks" + ] + }, + "concepts/function-components/node-refs", + "concepts/function-components/state", + "concepts/function-components/communication", + "concepts/function-components/generics" + ] + }, + { + "type": "category", + "label": "HTML", + "link": { + "type": "doc", + "id": "concepts/html/introduction" + }, + "items": [ + "concepts/html/components", + "concepts/html/elements", + "concepts/html/events", + "concepts/html/classes", + "concepts/html/fragments", + "concepts/html/lists", + "concepts/html/literals-and-expressions", + "concepts/html/conditional-rendering" + ] + }, + "concepts/agents", + "concepts/contexts", + "concepts/router", + "concepts/suspense" + ] }, - "concepts/agents", - "concepts/contexts", - "concepts/router", - "concepts/suspense" - ] - }, - { - "type": "category", - "label": "Advanced topics", - "link": { - "type": "generated-index", - "title": "Advanced topics", - "description": "Learn about the advanced topics and inner workings of Yew!" - }, - "items": [ - "advanced-topics/how-it-works", { - "type": "category", - "label": "Struct Components", - "link": { - "type": "doc", - "id": "advanced-topics/struct-components/introduction" - }, - "items": [ - "advanced-topics/struct-components/hoc", - "advanced-topics/struct-components/introduction", - "advanced-topics/struct-components/lifecycle", - "advanced-topics/struct-components/scope", - "advanced-topics/struct-components/callbacks", - "advanced-topics/struct-components/properties", - "advanced-topics/struct-components/refs" - ] + "type": "category", + "label": "Advanced topics", + "link": { + "type": "generated-index", + "title": "Advanced topics", + "description": "Learn about the advanced topics and inner workings of Yew!" + }, + "items": [ + "advanced-topics/how-it-works", + { + "type": "category", + "label": "Struct Components", + "link": { + "type": "doc", + "id": "advanced-topics/struct-components/introduction" + }, + "items": [ + "advanced-topics/struct-components/hoc", + "advanced-topics/struct-components/introduction", + "advanced-topics/struct-components/lifecycle", + "advanced-topics/struct-components/scope", + "advanced-topics/struct-components/callbacks", + "advanced-topics/struct-components/properties", + "advanced-topics/struct-components/refs" + ] + }, + "advanced-topics/children", + "advanced-topics/optimizations", + "advanced-topics/portals", + "advanced-topics/server-side-rendering", + "advanced-topics/immutable" + ] }, - "advanced-topics/children", - "advanced-topics/optimizations", - "advanced-topics/portals", - "advanced-topics/server-side-rendering", - "advanced-topics/immutable" - ] - }, - { - "type": "category", - "label": "More", - "link": { - "type": "generated-index", - "title": "Miscellaneous" - }, - "items": [ - "more/debugging", - "more/deployment", - "more/css", - "more/testing", - "more/roadmap" - ] - }, - { - "type": "category", - "label": "Migration guides", - "items": [ { - "type": "category", - "label": "yew", - "items": [ - "migration-guides/yew/from-0_18_0-to-0_19_0", - "migration-guides/yew/from-0_19_0-to-0_20_0" - ] + "type": "category", + "label": "More", + "link": { + "type": "generated-index", + "title": "Miscellaneous" + }, + "items": [ + "more/debugging", + "more/deployment", + "more/css", + "more/testing", + "more/roadmap" + ] }, { - "type": "category", - "label": "yew-agent", - "items": [ - "migration-guides/yew-agent/from-0_0_0-to-0_1_0", - "migration-guides/yew-agent/from-0_1_0-to-0_2_0" - ] - }, + "type": "category", + "label": "Migration guides", + "items": [ + { + "type": "category", + "label": "yew", + "items": [ + "migration-guides/yew/from-0_18_0-to-0_19_0", + "migration-guides/yew/from-0_19_0-to-0_20_0" + ] + }, + { + "type": "category", + "label": "yew-agent", + "items": [ + "migration-guides/yew-agent/from-0_0_0-to-0_1_0", + "migration-guides/yew-agent/from-0_1_0-to-0_2_0" + ] + }, + { + "type": "category", + "label": "yew-router", + "items": [ + "migration-guides/yew-router/from-0_15_0-to-0_16_0", + "migration-guides/yew-router/from-0_16_0-to-0_17_0" + ] + } + ] + } + ], + "api": [ { - "type": "category", - "label": "yew-router", - "items": [ - "migration-guides/yew-router/from-0_15_0-to-0_16_0", - "migration-guides/yew-router/from-0_16_0-to-0_17_0" - ] + "type": "autogenerated", + "dirName": "tutorial" } - ] - } - ], - "api": [ - { - "type": "autogenerated", - "dirName": "tutorial" - } - ] + ] } diff --git a/website/versions.json b/website/versions.json index 66eb5cb4f0f..898b0b2fbe0 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1,5 +1 @@ -[ - "0.20", - "0.19.0", - "0.18.0" -] +["0.20", "0.19.0", "0.18.0"]