docs: Update docs navbar config (#3653)

## Description

Currently, the docs page has the home book opened by default. This PR
updates the .ts so that the sidebar books are collapsed when you first
open the webpage
This commit is contained in:
Kelly Brown 2025-10-02 10:48:38 -04:00 committed by Raghotham Murthy
parent 856de66231
commit 7545e6f669

View file

@ -16,7 +16,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Getting Started',
collapsed: false,
collapsed: true,
items: [
'getting_started/quickstart',
'getting_started/detailed_tutorial',
@ -26,7 +26,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Concepts',
collapsed: false,
collapsed: true,
items: [
'concepts/index',
'concepts/architecture',
@ -48,7 +48,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Distributions',
collapsed: false,
collapsed: true,
items: [
'distributions/index',
'distributions/list_of_distributions',
@ -93,7 +93,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Providers',
collapsed: false,
collapsed: true,
items: [
'providers/index',
{
@ -276,7 +276,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Building Applications',
collapsed: false,
collapsed: true,
items: [
'building_applications/index',
'building_applications/rag',
@ -293,7 +293,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Advanced APIs',
collapsed: false,
collapsed: true,
items: [
'advanced_apis/post_training',
'advanced_apis/evaluation',
@ -303,7 +303,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Deploying',
collapsed: false,
collapsed: true,
items: [
'deploying/index',
'deploying/kubernetes_deployment',
@ -313,7 +313,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'Contributing',
collapsed: false,
collapsed: true,
items: [
'contributing/index',
'contributing/new_api_provider',
@ -324,7 +324,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'References',
collapsed: false,
collapsed: true,
items: [
'references/index',
'references/llama_cli_reference/index',