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

First copy reference files then build home #1977

Closed

Conversation

arkadiuszbeer
Copy link

If you have an image in README.md, then build_site will return a warning message on build_home function.

Warning message:
Missing images in 'README.md': 'reference/figures/image_name.png'
ℹ pkgdown can only use images in 'man/figures' and 'vignettes' 

build_reference function should be run before build_home function call.

@hadley
Copy link
Member

hadley commented Jan 6, 2022

I think a slightly better fix might be just to call copy_figures() in build_home_index(). It will potentially copy things twice but it's so fast that it won't matter.

@hadley hadley closed this in 8b2f4d0 Jan 6, 2022
Illustratien added a commit to Illustratien/toolPhD that referenced this pull request Oct 27, 2023
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.

2 participants