feat(docs): add mobile-toc option to docs.yml layout config#15049
feat(docs): add mobile-toc option to docs.yml layout config#15049matlegault wants to merge 1 commit intomainfrom
Conversation
Add opt-in `mobile-toc` boolean to the layout section of docs.yml, enabling a sticky collapsible table of contents bar on mobile viewports for guide and overview layout pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
🌱 Seed Test SelectorSelect languages to run seed tests for:
How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR. |
SDK Generation Benchmark ResultsComparing PR branch against latest nightly baseline on Full benchmark table (click to expand)
main (generator): generator-only time via --skip-scripts (includes Docker image build, container startup, IR parsing, and code generation — this is the same Docker-based flow customers use via |
Docs Generation Benchmark ResultsComparing PR branch against
Docs generation runs |
Summary
mobile-tocboolean to thelayoutsection ofdocs.yml, enabling a sticky collapsible table of contents bar on mobile viewports for guide and overview layout pages.Changes Made
mobile-toc: optional<boolean>toLayoutConfigin the Fern API definitionmobile-tocto the zod schema inDocsYmlSchemas.tsmobileTocto the API type interface and serialization layermobileTocinparseDocsConfiguration.ts(defaults tofalse)Test plan
layout: { mobile-toc: true }in docs.yml is parsed correctlymobileToc: truefalse🤖 Generated with Claude Code