{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1949","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1949/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1949/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1949/events","html_url":"https://github.com/gogits/gogs/pull/1949","id":116987140,"number":1949,"title":"Fix bad issue links in non-readme markdown files","user":{"login":"TheHowl","id":4681308,"avatar_url":"https://avatars.githubusercontent.com/u/4681308?v=3","gravatar_id":"","url":"https://api.github.com/users/TheHowl","html_url":"https://github.com/TheHowl","followers_url":"https://api.github.com/users/TheHowl/followers","following_url":"https://api.github.com/users/TheHowl/following{/other_user}","gists_url":"https://api.github.com/users/TheHowl/gists{/gist_id}","starred_url":"https://api.github.com/users/TheHowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheHowl/subscriptions","organizations_url":"https://api.github.com/users/TheHowl/orgs","repos_url":"https://api.github.com/users/TheHowl/repos","events_url":"https://api.github.com/users/TheHowl/events{/privacy}","received_events_url":"https://api.github.com/users/TheHowl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/14","html_url":"https://github.com/gogits/gogs/milestones/0.7.x","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/14/labels","id":1391993,"number":14,"title":"0.7.x","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":26,"state":"open","created_at":"2015-11-03T18:59:46Z","updated_at":"2015-11-15T20:05:02Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-15T11:05:44Z","updated_at":"2015-11-15T20:09:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/1949","html_url":"https://github.com/gogits/gogs/pull/1949","diff_url":"https://github.com/gogits/gogs/pull/1949.diff","patch_url":"https://github.com/gogits/gogs/pull/1949.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/156849206","html_url":"https://github.com/gogits/gogs/pull/1949#issuecomment-156849206","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1949","id":156849206,"user":{"login":"TheHowl","id":4681308,"avatar_url":"https://avatars.githubusercontent.com/u/4681308?v=3","gravatar_id":"","url":"https://api.github.com/users/TheHowl","html_url":"https://github.com/TheHowl","followers_url":"https://api.github.com/users/TheHowl/followers","following_url":"https://api.github.com/users/TheHowl/following{/other_user}","gists_url":"https://api.github.com/users/TheHowl/gists{/gist_id}","starred_url":"https://api.github.com/users/TheHowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheHowl/subscriptions","organizations_url":"https://api.github.com/users/TheHowl/orgs","repos_url":"https://api.github.com/users/TheHowl/repos","events_url":"https://api.github.com/users/TheHowl/events{/privacy}","received_events_url":"https://api.github.com/users/TheHowl/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T20:09:55Z","updated_at":"2015-11-15T20:09:55Z","body":"I've already written it in the comments of the source, but oh well.\r\n\r\n* Assume we have the documentation files in a sub folder of the root repo. Say, like in my case, in the `rfc/` folder.\r\n* In order to access them, we would navigate in the repository, find the files, and open them.\r\n* When opening a file, the URL looks like this: ![](http://y.zxq.co/goniiw.png)\r\n* If there is a link to an issue of the repository (e.g. ![](http://y.zxq.co/svfiix.png)), it should become a link to the issue in the repository.\r\n* What it actually does, though, is this: ![](http://y.zxq.co/gjvrxc.png)"}}