mgeier/insipid-sphinx-theme

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

Opened this issue · 3 comments

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

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

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

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?