GitHub Links for other git providers #11400
Closed
sceptri
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Thanks for the interest, but this is a duplicate. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Right now, one can use the Website Navigation feature
repo-actions
to add GitHub links to the page sidebar. Although one can specify the repo URL, the links always follow the GitHub naming scheme, e.g. for "View source" we have:https://github.com/<user>/<repo>/blob/<branch>/<filename>
A similar feature would be handy for e.g. GitLab, Forgejo (Codeberg), which would look like this:
https://gitlab.com/<user>/<repo>/-/blob/<branch>/<filename>
https://codeberg.org/<user>/<repo>/src/branch/<branch>/<filename>
This could surely be done with some string formatting (or maybe in some cleaner way)
Beta Was this translation helpful? Give feedback.
All reactions