Skip to content

Update from code changes: document deployment branch lock#6514

Open
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/7ea987a1
Open

Update from code changes: document deployment branch lock#6514
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/7ea987a1

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents a new publishing setting in the web editor that makes your deployment branch read-only so all editor changes flow through draft branches and pull requests.

Changes

  • Added a Lock the deployment branch section under Publishing settings in editor/settings.mdx, describing what the setting affects (editor, source view, docs.json, navigation edits), when to use it, and how contributors edit through a draft branch while it's on.
  • Warned that enabling the lock discards unpublished editor changes on the deployment branch and force-syncs with Git, and noted that incoming Git pushes overwrite in-flight editor state while the lock is on.
  • Updated the page keywords to include the new setting.
  • Mirrored the section into the French, Spanish, and Chinese editor settings pages.

Context

Triggered by mintlify/mint#9041, which adds the Lock the main branch toggle to the editor's publishing settings, and mintlify/server#6519, which adds the backend blockDeployBranch flag that discards unpublished editor changes and force-syncs the deploy branch when the lock is enabled.

Update history

  • Initial: documented the Lock the deployment branch setting in editor/settings.mdxmintlify/mint#9041.
  • Translations: mirrored the new section into French, Spanish, and Chinese editor/settings.mdx.
  • Backend behavior: added a warning that enabling the lock discards unpublished editor changes and force-syncs from Git, and noted that Git pushes overwrite in-flight editor state while locked; mirrored to all translations — mintlify/server#6519.

@mintlify

mintlify Bot commented Jul 12, 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 Jul 12, 2026, 5:12 AM

@mintlify

mintlify Bot commented Jul 12, 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 Jul 12, 2026, 5:13 AM

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

@mintlify

mintlify Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Added no changes in this pass

Source PRs

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