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

[Feature Request] repo-button.html: add generic Gitweb button #152

Open
CyberTailor opened this issue Nov 25, 2023 · 3 comments
Open

[Feature Request] repo-button.html: add generic Gitweb button #152

CyberTailor opened this issue Nov 25, 2023 · 3 comments

Comments

@CyberTailor
Copy link

For repositories, which canonical url points to Gitweb/Cgit/Gitea/et cetera

@mgeier
Copy link
Owner

mgeier commented Nov 29, 2023

Thanks for the suggestion!

I think there are no icons for that in Font-Awesome, though.
I only found this: FortAwesome/Font-Awesome#13274

But if you have your own icon, it's really easy to override the repo-button.html template, see https://insipid-sphinx-theme.readthedocs.io/en/0.4.2/customization.html#custom-templates

@CyberTailor
Copy link
Author

I this a generic VCS icon would be good for that purpose. Like
https://fontawesome.com/icons/git-alt
or
https://fontawesome.com/icons/code-branch

@mgeier
Copy link
Owner

mgeier commented Dec 2, 2023

OK, I see.

I think in this case it is more straightforward to overwrite the repo-button.html with a custom URL and icon.
I have created some documentation for that: #154.

You can probably provide a better example href and title?

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

2 participants