Closed Bug 1362026 Opened 7 years ago Closed 6 years ago

Implement interactive-examples repo

Categories

(developer.mozilla.org Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: espressive, Assigned: espressive)

References

Details

(Keywords: in-triage)

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.
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
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
Closed: 6 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.