Skip to content

Fix broken QEMU link - #888

Merged
phil-opp merged 1 commit into
phil-opp:masterfrom
JohnTitor:fix-qemu-link
Dec 11, 2020
Merged

Fix broken QEMU link#888
phil-opp merged 1 commit into
phil-opp:masterfrom
JohnTitor:fix-qemu-link

Conversation

@JohnTitor

Copy link
Copy Markdown
Contributor

Use specified version instead (it'd be great if Zola could ignore some paths on link-checker, I imagine).

@phil-opp

Copy link
Copy Markdown
Owner

Thanks!

it'd be great if Zola could ignore some paths on link-checker

It can and we're already using that feature:

blog_os/blog/config.toml

Lines 19 to 30 in e8f5ee9

[link_checker]
skip_prefixes = [
"https://crates.io/crates", # see https://github.com/rust-lang/crates.io/issues/788
"https://www.amd.com/system/files/TechDocs/", # seems to have problems with PDFs
"https://developer.apple.com/library/archive/qa/qa1118/_index.html", # results in a 401 (I don't know why)
"https://github.com", # rate limiting often leads to "Error 429 Too Many Requests"
"https://www.linkedin.com/", # seems to send invalid HTTP status codes
]
skip_anchor_prefixes = [
"https://github.com/", # see https://github.com/getzola/zola/issues/805
"https://docs.rs/x86_64/0.1.2/src/", # source code highlight
]

In general I try to check as many links as possible in order to prevent link-rot.

@phil-opp
phil-opp merged commit f6416c1 into phil-opp:master Dec 11, 2020
@JohnTitor
JohnTitor deleted the fix-qemu-link branch December 11, 2020 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants