feat(docs): collapse sidebar sections by default

Activates fumadocs' built-in collapse on every section. Only the
section containing the current page expands; others stay collapsed
until the user clicks them. Foundation for the typographic sidebar
pass in the next commit.
This commit is contained in:
Luca Martial 2026-05-11 00:23:18 -07:00
parent 0d35cf8128
commit 399bad0e0b
7 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{
"title": "Benchmarks",
"defaultOpen": false,
"pages": ["link-detection"]
}

View file

@ -0,0 +1,16 @@
{
"title": "CLI Reference",
"defaultOpen": false,
"pages": [
"ktx-setup",
"ktx-connection",
"ktx-scan",
"ktx-ingest",
"ktx-sl",
"ktx-wiki",
"ktx-serve",
"ktx-status",
"ktx-agent",
"ktx-dev"
]
}

View file

@ -0,0 +1,5 @@
{
"title": "Community",
"defaultOpen": false,
"pages": ["contributing"]
}

View file

@ -0,0 +1,5 @@
{
"title": "Concepts",
"defaultOpen": false,
"pages": ["the-context-layer", "context-as-code"]
}

View file

@ -0,0 +1,5 @@
{
"title": "Getting Started",
"defaultOpen": false,
"pages": ["introduction", "quickstart"]
}

View file

@ -0,0 +1,5 @@
{
"title": "Guides",
"defaultOpen": false,
"pages": ["building-context", "writing-context", "serving-agents"]
}

View file

@ -0,0 +1,5 @@
{
"title": "Integrations",
"defaultOpen": false,
"pages": ["primary-sources", "context-sources", "agent-clients"]
}