{"action":"opened","issue":{"url":"https://api.github.com/repos/projectmallard/projectmallard.org/issues/30","labels_url":"https://api.github.com/repos/projectmallard/projectmallard.org/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/projectmallard/projectmallard.org/issues/30/comments","events_url":"https://api.github.com/repos/projectmallard/projectmallard.org/issues/30/events","html_url":"https://github.com/projectmallard/projectmallard.org/issues/30","id":85624752,"number":30,"title":"Allow external info links with href","user":{"login":"shaunix","id":3464614,"avatar_url":"https://avatars.githubusercontent.com/u/3464614?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunix","html_url":"https://github.com/shaunix","followers_url":"https://api.github.com/users/shaunix/followers","following_url":"https://api.github.com/users/shaunix/following{/other_user}","gists_url":"https://api.github.com/users/shaunix/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunix/subscriptions","organizations_url":"https://api.github.com/users/shaunix/orgs","repos_url":"https://api.github.com/users/shaunix/repos","events_url":"https://api.github.com/users/shaunix/events{/privacy}","received_events_url":"https://api.github.com/users/shaunix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T20:20:48Z","updated_at":"2015-06-05T20:20:48Z","closed_at":null,"body":"Currently, any info links have to be xref links to other pages or sections within the document (or potentially in a larger help system with an extended xref syntax). This goes for topic, guide, seealso, and next links, as well as any other links defined by extensions or future Mallard versions.\r\n\r\nSometimes it's useful to link to an external page within topic links or seealso links. We could allow this by allowing an href attribute on info link elements. But then we need a way to get information like title, desc, thumb, etc. So we could allow that information as child elements to the link element.\r\n\r\n```\r\n<info>\r\n  <link type=\"topic\" href=\"http://projectmallard.org/\">\r\n    <title>Mallard</title>\r\n    <desc>We built the help system.</desc>\r\n  </link>\r\n</info>\r\n```\r\n\r\nBasically, the contents of the link element are treated as if they're the contents of an info element for the thing you're linking to. This allows stuff like sort and text titles, revision info, etc. The current content model for info link elements is just external. Switching it to info contents, which allows external, shouldn't present any compatibility issues."}}