Skip to content

Add customScripts integration docs with strategy options#4961

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/custom-scripts-strategy-1774631440
Closed

Add customScripts integration docs with strategy options#4961
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/custom-scripts-strategy-1774631440

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Mar 27, 2026

Summary

  • Documents the new integrations.customScripts configuration in docs.json for loading external scripts with beforeInteractive, afterInteractive, and lazyOnload strategies
  • Updates the custom scripts page and settings reference (EN, ES, FR, ZH) with usage examples and property descriptions

Related: mintlify/mint#6746


Note

Low Risk
Documentation-only changes; low risk aside from potential confusion if the documented constraints/strategies diverge from actual product behavior.

Overview
Documents a new integrations.customScripts option for loading external scripts via docs.json, including supported strategy values (beforeInteractive, afterInteractive, lazyOnload), an example config, and constraints (HTTPS-only, max 20 scripts, disallowed file types).

Updates the schema/settings reference to include integrations.customScripts, src, and strategy fields (EN/ES/FR/ZH), plus minor copy fix in the French warning text.

Written by Cursor Bugbot for commit 38c71d7. This will update automatically on new commits. Configure here.

@mintlify-development
Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
userauth 🟡 Building Mar 27, 2026, 5:13 PM

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Mar 27, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Mar 27, 2026, 5:17 PM

@ethanpalm
Copy link
Copy Markdown
Collaborator

Closing as duplicate of #4981. That PR is more recent and covers the same customScripts documentation. The most comprehensive version will be reviewed separately.

@ethanpalm ethanpalm closed this Mar 28, 2026
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