Skip to content

Commit

Permalink
Update sidebar navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-wong committed Aug 8, 2024
1 parent 5161a37 commit 0a74a26
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 95 deletions.
75 changes: 13 additions & 62 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const sidebars = {
},
{
type: 'category',
label: 'Try ScalarDB Core Transactions',
label: 'Try Running Transactions Through the ScalarDB Core Library',
collapsible: true,
items: [
{
Expand All @@ -85,7 +85,7 @@ const sidebars = {
},
{
type: 'category',
label: 'Try ScalarDB Analytics',
label: 'Try Running Analytical Queries Through ScalarDB Analytics',
collapsible: true,
items: [
{
Expand Down Expand Up @@ -134,16 +134,11 @@ const sidebars = {
label: 'Run Through the CRUD Interface',
collapsible: true,
items: [
{ // THIS LINK IS ONLY FOR RENDERING THE SIDEBAR. REMOVE THIS ITEM WHEN THE COMMENTED OUT DOC HAS BEEN CREATED.
{ // To be created
type: 'doc',
id: 'overview',
label: 'PLACEHOLDER',
id: 'index',
label: 'Use the ScalarDB Core Library (PLACEHOLDER)',
},
// { To be created
// type: 'doc',
// id: 'run-transactions-through-scalardb-library',
// label: 'Use the Library',
// },
],
},
{
Expand Down Expand Up @@ -182,32 +177,17 @@ const sidebars = {
label: 'Run Through the CRUD Interface',
collapsible: true,
items: [
{ // THIS LINK IS ONLY FOR RENDERING THE SIDEBAR. REMOVE THIS ITEM WHEN THE COMMENTED OUT DOC HAS BEEN CREATED.
{ // To be created
type: 'doc',
id: 'overview',
label: 'PLACEHOLDER',
id: 'index',
label: 'Use the ScalarDB Core Library (PLACEHOLDER)',
},
// { To be created
// type: 'doc',
// id: 'run-non-transactional-operations-through-scalardb-library',
// label: 'Use the Library',
// },
// { To be created
// type: 'doc',
// id: 'run-non-transactional-operations-through-scalardb-cluster',
// label: 'Use ScalarDB Cluster',
// },
],
},
// { To be created
// type: 'doc',
// id: 'run-non-transactional-operations-through-sql-interface',
// label: 'Use the SQL Interface',
// },
{
type: 'doc',
id: 'storage-abstraction',
label: 'Run Through the Primitive CRUD Interface',
id: 'index',
label: 'Run Through the Primitive CRUD Interface (PLACEHOLDER)',
},
],
},
Expand Down Expand Up @@ -289,11 +269,6 @@ const sidebars = {
label: 'Migrate',
collapsible: true,
items: [
// { To be created
// type: 'doc',
// id: 'migrate-overview',
// label: 'Overview',
// },
{
type: 'doc',
id: 'schema-loader-import',
Expand All @@ -306,34 +281,10 @@ const sidebars = {
label: 'Manage',
collapsible: true,
items: [
// { To be created
// type: 'doc',
// id: 'manage-overview',
// label: 'Overview',
// },
{
type: 'category',
label: 'Back Up and Restore',
collapsible: true,
items: [
{
type: 'doc',
id: 'manage-backup-and-restore',
label: 'Back Up and Restore Databases',
},
{
type: 'category',
label: 'Reference',
collapsible: true,
items: [
{
type: 'doc',
id: 'backup-restore',
label: 'Back Up and Restore Databases',
},
],
},
],
type: 'doc',
id: 'backup-restore',
label: 'Back Up and Restore Databases Used Through ScalarDB',
},
],
},
Expand Down
47 changes: 14 additions & 33 deletions versioned_sidebars/version-3.12-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
{
"type": "category",
"label": "Try ScalarDB Core Transactions",
"label": "Try Running Transactions Through the ScalarDB Core Library",
"collapsible": true,
"items": [
{
Expand All @@ -66,7 +66,7 @@
},
{
"type": "category",
"label": "Try ScalarDB Analytics",
"label": "Try Running Analytical Queries Through ScalarDB Analytics",
"collapsible": true,
"items": [
{
Expand Down Expand Up @@ -117,8 +117,8 @@
"items": [
{
"type": "doc",
"id": "overview",
"label": "PLACEHOLDER"
"id": "index",
"label": "Use the ScalarDB Core Library (PLACEHOLDER)"
}
]
},
Expand Down Expand Up @@ -160,18 +160,18 @@
"items": [
{
"type": "doc",
"id": "overview",
"label": "PLACEHOLDER"
"id": "index",
"label": "Use the ScalarDB Core Library (PLACEHOLDER)"
}
]
},
{
"type": "doc",
"id": "storage-abstraction",
"label": "Run Through the Primitive CRUD Interface"
}
]
},
{
"type": "doc",
"id": "index",
"label": "Run Through the Primitive CRUD Interface (PLACEHOLDER)"
},
{
"type": "category",
"label": "Create Sample Applications",
Expand Down Expand Up @@ -263,28 +263,9 @@
"collapsible": true,
"items": [
{
"type": "category",
"label": "Back Up and Restore",
"collapsible": true,
"items": [
{
"type": "doc",
"id": "manage-backup-and-restore",
"label": "Back Up and Restore Databases"
},
{
"type": "category",
"label": "Reference",
"collapsible": true,
"items": [
{
"type": "doc",
"id": "backup-restore",
"label": "Back Up and Restore Databases"
}
]
}
]
"type": "doc",
"id": "backup-restore",
"label": "Back Up and Restore Databases Used Through ScalarDB"
}
]
},
Expand Down

0 comments on commit 0a74a26

Please sign in to comment.