Repository navigation
Fix broken support links (bluetooth, webcam, UN3481 PDF) and redirect /steam - #1412
Merged
Merged
Conversation
They are sibling articles, so the relative paths need ../ to resolve.
The root-absolute /content/webcam.md link was never rewritten, use a relative path to the article instead.
PDFs under src/content are not published, so the link 404ed. Move it to public/pdfs and link it from there.
Old /support/articles/steam links end up at /support/steam, which no longer exists.
The images used root-absolute /images/... paths from the old site and 404ed. Use the article's relative img/ paths like other articles.
/pop/download/ is a redirect to /download-pop/.
/pop/download/ is a redirect to /download-pop/.
/pop/download/ is a redirect to /download-pop/.
The old support.system76.com/articles/live-disk link redirects twice before reaching the article.
The link text still showed the old support.system76.com/articles/ URLs, the hrefs were already correct.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 6 URLs that the Ahrefs Site Audit reports as 404.
Changes
other-accountsandlive-diskare sibling articles, so the links need../../other-accounts/index.mddidn't resolve to a file, so the link plugin skipped it and the raw.mdhref shipped./content/webcam.mdis root-absolute, which the link plugin ignores. It now links../webcam/index.md.src/contentaren't published, so the UN3481 battery label link 404ed. The PDF moves topublic/pdfs/and the link points at/support/pdfs/Li-Battery-Label-UN3481.pdf. The file is still an LFS pointer to the same object as before./support/articles/steamlinks are rewritten to/support/steamby the CloudFront function, but there is no Steam article any more. Adds an Astro redirect from/steamto/support/linux-gaming.Testing
pnpm buildbuilds 145 pages. Indist/:.md/.mdxhrefs remain, apart from 3 external GitHub links/support/link resolvesdist/pdfs/dist/steam/index.htmlredirects to/support/linux-gaming