From effa55b22f2d635e0b853d4d66a20d5c76374e80 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Wed, 28 Feb 2024 16:08:59 +0100 Subject: [PATCH] Merge static configuration section with rest --- versioned_docs/version-7.x/static-api-reference.md | 6 +++--- versioned_docs/version-7.x/static-combine-with-dynamic.md | 4 ++-- versioned_sidebars/version-7.x-sidebars.json | 7 ++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/versioned_docs/version-7.x/static-api-reference.md b/versioned_docs/version-7.x/static-api-reference.md index e297650eb8b..f8a2cd13561 100644 --- a/versioned_docs/version-7.x/static-api-reference.md +++ b/versioned_docs/version-7.x/static-api-reference.md @@ -1,7 +1,7 @@ --- -id: static-api-reference -title: Static API Reference -sidebar_label: API Reference +id: static-configuration +title: Static configuration +sidebar_label: Static configuration --- The bulk of the static configuration is done using the `createXNavigator` functions, e.g. [`createNativeStackNavigator`](native-stack-navigator.md), [`createBottomTabNavigator`](bottom-tab-navigator.md), [`createDrawerNavigator`](drawer-navigator.md) etc. We'll refer to these functions as `createXNavigator` in the rest of this guide. diff --git a/versioned_docs/version-7.x/static-combine-with-dynamic.md b/versioned_docs/version-7.x/static-combine-with-dynamic.md index d8a65aed213..38a2d210c2a 100644 --- a/versioned_docs/version-7.x/static-combine-with-dynamic.md +++ b/versioned_docs/version-7.x/static-combine-with-dynamic.md @@ -1,7 +1,7 @@ --- -id: static-combine-with-dynamic +id: combine-static-with-dynamic title: Combining static and dynamic APIs -sidebar_label: Combining with dynamic API +sidebar_label: Combining static and dynamic APIs --- While the static API has many advantages, it doesn't fit use cases where the navigation configuration needs to be dynamic. So React Navigation supports interop between the static and dynamic APIs. diff --git a/versioned_sidebars/version-7.x-sidebars.json b/versioned_sidebars/version-7.x-sidebars.json index 6bc7ddb531e..eaad2509f3f 100644 --- a/versioned_sidebars/version-7.x-sidebars.json +++ b/versioned_sidebars/version-7.x-sidebars.json @@ -33,6 +33,7 @@ "screen-tracking", "themes", "state-persistence", + "combine-static-with-dynamic", "testing", "typescript", "redux-integration", @@ -40,11 +41,6 @@ "troubleshooting", "upgrading-from-6.x" ], - "Static configuration": [ - "static-api-reference", - "static-authentication", - "static-combine-with-dynamic" - ], "Navigators": [ "stack-navigator", "native-stack-navigator", @@ -59,6 +55,7 @@ "drawer-layout" ], "API reference": [ + "static-configuration", "navigation-container", "server-container", "group",