-
Notifications
You must be signed in to change notification settings - Fork 105
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
Broken Links #444
Comments
Also, if I've found typos in the docs, how do I report them? If I open an issue, is a typo a bug? (everything's still working, but I'm not advocating for something new either.) |
Yep, some links are all broken, especially the getting-started one. |
Thanks @sambensim, I will assign you on this. Please feel free to open an pull request with the links fixed. Thanks @Haiz14 for raising the issue about the 'Get started' link, it should be at https://p5js.org/tutorials/get-started. Could you let us know where the links are broken? |
- Fixed 6 links as outlined in Issue processing#444. - Additionally fixed a typo in the second to last paragraph (changed from "there are many more ways to contribute to p5.js through non-source code contribution than can be exhaustively listed here" to "there are many more ways to contribute to p5.js through non-source code contribution than ***cannot*** be exhaustively listed here")
Hi, I found a broken link too. Not sure if it's better to open a new issue or add it here, following the subject... |
A lot of Google's search results still use the old site's links, they are not broken so I suppose why they aren't updated yet a quick redirect in the JS would be helpful example: |
Hi all, thanks for listing all the broken links. This is related to issue #461. To share some context: all the pages included in p5js.org/contribute are generated directly from the contributor_docs folder within p5.js library GitHub repo. So there are two types of links for one documentation, below are two examples:
The .md extension in some link path causes some known broken link issues. We think that all links in the documentations, including all the pages in p5js.org/contribute and their source md files in the contributor_docs folder in p5.js library GitHub repo, will go to the website page link, not GitHub library contributor_docs link. So if we fix the links, we'd fix the link in both p5js.org/contribute and the contributor_docs folder, to keep everything in sync. @davepagurek @limzykenneth We discussed before that we could potentially solve this with some scripts. Before the automation script is done, would it make sense to assign some interested contributors to fix the broken links manually? If so, different contributors can take on fixing links in different docs to better organize the effort. |
There are going to be lots and lots of links in the old format around the web in places that we do not control. What should be done is to redirect the legacy URLs to new version. Ideally the server would return a 301 moved permanently code. Astro does support redirects: https://docs.astro.build/en/guides/routing/#redirects, though I'm not sure if the
|
I suspect as long as we're serving a static GitHub Pages site, we'll need to do this via JavaScript. It looks like the way Astro does redirects in static mode is by outputting HTML files for each source page that includes a Your js snippet looks like just what we need though! It could probably be added right into the reference index layout. |
Most links reported here that I've checked seems to be fixed now, if there are any that are still missed, please report in #527. For other feature requests not immediately about reporting broken links found, please open a new issue. Thanks. |
Most appropriate sections of the p5.js website?
Contribute
What is your operating system?
Mac OS
Web browser and version
126.0.6478.126 (Official Build) (arm64)
Actual Behavior
Various links on the Contribute page are broken (lead to "page not found")
Starting here:
Expected Behavior
To be taken to the correct page:
Steps to reproduce
Would you like to work on the issue?
Yes (but I think it'll take like 3 secs so idc)
The text was updated successfully, but these errors were encountered: