Replies: 0 comments 14 replies
-
mdn/interactive-examples is still using TravisCI. In mdn/content we have all the GitHub Actions stuff figured out :) |
Beta Was this translation helpful? Give feedback.
-
First thing that spring into my mind: Will give constructive feedback in the thread :) |
Beta Was this translation helpful? Give feedback.
-
I think this would be fine in principle. interactive-examples is a separate repo because when it was invented the content was in the Wiki. If the content had been in GitHub back then, interactive-examples would probably have gone in the same repo. I think there are definitely advantages to contributors to be able to file one PR to add an interactive example and update the page at the same time. It's a bit hokey the way it is now. At the moment you can do:
and get a local server that serves the examples. This is nice! Would we get something similar? How would we organize the files? Is the suggestion basically to have "interactive-examples" as a top level directory, alongside "files"? What about other examples repos, notably https://github.com/mdn/css-examples and https://github.com/mdn/dom-examples (but there are others)? These are usually (but perhaps not always) designed to be run as github pages, and sometimes embedded in MDN pages using the EmbedGHLiveSample macro. Should we instead have:
? Some day we should rationalize our examples system(s). I appreciate we don't want to do that as part of this proposal, but it would be good to try to make this a move that's at least compatible with a bigger plan. @Rumyra might be interested in this discussion. |
Beta Was this translation helpful? Give feedback.
-
At the moment, we a completely separate infrastructure for producing URLs like https://interactive-examples.mdn.mozilla.net/pages/tabbed/video.html
The content is in https://github.com/mdn/interactive-examples and https://github.com/mdn/bob is used to compile the content into web pages.
I think it makes a lot of sense to merge all of this into mdn/content and mdn/yari. But it's possible to do only parts of that too. E.g. leave the content in github.com/mdn/interactive-examples but use mdn/yari instead of mdn/bob.
Pros
CODEOWNERS
all figured out. In one place.{{InteractiveExamples('something-twhats-a-typo')}}
to avoid things like Issue with "RegExp.prototype.hasIndices": broken interactive example content#3784) rather than hoping it will workCons
index.{html|md}
files)Beta Was this translation helpful? Give feedback.
All reactions