Implement interactive-examples repo

RESOLVED FIXED

Status

developer.mozilla.org
General
RESOLVED FIXED
10 months ago
a month ago

People

(Reporter: espressive, Assigned: espressive)

Tracking

({in-triage})

Details

(Assignee)

Description

10 months ago
In order to avoid a lot of manual work when generating pages for live examples, we want to set up a separate repo that contain all of the editable sample code pieces that will be embedded on MDN.

Core to this repo will be a static site generator to generate all the pages based on 1 or 2 base templates. This system will also concatenate all JS and CSS files related to these pages, as well as minifying the result.
Keywords: in-triage
Moved to the MDN org at https://github.com/mdn/interactive-examples.

The files are generated when merged to master, and served from interactive-examples.mdn.mozilla.net, such as:

https://interactive-examples.mdn.mozilla.net/live-examples/js-examples/array-find.html

Comment 3

6 months ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/481add1bad6145219e70e91e8134d6fa027bee72
bug 1362026: Add interactive-examples to iframes

Add interactive-examples.mdn.mozilla.net to the allowed sources for
iframes.

https://github.com/mozilla/kuma/commit/1d5a93adf065b8c6b4b6a8a3b7b255bd4b4909d3
Merge pull request #4377 from jwhitlock/ie-iframe-1362026

bug 1362026: Add interactive-examples to iframes

r=schalkneethling
Status: NEW → RESOLVED
Last Resolved: a month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.