Skip to content

docs: integrate frontend-base site into external scripts section - #323

Merged
arbrandes merged 1 commit into
overhangio:releasefrom
arbrandes:arbrandes/docs-external-scripts-site
Aug 7, 2026
Merged

docs: integrate frontend-base site into external scripts section#323
arbrandes merged 1 commit into
overhangio:releasefrom
arbrandes:arbrandes/docs-external-scripts-site

Conversation

@arbrandes

@arbrandes arbrandes commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Description

The "Configuring External Scripts" section treated the frontend-base site as an afterthought in a trailing paragraph, and was misleading about which patches a plugin actually needs. This reworks the section so the site appears alongside the legacy MFEs in every step and ends with a pointer to tutor-contrib-google-analytics as a complete working example.

It also fixes the sample loader. A shared definition is inlined into both env.config.jsx and customApp.tsx, and the latter is compiled by tsc in strict mode, so the old sample's undeclared this.config would have failed the site build for anyone who copied it. The example now declares its field, and the section notes the constraint. The same fix landed on a real plugin in openedx/openedx-tutor-plugins#72.

(This came out of this thread in the forums.)

LLM usage notice

Built with assistance from Claude.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes
arbrandes force-pushed the arbrandes/docs-external-scripts-site branch from 1369ec0 to bcffe0c Compare August 7, 2026 12:08
@arbrandes
arbrandes changed the base branch from main to release August 7, 2026 12:38
@arbrandes
arbrandes merged commit 6badcf7 into overhangio:release Aug 7, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Triage to Done in Tutor project management Aug 7, 2026
@arbrandes
arbrandes deleted the arbrandes/docs-external-scripts-site branch August 7, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants