I realized that when the dev build is built, the links for the PDF and EPUB are actually pointing to the main site and not the dev version. This could lead to mistaken assumptions that everything is working correctly on the dev build, when in fact the links are not valid for the development environment.
Dev
Steps to reproduce:
- Build the dev version of the site.
- Check the links for PDF and EPUB.
- Notice that they point to the main site, not the dev build output.
Expected behavior:
Links in the dev build should point to the dev version of the PDF and EPUB, not the main site.
Impact:
This makes it easy to miss issues with the dev build's PDF/EPUB output.
Suggested fix:
Update the build logic so that links in the dev environment point to dev artifacts.