Skip to content

Conversation

shreve
Copy link
Contributor

@shreve shreve commented Jun 4, 2025

By putting the HTML file in the same location as the notebook, any
relative file paths correctly resolve. This change saves us from needing
to convert relative paths to absolute.

This slightly changes behavior by creating the temp file in the user's
working directory. We already make sure we delete this temp file, and by
adding the ".webpdf-" prefix to make it hidden, less-technical users
should never see this file at all.

By putting the HTML file in the same location as the notebook, any
relative file paths correctly resolve. This change saves us from needing
to convert relative paths to absolute.

This slightly changes behavior by creating the temp file in the user's
working directory. We already make sure we delete this temp file, and by
adding the ".webpdf-" prefix to make it hidden, less-technical users
should never see this file at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant