You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
This is definitely something I'd like to support. Jazzy uses a github_url setting, but I'd like to keep the amount of configuration to a minimum (however much of an uphill / losing battle that may be).
My current plan is to read the remotes from git to determine where the code is hosted publicly, and implement logic that route source location to URLs for the most popular websites (GitHub, GitLab, BitBucket, etc.) The advantage here is that we can use other information from git like the commit reference to provide permalinks, which won't break if methods move around between versions.
I think there was a discussion here somewhere about configs to allow swift-doc to become more configurable, but I don't remember PackageConfig being mentioned anywhere. So here's the link for posterity 🙂
I would like to have a link back to the GitHub repo from the docs.
Jazzy automatically shows a link in the top-right corner of the docs site if you specify the repo URL in their config: https://github.com/sindresorhus/KeyboardShortcuts/blob/498fcd6cc1562313b5e3aa97b35430cfb2c91292/.jazzy.yml#L2
Live example: https://sindresorhus.com/KeyboardShortcuts/
The text was updated successfully, but these errors were encountered: