-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[R-package] Add R logo (fixes #3331, #3332) #3336
Conversation
@StrikerRUS I created this as a LightGBM branch so we can test on readthedocs. Could you enable the build there? |
Sure! Just enabled. |
huh, never saw that before. Looking into it. Since that problem doesn't seem isolated to a particular operating system, R version, or build type, I would be surprised to learn that it's related to the changes in #3335 |
I think we should add |
I did add the SVG there, but for the |
This was just reported on the https://stat.ethz.ch/pipermail/r-package-devel/2020q3/005928.html |
I'm able to reproduce the time problem on my laptop too. If it is still a problem a few hours from now, I'll just bump the number of allowed checks so our CI can passs. We shouldn't stop all development on LightGBM just because R doesn't know what time it is 😂 |
OK, I see. Seems there is no room for logo path customization. But at least, according to this, logo can be in SVG: |
yep! It can be but it doesn't have to be. I've generated the favicons once from |
Ah, no, I think there is no difference from which source those tiny images were generated. I meant place svg in |
oh I see! Ok I can do that right now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WOO awesome! |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
This PR introduces a hex logo for the R package! (#3331) These logos are very popular in the R community (see, for example, https://github.com/rstudio/hex-stickers). Thanks to @guolinke for generating these logos.
It adds this file in
man/figures/logo.png
, the preferred place recognized by{pkgdown}
.Following @StrikerRUS 's suggestion in #3327 (comment), I also generated favicons for the site using
pkgdown::build_favicons()
(#3332).{pkgdown}
site looks good (if you squint you can see the favicon in the tab)and this renders nicely in GitHub too!