Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 Fix CI: PDF Generation Error #98

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

ebouchut
Copy link
Contributor

@ebouchut ebouchut commented Nov 12, 2024

TLDR; This PR fixes the build script (deploy.yml) which now creates the PDF.

A remote font could not be loaded because it was on a different domain (CORS error).

📚 See Issue #97 for a detailed explanation of the error, cause, and solution.

Fixes #97

No longer load Mathjax JS from Unpkg but Cloudflare.
This fixes nightscout#97 and loads a minified JS which is lightweight.
@ebouchut ebouchut force-pushed the fix/pdf_generation_error branch from c43b0f8 to ab35134 Compare November 12, 2024 13:56
Copy link
Contributor Author

@ebouchut ebouchut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mkdocs.yml Show resolved Hide resolved
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.

💔 GitHub Action Workflow fails to generate a PDF
1 participant