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
Be mindful of external references when breaking links #1838
Comments
|
Hum. That would explain lots of things... |
|
Could this be related to #1835 ? |
|
This is definitely related to this: |
|
And... It might have caused the Great Broken Link Explosion... #561 |
|
Could we maybe add a |
|
What is your suggestion in this case? Should we revert the change in .htaccess? Should we try and combine the two to see what happens? |
Debug attempt for #1838 We write search.js to html/js, but ever since assets were moved into being generated by an app[^1], this dir is gone from the repo, which causes `make html` fail to build search file. [1] f856a13ec12aa2abe0918
|
We should also try and have some test files for this. |
|
The original breakages are unfortunately long gone at this point. Going forward, we can do better to not break old links, and the new raku/doc-website will have a link checker available, and hopefully we can also track web server log info and track 404s so we can fix breakages sooner. |

I noticed a commit fixed some links that are 404s and I clearly remembered using those links recently-ish, but I can't remember where exactly. It could've been a blog post, a response on social media, or an email. Regardless of what it was, those links are now broken due to some changes to our site.
We should be more mindful when changing links. If we're to fulfill the Vision for the site, we can't continually break 3rd party communications and content (especially tutorials, blogs, videos, and books).
That point should be made in the contributing guide and some common forms of links should probably be tested (e.g.
/type/and/routine/links). For example, https://docs.perl6.org/type/Proc$COLON$COLONAsync used to be a working link and I even remember adding.htaccessrewrite rules to keep that form working when we got rid of$COLONstuff in URLs. However, it appears a more recent commit to.htaccessbroke those rewritesI ran a small Perl 6 one liner over the content of my 2-year old blog and these links turned up as broken:
The pages for https://docs.perl6.org/syntax/CONTROL and https://docs.perl6.org/syntax/LEAVE now require a space before the keyword so those two along with the
$COLONstuff looks to me like accidental breakage of external links that should've been caught by something IMO.The text was updated successfully, but these errors were encountered: