Skip to content

Commit

Permalink
Merge static configuration section with rest
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Feb 28, 2024
1 parent 6765a7c commit effa55b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions versioned_docs/version-7.x/static-api-reference.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-7.x/static-combine-with-dynamic.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 2 additions & 5 deletions versioned_sidebars/version-7.x-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@
"screen-tracking",
"themes",
"state-persistence",
"combine-static-with-dynamic",
"testing",
"typescript",
"redux-integration",
"MST-integration",
"troubleshooting",
"upgrading-from-6.x"
],
"Static configuration": [
"static-api-reference",
"static-authentication",
"static-combine-with-dynamic"
],
"Navigators": [
"stack-navigator",
"native-stack-navigator",
Expand All @@ -59,6 +55,7 @@
"drawer-layout"
],
"API reference": [
"static-configuration",
"navigation-container",
"server-container",
"group",
Expand Down

0 comments on commit effa55b

Please sign in to comment.