Navigation
Configure your documentation structure
Navigation in Jamdesk uses tabs, groups, and pages to organize your documentation. External links can be added using anchors.
Structure Overview
{
"navigation": {
"tabs": [
{
"tab": "Documentation",
"icon": "book-open",
"groups": [
{
"group": "Getting Started",
"pages": ["introduction", "quickstart"]
}
]
}
]
}
}Concepts
Tabs
Top-level navigation sections. Control their position with the tabsPosition setting:
| Value | Position |
|---|---|
"top" | In the header tab bar |
"left" | At the top of the sidebar |
The default position depends on your theme:
| Theme | Default |
|---|---|
| jam | "left" |
| nebula | "left" |
| pulsar | "top" |
{
"tabsPosition": "left",
"navigation": {
"tabs": [
{ "tab": "Guides", "icon": "book", "groups": [...] },
{ "tab": "API", "icon": "code", "groups": [...] }
]
}
}
Icons use the Font Awesome Light variant to maintain a clean, consistent appearance.
External Links (Anchors)
Add external links that appear at the top of the sidebar on all pages:
{
"anchors": [
{ "name": "Blog", "href": "https://blog.example.com", "icon": "newspaper" },
{ "name": "Status", "href": "https://status.example.com", "icon": "signal" }
]
}
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display text for the link |
href | string | Yes | URL (opens in new tab) |
icon | string | No | Font Awesome icon name |
Groups
Collapsible sections within a tab:
{
"group": "Authentication",
"pages": ["auth/overview", "auth/tokens"]
}
Pages
Individual documentation pages, referenced by their file path (without .mdx):
"pages": ["introduction", "guides/quickstart", "api/endpoints"]
Multiple Tabs
Create separate sections for different audiences:
{
"navigation": {
"tabs": [
{
"tab": "Guides",
"icon": "book",
"groups": [
{ "group": "Getting Started", "pages": ["intro", "quickstart"] }
]
},
{
"tab": "API Reference",
"icon": "code",
"groups": [{ "group": "Endpoints", "pages": ["api/auth", "api/users"] }]
}
]
}
}
External Tab Links
Link to external documentation or resources directly from tabs:
{
"navigation": {
"tabs": [
{ "tab": "Docs", "icon": "book", "groups": [...] },
{ "tab": "GitHub", "icon": "github", "href": "https://github.com/example/repo" }
]
}
}
External tabs open in a new browser tab.
Nested Groups
Organize complex documentation with nested structures:
{
"group": "SDKs",
"pages": [
"sdks/overview",
{
"group": "JavaScript",
"pages": ["sdks/js/install", "sdks/js/usage"]
},
{
"group": "Python",
"pages": ["sdks/python/install", "sdks/python/usage"]
}
]
}