Skip to content

docs: document multi-source navigation merging#6151

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/c849b687
Open

docs: document multi-source navigation merging#6151
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/c849b687

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new Multiple sources page to the Deploy section explaining how Mintlify merges per-source docs.json configs into a single navigation.products tree for deployments that pull from more than one git repository.

Changes

  • New page deploy/multiple-sources.mdx covering:
    • The primary source vs. additional sources, and which top-level fields each contributes.
    • How mount paths are prefixed onto page paths, OpenAPI/AsyncAPI references, and global navigation hrefs.
    • A worked example showing two source configs and the merged result.
    • Build failure cases (missing/invalid config, empty or overlapping mount paths, nested products).
  • Added the page to the Deploy group in docs.json and mirrored to es, fr, and zh (including translated copies of the new page).

Context

Documents the merging behavior introduced in mintlify/server#5887, which lets the update workflow combine multiple per-source docs configs into one merged config at build time.


Note

Low Risk
Documentation and navigation-only changes with no runtime or application logic.

Overview
Adds a new Multiple sources Deploy doc page and wires it into English and localized navigation (es, fr, zh).

The page explains how multi-repo deployments merge per-source docs.json files at build time: the primary source supplies top-level site config, additional sources contribute only navigation (each becoming a navigation.products entry), and mount paths prefix page paths, API spec references, and global nav hrefs. It includes a two-source worked example and documents build failure cases (invalid/missing config, empty or overlapping mount paths, per-source navigation.products).

Localized copies mirror the English content; es/fr/zh use div wrappers with section IDs for anchor stability.

Reviewed by Cursor Bugbot for commit 9d92f9f. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jun 11, 2026, 3:21 PM

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
smartac 🟢 Ready View Preview Jun 11, 2026, 3:26 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
testsignup415 🟢 Ready View Preview Jun 11, 2026, 3:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
adminroletesting 🟢 Ready View Preview Jun 11, 2026, 3:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hfh-d7a4d643 🟢 Ready View Preview Jun 11, 2026, 3:33 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
gwgwgw 🟢 Ready View Preview Jun 11, 2026, 3:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jun 11, 2026, 3:43 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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.

1 participant