Skip to content

PDF and EPUB links in dev build point to main site instead of dev version #1016

@profvjreddi

Description

@profvjreddi

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:

  1. Build the dev version of the site.
  2. Check the links for PDF and EPUB.
  3. 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.

Metadata

Metadata

Assignees

Labels

bugbug in renderingpdfbuildpdf rendering of book

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions