quarto-dev / quarto-dev/quarto-cli
Quarto should error or warn on broken links
Open
@cscheid is already working on this.
Since Nov 15, 2022.
enhancement
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Is it currently possible to get quarto to error on broken links, instead of just warning about them, even if this is opt-in? Having it exit successfully when there are broken cross-links like this makes it harder to include quarto in automated workflows. Especially if multiple people are working on a site, it can mean that these breakages go unnoticed.
Related: https://github.com/r-lib/urlchecker/issues/27
even if it doesn’t error, it would be super useful to print all the broken links at the very end of building a book
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.