Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deploy/multi-repo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Mintlify merges the [`variables`](/organize/settings-reference#variables) define
When more than one source defines the same variable key:

- The base source's value always takes precedence.
- If two non-base sources define the same key with different values and the base source doesn't define it, Mintlify uses the value from the source configured first and logs a warning in the deployment to update the conflicting names in the non-base sources.
- If two non-base sources define the same key with different values and the base source doesn't define it, Mintlify uses the value from the source configured first. Mintlify also logs a deployment warning that prompts you to update the conflicting names in the non-base sources.

## Reference navigation from another source

Expand All @@ -205,7 +205,7 @@ Add a `sourceRef` entry to a navigation array in the base source's `docs.json`.

Mintlify supports `sourceRef` inside `anchors`, `tabs`, `groups`, `pages`, `products`, `menu`, and arrays under `navigation.global`.

When you place `sourceRef` inside a tab's `menu` array, Mintlify replaces the entry with the menu items the referenced source declares under `navigation.groups[*].menu` and prefixes each item's page paths with the referenced source's URL path. If the referenced source doesn't define any menu items under `navigation.groups`, the deployment fails.
When you place `sourceRef` inside a tab's `menu` array, Mintlify replaces the entry with the menu items the referenced source declares under `navigation.groups[*].menu`. Mintlify then prefixes each item's page paths with the referenced source's URL path. If the referenced source doesn't define any menu items under `navigation.groups`, the deployment fails.

For example, to combine anchors from multiple repositories into a single anchor navigation:

Expand Down