Skip to content

docs: add multi-source docs page#5269

Merged
kennyderek merged 8 commits intomainfrom
devin/1777565083-add-multi-source-docs
May 4, 2026
Merged

docs: add multi-source docs page#5269
kennyderek merged 8 commits intomainfrom
devin/1777565083-add-multi-source-docs

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Apr 30, 2026

Summary

Adds a new documentation page for the multi-source docs feature, which lets multiple teams publish to the same custom domain from independent repositories.

Changes

  • New page: fern/products/docs/pages/preview-publish/multi-source.mdx — covers:
    • Enterprise-only warning at the top
    • How multi-source: true on instances enables basepath-aware publishing
    • How global themes (fern docs theme export/upload/list) keep branding consistent across repos
    • Dashboard multi-source settings for default path and search behavior (hierarchical vs unified)
    • Full setup guide with Steps and Tabs, plus a worked example anchored to the live example site
  • Navigation: Added the page to the "Preview & publish" section in docs.yml
  • Site-level settings: Added instances.multi-source ParamField to the instances configuration reference
  • Changelog: Added 2026-04-30.mdx entry for the feature
  • Screenshot: Dashboard multi-source settings screenshot (text updated to "Multi-source settings")

Worked example

The "Example" section now mirrors the live example at multi-source.docs.buildwithfern.com, with source at fern-api/docs-examples/multi-source. It walks through six independent fern/ projects on one shared domain — a homepage at the bare root, a /seeds team hub with two nested sub-children (/seeds/sunflower, /seeds/tomato), and standalone /greenhouses and /nursery teams. This also demonstrates the nested-sub-paths pattern (one multi-source project published under another), which wasn't previously covered.

Review & Testing Checklist for Human

  • Open the preview page and confirm the Tip callout, project tree code block, and the four config Tabs (Homepage / Seeds / Sunflower / Greenhouses) all render correctly
  • Click the in-page "(example)" link in the How it works section and confirm it scrolls to the renamed Example heading
  • Cross-check the Tabs against the live example repo to confirm the YAML matches (basepath, multi-source: true, global-theme)

Notes

  • The page is placed under "Preview & publish" since multi-source is an extension of the publishing workflow.
  • The instances.multi-source property replaces the deprecated experimental.basepath-aware flag (added in CLI 5.2.0).
  • Cross-references the existing Global themes page rather than duplicating theme setup instructions.
  • The example section uses multi-source.docs.buildwithfern.com URLs (matching the live example site) and intentionally omits custom-domain since the live example uses Fern's preview domain — there's a one-line note explaining how to add one for production deployments.

Link to Devin session: https://app.devin.ai/sessions/2302d06a2d04471f95b133e0c0d7b5c0

Co-Authored-By: kenny <kenny@buildwithfern.com>
@devin-ai-integration devin-ai-integration Bot requested a review from devalog as a code owner April 30, 2026 16:07
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

devin-ai-integration Bot and others added 4 commits April 30, 2026 16:11
Co-Authored-By: kenny <kenny@buildwithfern.com>
Co-Authored-By: kenny <kenny@buildwithfern.com>
Co-Authored-By: kenny <kenny@buildwithfern.com>
….com site

Co-Authored-By: kenny <kenny@buildwithfern.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

Devin is archived and cannot be woken up. Please unarchive Devin if you want to continue using it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

@kennyderek kennyderek merged commit 73d195e into main May 4, 2026
2 checks passed
@kennyderek kennyderek deleted the devin/1777565083-add-multi-source-docs branch May 4, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants