brad-cannell / r4epi

Repository for the R for Epidemiology book
http://www.r4epi.com/
Other
18 stars 50 forks source link

Figure out how to automatically check for broken links #95

Open mbcann01 opened 1 year ago

mbcann01 commented 1 year ago

Overview

I'd like to implement some kind of automatic checks for broken links in the book. There is an open issue requesting an automatic URL checker on Quarto's GitHub. That GitHub thread also recommends this website for doing manual checks.

Currently, I'm using the Test Quarto Book to experiment.

Left off at

Still looking for an automated solution. Try continuous integration?

Tasks

mbcann01 commented 1 year ago

The reason the "Edit page on Github" links weren't working was...

  1. I was passing the wrong URL to the repo-url parameter of _quarto.yml.
  2. After I fixed the URL, I ran quarto publish gh-pages before committing and pushing the changes up to the GitHub repo.