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

images broken if using relative urls #19

Closed
robbriers opened this issue Jun 25, 2019 · 3 comments
Closed

images broken if using relative urls #19

robbriers opened this issue Jun 25, 2019 · 3 comments

Comments

@robbriers
Copy link

If relative URLS are used to link to images in README.md or index.md then they are broken when rendered to docs.ropensci.org

example: https://docs.ropensci.org/tidyhydat/

@jeroen
Copy link
Contributor

jeroen commented Jun 27, 2019

🤔 Is this a bug in the template? Does does not happen for pkgdown with the standard template?

@hadley
Copy link

hadley commented Jun 27, 2019

pkgdown only supports images in a few locations since only a few locations also work with CRAN's rendering of readmes. tools/ is not one of those locations. Use man/figures for images.

@jeroen
Copy link
Contributor

jeroen commented Jun 27, 2019

@robbriers can you try moving your images to man/figures and see if that fixes your docs?

@jeroen jeroen closed this as completed Aug 23, 2019
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

3 participants