feat(docs): add hide-related-topics layout option to docs.yml schema#16687
feat(docs): add hide-related-topics layout option to docs.yml schema#16687kgowru wants to merge 2 commits into
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Kapil Gowru <k.gowru@gmail.com>
Co-Authored-By: Kapil Gowru <k.gowru@gmail.com>
34d594a to
8e8a3e6
Compare
Docs Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) on
Docs generation runs |
SDK Generation Benchmark ResultsComparing PR branch against median of 5 nightly run(s) 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 |
Description
Linear ticket: Refs FER-11056
Companion PR to fern-platform#11952 which adds a "Related Topics" section at the bottom of docs pages. This PR adds the
hide-related-topicsoption to thelayoutconfig indocs.ymlso users can globally disable the feature.Changes Made
hide-related-topicsboolean property toLayoutConfigin the Fern API definition (fern/apis/docs-yml/definition/docs.yml)DocsYmlSchemas.tsLayoutConfig.ts)docs-yml.schema.json)convertLayoutConfiginparseDocsConfiguration.tsto pass through the new field (defaults tofalse)Testing
pnpm compilepasses for affected packages (configuration, configuration-loader, config)pnpm lint:biome --fixandpnpm format:fixpass cleanlyLink to Devin session: https://app.devin.ai/sessions/e76abdb239f24b4fabff33b1a2464956
Requested by: @kgowru