Fork Button Customization
About 112 wordsLess than 1 minute
Customize the Fork button appearance to make forking more engaging.
Use Cases
- Add a personalized description to the Fork button
- Attract users to fork your project through hover images, creating a friendly contribution atmosphere
Configuration
Add the fork configuration to .cnb/settings.yml:
.cnb/settings.yml
fork:
button:
description: Nice repo you've got. Now it's mine.
hoverImage: ".cnb/fork-hover.png"Parameter Reference
fork.button.description(string)The description text of the Fork button.
fork.button.hoverImage(string)Image displayed on hover. Supports repository relative path or raw URL, max 10MB.