From 4cee7be834c18b571da1cfcda6e3eaeca7689855 Mon Sep 17 00:00:00 2001 From: Ular Kimsanov Date: Fri, 30 Oct 2026 21:18:07 +0000 Subject: [PATCH] docs: one Docs menu and Catalog in the top bar (#6860) Make a video, Studio app and Developers move into a Docs menu (each keeps its own sidebar), with Free lessons, Community and the app changelog under them; Catalog stays a tab. The top-bar copy of Ask Assistant goes (Ask stays in search and the page's bottom bar); the logo opens the homepage; the button reads Download. --- docs/custom.css | 15 +- docs/docs.json | 519 +++++++++++++++++++++++++----------------------- 2 files changed, 283 insertions(+), 251 deletions(-) diff --git a/docs/custom.css b/docs/custom.css index b9afb9fa58..714c2db9a3 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -589,13 +589,22 @@ samp { background: color-mix(in srgb, var(--hf-text) 46%, transparent); } -/* Preserve a useful search field on smaller desktop widths. */ -@media (min-width: 1024px) and (max-width: 1199px) { +/* + * Ask Assistant already sits in the ⌘K search window and in the "Ask a question" bar at the foot of every + * page, so the desktop bar drops its own copy (⌘I still opens it; phones keep theirs). #assistant-entry is + * Mintlify's markup, not a setting: re-check after Mintlify updates. + */ +@media (min-width: 1024px) { #navbar #assistant-entry { display: none; } } +/* Top-bar Docs menu: titles in the heading colour so they stand apart from their grey one-line descriptions. */ +.nav-dropdown-item .font-medium { + color: var(--hf-heading); +} + /* Every structural hairline (header bottom, content rules, footer) is the palette's line, * never a light gray that would draw a pale stripe on the paper. */ [class*="border-gray-200"], @@ -1336,7 +1345,7 @@ div.h-px.bg-gray-100 { /* ── UX-pass tweaks (Ular): brand the Playground CTA, align the logo ── */ @media (min-width: 1024px) { /* Line the logo up with the sidebar text (was flush at the navbar padding, 16px further left). */ - #navbar a[href*="/introduction"] { + #navbar a:has(> img.nav-logo) { margin-left: 16px; } diff --git a/docs/docs.json b/docs/docs.json index 5181593ef2..d89286f855 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -25,7 +25,7 @@ "logo": { "light": "/logo/light.svg", "dark": "/logo/dark.svg", - "href": "https://hyperframes.heygen.com/introduction" + "href": "https://hyperframes.heygen.com/" }, "favicon": "/favicon.svg", "contextual": { @@ -48,127 +48,291 @@ "navigation": { "tabs": [ { - "tab": "Make a video", + "tab": "Docs", "icon": "book-open", - "groups": [ + "menu": [ { - "group": "Start here", - "pages": [ - "introduction", - "quickstart", - "examples", - "faq" - ] - }, - { - "group": "Make a video", - "pages": [ - "workflows", - "guides/product-launch-video", - "guides/faceless-explainer", - "guides/motion-graphics", - "guides/captions-and-recuts", - "guides/music-to-video", - "prompting/data-and-maps", - "guides/avatar-presenter", - "guides/pr-to-video", - "guides/slideshow", - "guides/general-video" - ] - }, - { - "group": "Use it with your agent", - "pages": [ - "guides/with-claude-code", - "guides/with-codex", - "guides/with-cursor", - "guides/mcp", - "guides/free-agents", - "guides/skills", - "guides/plugins", - "guides/design-tools" - ] - }, - { - "group": "Compare", - "pages": [ - "guides/hyperframes-vs-remotion", - "prompting/remotion-migration" - ] - }, - { - "group": "Tips for better videos", - "pages": [ - "prompting/overview", - "prompting/motion", - "prompting/media-and-audio", - "prompting/captions-catalog", - "prompting/color-grading", - "prompting/design-systems", + "item": "Make a video", + "icon": "book-open", + "description": "Guides by kind of video", + "groups": [ { - "group": "More prompt topics", + "group": "Start here", "pages": [ - "prompting/examples", - "prompting/editing-existing-videos", - "prompting/recreating-references", - "prompting/capstone" + "introduction", + "quickstart", + "examples", + "faq" + ] + }, + { + "group": "Make a video", + "pages": [ + "workflows", + "guides/product-launch-video", + "guides/faceless-explainer", + "guides/motion-graphics", + "guides/captions-and-recuts", + "guides/music-to-video", + "prompting/data-and-maps", + "guides/avatar-presenter", + "guides/pr-to-video", + "guides/slideshow", + "guides/general-video" + ] + }, + { + "group": "Use it with your agent", + "pages": [ + "guides/with-claude-code", + "guides/with-codex", + "guides/with-cursor", + "guides/mcp", + "guides/free-agents", + "guides/skills", + "guides/plugins", + "guides/design-tools" + ] + }, + { + "group": "Compare", + "pages": [ + "guides/hyperframes-vs-remotion", + "prompting/remotion-migration" + ] + }, + { + "group": "Tips for better videos", + "pages": [ + "prompting/overview", + "prompting/motion", + "prompting/media-and-audio", + "prompting/captions-catalog", + "prompting/color-grading", + "prompting/design-systems", + { + "group": "More prompt topics", + "pages": [ + "prompting/examples", + "prompting/editing-existing-videos", + "prompting/recreating-references", + "prompting/capstone" + ] + } + ] + }, + { + "group": "Images, sound and footage", + "pages": [ + "guides/media", + "guides/video-components", + "guides/voice-and-audio", + "guides/remove-background", + "guides/media-effects", + "guides/export-and-share" + ] + }, + { + "group": "Browser editor", + "pages": [ + "studio/index", + "studio/canvas", + "studio/timeline", + "studio/audio-effects", + "studio/assets-and-blocks", + "studio/export" + ] + }, + { + "group": "Help and updates", + "pages": [ + "help", + "thirty-days", + "product-updates", + "weekly-updates", + "changelog" ] } ] }, { - "group": "Images, sound and footage", - "pages": [ - "guides/media", - "guides/video-components", - "guides/voice-and-audio", - "guides/remove-background", - "guides/media-effects", - "guides/export-and-share" + "item": "Studio app", + "icon": "laptop", + "description": "The desktop app", + "groups": [ + { + "group": "Studio app", + "pages": [ + "studio-app/index", + "studio-app/first-video", + "studio-app/existing-project", + "studio-app/reference-video", + "studio-app/brand-kits", + "studio-app/video-clips", + "studio-app/edit-with-the-agent", + "studio-app/workspace", + "studio-app/connect-your-agent", + "studio-app/export", + "studio-app/share" + ] + } ] }, { - "group": "Browser editor", - "pages": [ - "studio/index", - "studio/canvas", - "studio/timeline", - "studio/audio-effects", - "studio/assets-and-blocks", - "studio/export" + "item": "Developers", + "icon": "code", + "description": "CLI, SDK and reference", + "groups": [ + { + "group": "Start here", + "pages": [ + "developers/overview", + "developers/index", + "concepts/index" + ] + }, + { + "group": "Command line", + "pages": [ + "developers/cli", + "packages/cli", + "developers/catalog-search", + "developers/harness-tool-context", + "packages/lint" + ] + }, + { + "group": "SDK guides", + "pages": [ + "sdk/quickstart", + "sdk/guides/querying-and-editing", + "sdk/guides/timing-and-animation", + "sdk/guides/undo-redo-and-patches", + "sdk/guides/persistence", + "sdk/guides/embedded-override-mode", + "sdk/guides/canvas-integration", + "sdk/guides/editing-affordances" + ] + }, + { + "group": "SDK reference", + "pages": [ + "sdk/reference/open-composition", + "sdk/reference/composition", + "sdk/reference/edit-operations", + "sdk/reference/types", + "sdk/reference/adapters", + "sdk/reference/utilities" + ] + }, + { + "group": "Composition, design & animation", + "pages": [ + "concepts/compositions", + "concepts/variables", + "concepts/data-attributes", + "guides/gsap-animation", + "guides/frame-sources", + "guides/imported-film-html", + "concepts/frame-adapters", + "concepts/determinism", + "guides/html-in-canvas", + "guides/motion-blur", + "guides/vfx-chain", + "guides/figma" + ] + }, + { + "group": "Composition reference", + "pages": [ + "reference/html-schema", + "reference/color-grading", + "reference/audio-effects", + "reference/speed-ramps", + "reference/lint-rules" + ] + }, + { + "group": "Rendering paths", + "pages": [ + "guides/rendering", + "deploy/overview", + "deploy/cloud", + "guides/deploy" + ] + }, + { + "group": "Cloud infrastructure", + "pages": [ + "deploy/aws-lambda", + "deploy/gcp-cloud-run", + "deploy/templates-on-lambda", + "deploy/migrating-to-hyperframes-lambda", + "packages/aws-lambda", + "packages/gcp-cloud-run" + ] + }, + { + "group": "Advanced rendering", + "pages": [ + "guides/4k-rendering", + "guides/hdr", + "guides/performance" + ] + }, + { + "group": "Packages", + "pages": [ + "packages/core", + "packages/parsers", + "packages/studio-server", + "packages/sdk", + "packages/engine", + "packages/player", + "packages/producer", + "packages/shader-transitions", + "packages/studio" + ] + }, + { + "group": "Agent setup", + "pages": [ + "guides/authentication", + "guides/webmcp" + ] + }, + { + "group": "Contributing & community", + "pages": [ + "contributing", + "contributing/catalog", + "contributing/release-channels", + "contributing/agent-plugins", + "contributing/changelog-process", + "contributing/testing-local-changes", + "contributing/canary-rollouts", + "community/adopters" + ] + } ] }, { - "group": "Help and updates", - "pages": [ - "help", - "thirty-days", - "product-updates", - "weekly-updates", - "changelog" - ] - } - ] - }, - { - "tab": "Studio app", - "icon": "laptop", - "groups": [ + "item": "Free lessons", + "icon": "graduation-cap", + "description": "A free video course", + "href": "https://hyperframes.heygen.com/lessons" + }, { - "group": "Studio app", - "pages": [ - "studio-app/index", - "studio-app/first-video", - "studio-app/existing-project", - "studio-app/reference-video", - "studio-app/brand-kits", - "studio-app/video-clips", - "studio-app/edit-with-the-agent", - "studio-app/workspace", - "studio-app/connect-your-agent", - "studio-app/export", - "studio-app/share" - ] + "item": "Community", + "icon": "users", + "description": "Videos people made", + "href": "https://hyperframes.studio/?view=community" + }, + { + "item": "App changelog", + "icon": "sparkles", + "description": "What's new in the app", + "href": "https://hyperframes.studio/changelog" } ] }, @@ -841,143 +1005,6 @@ ] } ] - }, - { - "tab": "Developers", - "icon": "code", - "groups": [ - { - "group": "Start here", - "pages": [ - "developers/overview", - "developers/index", - "concepts/index" - ] - }, - { - "group": "Command line", - "pages": [ - "developers/cli", - "packages/cli", - "developers/catalog-search", - "developers/harness-tool-context", - "packages/lint" - ] - }, - { - "group": "SDK guides", - "pages": [ - "sdk/quickstart", - "sdk/guides/querying-and-editing", - "sdk/guides/timing-and-animation", - "sdk/guides/undo-redo-and-patches", - "sdk/guides/persistence", - "sdk/guides/embedded-override-mode", - "sdk/guides/canvas-integration", - "sdk/guides/editing-affordances" - ] - }, - { - "group": "SDK reference", - "pages": [ - "sdk/reference/open-composition", - "sdk/reference/composition", - "sdk/reference/edit-operations", - "sdk/reference/types", - "sdk/reference/adapters", - "sdk/reference/utilities" - ] - }, - { - "group": "Composition, design & animation", - "pages": [ - "concepts/compositions", - "concepts/variables", - "concepts/data-attributes", - "guides/gsap-animation", - "guides/frame-sources", - "guides/imported-film-html", - "concepts/frame-adapters", - "concepts/determinism", - "guides/html-in-canvas", - "guides/motion-blur", - "guides/vfx-chain", - "guides/figma" - ] - }, - { - "group": "Composition reference", - "pages": [ - "reference/html-schema", - "reference/color-grading", - "reference/audio-effects", - "reference/speed-ramps", - "reference/lint-rules" - ] - }, - { - "group": "Rendering paths", - "pages": [ - "guides/rendering", - "deploy/overview", - "deploy/cloud", - "guides/deploy" - ] - }, - { - "group": "Cloud infrastructure", - "pages": [ - "deploy/aws-lambda", - "deploy/gcp-cloud-run", - "deploy/templates-on-lambda", - "deploy/migrating-to-hyperframes-lambda", - "packages/aws-lambda", - "packages/gcp-cloud-run" - ] - }, - { - "group": "Advanced rendering", - "pages": [ - "guides/4k-rendering", - "guides/hdr", - "guides/performance" - ] - }, - { - "group": "Packages", - "pages": [ - "packages/core", - "packages/parsers", - "packages/studio-server", - "packages/sdk", - "packages/engine", - "packages/player", - "packages/producer", - "packages/shader-transitions", - "packages/studio" - ] - }, - { - "group": "Agent setup", - "pages": [ - "guides/authentication", - "guides/webmcp" - ] - }, - { - "group": "Contributing & community", - "pages": [ - "contributing", - "contributing/catalog", - "contributing/release-channels", - "contributing/agent-plugins", - "contributing/changelog-process", - "contributing/testing-local-changes", - "contributing/canary-rollouts", - "community/adopters" - ] - } - ] } ] }, @@ -1043,10 +1070,6 @@ }, "navbar": { "links": [ - { - "label": "Lessons", - "href": "https://hyperframes.heygen.com/lessons" - }, { "type": "github", "href": "https://github.com/heygen-com/hyperframes" @@ -1054,7 +1077,7 @@ ], "primary": { "type": "button", - "label": "Download Studio", + "label": "Download", "href": "https://hyperframes.studio/studio/download?src=docs-navbar" } },