{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/64","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/64/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/64/events","html_url":"https://github.com/silverstripe/silverstripe-docsviewer/pull/64","id":70600557,"number":64,"title":"API Use canonical URL for all repositories","user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T06:25:04Z","updated_at":"2015-04-27T23:16:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/pulls/64","html_url":"https://github.com/silverstripe/silverstripe-docsviewer/pull/64","diff_url":"https://github.com/silverstripe/silverstripe-docsviewer/pull/64.diff","patch_url":"https://github.com/silverstripe/silverstripe-docsviewer/pull/64.patch"},"body":"Fixes https://github.com/silverstripe/silverstripe-docsviewer/issues/60\r\n\r\nRather than omitting the version number for the default stable branch, instead redirect from that url to the canonical version.\r\n\r\nThis would ensure that no existing stable links are broken, but ensuring that bookmarks for any page use the canonical url. If this were not the case, a page /en/my/subject would suddenly point to a different page when the next stable release version is made.\r\n\r\nThis means that we can publish links to pages in the docs, and be sure that the url of that page will not change when each release is made.\r\n\r\n@camfindlay Once this is fixed I will update docs.silverstripe.org, and release a fix to the broken changelog links issue in silverstripe.org."},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/comments/96847160","html_url":"https://github.com/silverstripe/silverstripe-docsviewer/pull/64#issuecomment-96847160","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-docsviewer/issues/64","id":96847160,"user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T23:16:00Z","updated_at":"2015-04-27T23:16:00Z","body":"Doh, I did run all the unit tests locally first. I'll fix up."}}