Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to address broken boilerplate links #1153

Merged
merged 4 commits into from
Mar 5, 2021

Conversation

bomanimc
Copy link
Member

Fixes #718.

We've received a few different issues related to the broken boilerplate links in our site, which come from the fact that we deprecated the ml5-boilerplate repo in 2019.

This PR adds back in the boilerplate by adding them to this repo as examples, which can be viewed live on the examples site or can be shared via GitHub to see the code. For the p5.js boilerplate, we'd typically add a link to the web editor, but I'm going to follow-up to add that once we've been able to deploy an update to our examples (see processing/p5.js-web-editor#1773 for some conversation about the process for updating p5.js web editor examples).

@bomanimc
Copy link
Member Author

Actually, I can just add this example manually! I almost forgot about that option 😂. I'll update this PR to include the web editor link shortly.

@bomanimc
Copy link
Member Author

I added this sketch manually to our account (https://editor.p5js.org/ml5/sketches/qqhYX2QmN), but the URL doesn't work with our current naming convention. I'm unfortunately not sure how to give a web editor sketch a custom URL; anyone have insight on this? For now, I'll add the current link into the docs, but the link to the web editor on the examples site will remain broken for now.

We should probably create a way to special-case links on the examples site so we have more flexibility, but that's something we can consider in a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Website] Link on website is outdated.
2 participants