Skip to content

docs: document per-script disable-sri for remote js scripts#6268

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784135298-disable-sri-docs
Open

docs: document per-script disable-sri for remote js scripts#6268
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784135298-disable-sri-docs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Documents the new per-script disable-sri option for remote js scripts in docs.yml. Fern adds a Subresource Integrity (SRI) integrity attribute (plus crossorigin) to remote scripts by default; disable-sri: true opts a specific script out so it renders without integrity, for scripts whose content changes at the same URL.

Changes:

  • custom-css-js.mdx: new ### Subresource integrity subsection under Custom JavaScript, briefly explaining SRI and the disable-sri opt-out with a docs.yml snippet:
    js:
      - url: https://cdn.example.com/a.js
        disable-sri: true # rendered without an integrity attribute
      - url: https://cdn.example.com/b.js # still gets SRI (default)
  • changelog/2026-07-15.mdx: Docs changelog entry (customization, docs.yml, security) linking to the new section.

Documents the feature shipped in fern-api/fern#17060, fern-api/fern#17071, and fern-api/fern-platform#13119. No SDK changelog entries.

Validated with fern check --warnings (0 errors) and pre-commit/Vale (0 errors, 0 warnings on the new content).

Link to Devin session: https://app.devin.ai/sessions/64da49a5625a4477ac4bc635b19b4d73

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot requested a review from devalog as a code owner July 15, 2026 17:09
@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, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown
Contributor

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.

0 participants