{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/20","repository_url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang","labels_url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/20/comments","events_url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/20/events","html_url":"https://github.com/JuliaTokyo/julia-wakalang/issues/20","id":297381842,"number":20,"title":"ドキュメントを文字列として取得したい","user":{"login":"machakann","id":480049,"avatar_url":"https://avatars2.githubusercontent.com/u/480049?v=4","gravatar_id":"","url":"https://api.github.com/users/machakann","html_url":"https://github.com/machakann","followers_url":"https://api.github.com/users/machakann/followers","following_url":"https://api.github.com/users/machakann/following{/other_user}","gists_url":"https://api.github.com/users/machakann/gists{/gist_id}","starred_url":"https://api.github.com/users/machakann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machakann/subscriptions","organizations_url":"https://api.github.com/users/machakann/orgs","repos_url":"https://api.github.com/users/machakann/repos","events_url":"https://api.github.com/users/machakann/events{/privacy}","received_events_url":"https://api.github.com/users/machakann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T09:43:39Z","updated_at":"2018-02-15T10:29:45Z","closed_at":null,"author_association":"NONE","body":"REPL の help モードで出力されるドキュメント (`help?> {keyword}`) を文字列で取得する方法はないでしょうか？\r\n\r\n動機としては編集中にエディタの中でドキュメントをチェックしたい、というものなので文字列で取得できなくとも標準出力あたりに出してくれれば取れそうな気がします。昔のバージョン (0.3 ぐらい?) には `help()` って関数があった気がするんですがなくなったみたいです。"},"comment":{"url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/comments/365886203","html_url":"https://github.com/JuliaTokyo/julia-wakalang/issues/20#issuecomment-365886203","issue_url":"https://api.github.com/repos/JuliaTokyo/julia-wakalang/issues/20","id":365886203,"user":{"login":"yomichi","id":3166115,"avatar_url":"https://avatars0.githubusercontent.com/u/3166115?v=4","gravatar_id":"","url":"https://api.github.com/users/yomichi","html_url":"https://github.com/yomichi","followers_url":"https://api.github.com/users/yomichi/followers","following_url":"https://api.github.com/users/yomichi/following{/other_user}","gists_url":"https://api.github.com/users/yomichi/gists{/gist_id}","starred_url":"https://api.github.com/users/yomichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomichi/subscriptions","organizations_url":"https://api.github.com/users/yomichi/orgs","repos_url":"https://api.github.com/users/yomichi/repos","events_url":"https://api.github.com/users/yomichi/events{/privacy}","received_events_url":"https://api.github.com/users/yomichi/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T10:29:45Z","updated_at":"2018-02-15T10:29:45Z","author_association":"NONE","body":"`ret = @doc sin` とかやれば取得できます。\r\n返ってくるのはただの`String` ではない（`Base.Markdown.MD`）ですが、とりあえず v0.6 なら `ret.content` とすれば `String` になります。"}}
{"actor":{"display_login":"yomichi"}}