{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12088","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12088/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12088/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12088/events","html_url":"https://github.com/JuliaLang/julia/pull/12088","id":94134333,"number":12088,"title":"Implement expression matching and use it in the doc system","user":{"login":"one-more-minute","id":2234614,"avatar_url":"https://avatars.githubusercontent.com/u/2234614?v=3","gravatar_id":"","url":"https://api.github.com/users/one-more-minute","html_url":"https://github.com/one-more-minute","followers_url":"https://api.github.com/users/one-more-minute/followers","following_url":"https://api.github.com/users/one-more-minute/following{/other_user}","gists_url":"https://api.github.com/users/one-more-minute/gists{/gist_id}","starred_url":"https://api.github.com/users/one-more-minute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/one-more-minute/subscriptions","organizations_url":"https://api.github.com/users/one-more-minute/orgs","repos_url":"https://api.github.com/users/one-more-minute/repos","events_url":"https://api.github.com/users/one-more-minute/events{/privacy}","received_events_url":"https://api.github.com/users/one-more-minute/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/decision","name":"decision","color":"F08000"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/docsystem","name":"docsystem","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-07-09T19:34:38Z","updated_at":"2015-07-10T16:38:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12088","html_url":"https://github.com/JuliaLang/julia/pull/12088","diff_url":"https://github.com/JuliaLang/julia/pull/12088.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12088.patch"},"body":"This is a reasonably chunky addition to Base, but I think it's well worth it for the improvements it provides for the doc system macros – and I'm sure there are other areas where it would be useful as well.\r\n\r\nIt's now crystal clear what syntax is supported by the `@doc` macro, and what ends up doing what. I've also had a crack at doing #11850 – so between the two improvements, adding any new syntax we want should be very safe/easy from now on.\r\n\r\n~~Edit: Now have also implemented documentation for bindings themselves, as opposed to their values. We get a slicker way to get at macro expanders for free via `@var(@time)[]`.~~"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/120454733","html_url":"https://github.com/JuliaLang/julia/pull/12088#issuecomment-120454733","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12088","id":120454733,"user":{"login":"one-more-minute","id":2234614,"avatar_url":"https://avatars.githubusercontent.com/u/2234614?v=3","gravatar_id":"","url":"https://api.github.com/users/one-more-minute","html_url":"https://github.com/one-more-minute","followers_url":"https://api.github.com/users/one-more-minute/followers","following_url":"https://api.github.com/users/one-more-minute/following{/other_user}","gists_url":"https://api.github.com/users/one-more-minute/gists{/gist_id}","starred_url":"https://api.github.com/users/one-more-minute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/one-more-minute/subscriptions","organizations_url":"https://api.github.com/users/one-more-minute/orgs","repos_url":"https://api.github.com/users/one-more-minute/repos","events_url":"https://api.github.com/users/one-more-minute/events{/privacy}","received_events_url":"https://api.github.com/users/one-more-minute/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T16:38:49Z","updated_at":"2015-07-10T16:38:49Z","body":"@MichaelHatherly FYI, I stripped the binding bits out of this to simplify it for review, but those changes are up on [this branch](https://github.com/JuliaLang/julia/tree/omm/doc-bindings) if you want to play around with them – it was working really nicely when I used it and it'd probably make sense to move macros to using it too."}}