berkeley-cdss / course-site-myst

A MyST-based course website template
0 stars 1 forks source link

`schedule.yml` link location #8

Open rgiordan opened 10 months ago

rgiordan commented 10 months ago

Right now, the links for schedule.yml point to the root of the repo, not the _build directory. For example, the current

auxil:
            id: 'Note 1'
            href: './unit1.html'

...gives a missing file error when you click on "Unit 1," but when you change to href: '_build/html/unit1.html' it works.

Linking to _build/html/ is fine, but we should change the template. If there's a nice way to make _build/html the root directory for schedule.yml that would be even better.

rgiordan commented 10 months ago

Actually, the _build/html/unit1.html looks terrible. The right fix is actually to link directly to href: './unit1.md'. I think we only need to update the template.