r-lib / downlit

Syntax Highlighting and Automatic Linking
https://downlit.r-lib.org
Other
90 stars 22 forks source link

Add pkgdown URL to DESCRIPTION #47

Closed maelle closed 4 years ago

maelle commented 4 years ago

ICYMI this can be useful :joy:

maelle commented 4 years ago

(this will break tests in my PR #40 so I'll need to edit them :woman_shrugging: )

hadley commented 4 years ago

Thanks! I made a note that we should automate this in https://github.com/r-lib/usethis/issues/224

maelle commented 4 years ago

could pkgdown itself also help with that? if it detects an url in the pkgdown config and can't find it in DESCRIPTION, maybe it could print a warning?

hadley commented 4 years ago

That feels out of scope for pkgdown to me, since it's not generally in the business of warning you about workflow issues.