{"action":"opened","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/689","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/689/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/689/events","html_url":"https://github.com/borgbackup/borg/issues/689","id":135445820,"number":689,"title":"Documentation: \"Edit on GitHub\" link broken","user":{"login":"dannyedel","id":782418,"avatar_url":"https://avatars.githubusercontent.com/u/782418?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyedel","html_url":"https://github.com/dannyedel","followers_url":"https://api.github.com/users/dannyedel/followers","following_url":"https://api.github.com/users/dannyedel/following{/other_user}","gists_url":"https://api.github.com/users/dannyedel/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyedel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyedel/subscriptions","organizations_url":"https://api.github.com/users/dannyedel/orgs","repos_url":"https://api.github.com/users/dannyedel/repos","events_url":"https://api.github.com/users/dannyedel/events{/privacy}","received_events_url":"https://api.github.com/users/dannyedel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T15:07:17Z","updated_at":"2016-02-22T15:07:17Z","closed_at":null,"body":"In the online documentation, the \"Edit on GitHub\" (top right corner) link appears to be broken.\r\n\r\nExample link:\r\n\r\nhttps://borgbackup.readthedocs.org/en/stable/installation.html refers to https://github.com/borgbackup/borg/blob/ec547402300e53728fb53bc20732049e63ef29c3/docs/installation.rst which is 404.\r\n\r\nOn my local clone, this is the sha *of the gpg-signed tag object*, not of the underlying commit, which is cd6044e85ca45929b02a080f7982841187367e4f.\r\n\r\nThe `latest` branch does not have this issue (it hardcodes \"master\" into the pathname).\r\n\r\n**Possible fix**: If I use the tag's name instead of the sha, the link works as intended:\r\n\r\nhttps://github.com/borgbackup/borg/blob/0.30.1/docs/installation.rst\r\n\r\nIf it's not possible to change the link target, then maybe disable the link on release builds, a 404 helps nobody to contribute."}}