Integrations
/Other apps
/Github Star
Github Star
The GitHub Star integration adds a "Star" button to your page footer, allowing visitors to easily star your GitHub repository. This is a great way to encourage community support and increase your repository's visibility.
Configuration
To enable the GitHub Star integration, add the following configuration to your docs.json:
Reference
titlestringRequiredlabelstringhrefstringRequireddataShowCountbooleandataIconstringdataSizestringariaLabelstring
The title of the Github button
The label of the Github Button
The href of the Github project
The data-show-count of the Github project
The data-icon of the Github button
The data-size of the Github button
The aria-label of the Github button
Customization
You can customize the appearance and behavior of the GitHub Star button by modifying the configuration options. The button is rendered using the github-buttons package, which provides a consistent look and feel with GitHub's official star button.
Analyics
| Event name | Custom properties | Description |
|---|---|---|
docs.github_star.hover | - | When user hover a Github Star. |
docs.github_star.click | - | When user clicks a Github Star. |
Built with
Show your support! Star us on GitHub ⭐️