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

Make repo link a separate component to allow using GitHub buttons #2811

Open
epoberezkin opened this issue Mar 6, 2021 · 0 comments
Open

Comments

@epoberezkin
Copy link

Feature request

What problem does this feature solve?

Replacing repo link in Navbar with some GitHub button (star, fork. etc.)

What does the proposed API look like?

2 options possible:

  1. No api change for theme users
  2. theme config allowing to chose GitHub button parameter (can be a separate change)

How should this be implemented in your opinion?

  1. Make repo link in NavLinks a separate component (say RepoLink - let me know what name you prefer) so that inherited theme can redefine it to use GitHub buttons (star, fork, etc.).
  2. Additionally, add GitHub button component and use it based on configuration.

Are you willing to work on this yourself?

Yes for option 1, possibly later on option 2.

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

1 participant