Skip to content

Commit ffd98e0

Browse files
Make Cloud tab own its navigation
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent df1ba6d commit ffd98e0

2 files changed

Lines changed: 4 additions & 43 deletions

File tree

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ Workflow: `.github/workflows/sync-agent-sdk-openapi.yml`
153153
- When linking internally, prefer **absolute** doc paths (e.g. `/overview/quickstart`).
154154
- Cloud integration docs live under `openhands/usage/cloud/`, and pages surfaced in **Documentation → Integrations → Cloud API** must also be added to the `Cloud API` group in `docs.json`.
155155

156+
### Mintlify tab ownership
157+
158+
When the same page path appears under multiple top-level tabs in `docs.json`, Mintlify resolves the page to one tab/sidebar (effectively the first matching tab). If you want a page to show a distinct left navigation for a new tab, that page should live **exclusively** under that tab rather than being duplicated across tabs.
159+
156160
### SDK guide file naming
157161

158162
SDK guide files under `sdk/guides/` use a **category prefix** to group related pages:

docs.json

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -67,37 +67,9 @@
6767
"pages": [
6868
"openhands/usage/settings/application-settings",
6969
"openhands/usage/settings/llm-settings",
70-
"openhands/usage/settings/integrations-settings",
7170
"openhands/usage/settings/secrets-settings",
72-
"openhands/usage/settings/api-keys-settings",
7371
"openhands/usage/settings/mcp-settings"
7472
]
75-
},
76-
{
77-
"group": "OpenHands Cloud",
78-
"pages": [
79-
"openhands/usage/cloud/openhands-cloud",
80-
"openhands/usage/cloud/cloud-ui"
81-
]
82-
}
83-
]
84-
},
85-
{
86-
"group": "Integrations",
87-
"pages": [
88-
"openhands/usage/settings/integrations-settings",
89-
"openhands/usage/cloud/github-installation",
90-
"openhands/usage/cloud/gitlab-installation",
91-
"openhands/usage/cloud/bitbucket-installation",
92-
"openhands/usage/cloud/slack-installation",
93-
"openhands/usage/cloud/project-management/jira-integration",
94-
{
95-
"group": "Cloud API",
96-
"pages": [
97-
"openhands/usage/cloud/cloud-api",
98-
"openhands/usage/cloud/plugin-launcher",
99-
"openhands/usage/api/v1"
100-
]
10173
}
10274
]
10375
},
@@ -462,21 +434,6 @@
462434
"enterprise/k8s-install/index",
463435
"enterprise/k8s-install/resource-limits"
464436
]
465-
},
466-
{
467-
"group": "Product Guides",
468-
"pages": [
469-
{
470-
"group": "Automations (BETA)",
471-
"icon": "clock",
472-
"pages": [
473-
"openhands/usage/automations/overview",
474-
"openhands/usage/automations/creating-automations",
475-
"openhands/usage/automations/managing-automations",
476-
"openhands/usage/automations/examples"
477-
]
478-
}
479-
]
480437
}
481438
]
482439
}

0 commit comments

Comments
 (0)