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

Offline build broken since 2.1.0 #2829

Closed
camillemndn opened this issue Dec 4, 2024 · 1 comment
Closed

Offline build broken since 2.1.0 #2829

camillemndn opened this issue Dec 4, 2024 · 1 comment

Comments

@camillemndn
Copy link

Hi, since version 2.1.0, and more particularly #2249, offline build fail because the external dependencies are fetched at build time. Would there be a way to fix the offline build functionality? Thank you.

@jayhesselberth
Copy link
Collaborator

jayhesselberth commented Dec 4, 2024

Starting from a clean site and cache, you only need to build the site once (really just pkgdown::init_site()) while online, and then dependencies will be cached for future offline builds (until you run pkgdown::clean_cache())

The only way we could get offline to work independent of connectivity is to offer an alternative way to link to CDN, which is the issue #2249 fixed.

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

No branches or pull requests

2 participants