Structure and customize your documentation’s navigation hierarchy
docs.json
controls the structure and information hierarchy of your documentation.
With proper navigation configuration, you can organize your content so that users can find exactly what they’re looking for.
api
or mcp
as titles for any navigation element. The /api
and /mcp
paths are reserved in production and will cause pages to return 404 errors if their URLs contain /api
or /mcp
.navigation
object, pages
is an array where each entry must reference the path to a page file.
navigation
object, groups
is an array where each entry is an object that requires a group
field and a pages
field. The icon
and tag
fields are optional.
navigation
object, tabs
is an array where each entry is an object that requires a tab
field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
navigation
object, menu
is an array where each entry is an object that requires an item
field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
navigation
object, anchors
is an array where each entry is an object that requires an anchor
field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
global
keyword. Anchors in a global
object must have an href
field and cannot point to a relative path.
Global anchors are particularly useful for linking to resources that are not part of your documentation, but should be readily accessible to your users like a blog or support portal
navigation
object, dropdowns
is an array where each entry is an object that requires a dropdown
field and can contain other navigation fields such as groups, pages, icons, or links to external pages.
navigation
object, versions
is an array where each entry is an object that requires a version
field and can contain any other navigation fields.
navigation
object, languages
is an array where each entry is an object that requires a language
field and can contain any other navigation fields.
We currently support the following languages: