{"action":"closed","number":198,"pull_request":{"url":"https://api.github.com/repos/spf13/cobra/pulls/198","id":51595819,"html_url":"https://github.com/spf13/cobra/pull/198","diff_url":"https://github.com/spf13/cobra/pull/198.diff","patch_url":"https://github.com/spf13/cobra/pull/198.patch","issue_url":"https://api.github.com/repos/spf13/cobra/issues/198","number":198,"state":"closed","locked":false,"title":"Issue #195: Move doc generation into separate pkg","user":{"login":"magiconair","id":229005,"avatar_url":"https://avatars.githubusercontent.com/u/229005?v=3","gravatar_id":"","url":"https://api.github.com/users/magiconair","html_url":"https://github.com/magiconair","followers_url":"https://api.github.com/users/magiconair/followers","following_url":"https://api.github.com/users/magiconair/following{/other_user}","gists_url":"https://api.github.com/users/magiconair/gists{/gist_id}","starred_url":"https://api.github.com/users/magiconair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiconair/subscriptions","organizations_url":"https://api.github.com/users/magiconair/orgs","repos_url":"https://api.github.com/users/magiconair/repos","events_url":"https://api.github.com/users/magiconair/events{/privacy}","received_events_url":"https://api.github.com/users/magiconair/received_events","type":"User","site_admin":false},"body":"* Move man_docs and md_docs into new doc pkg\r\n* Replace *bytes.Buffer with io.Writer\r\n* Replace c == cmd.helpCommand with c.IsHelpCommand()\r\n* Remove redundant len(children) == 0 check in HasSeeAlso\r\n* Duplicate test setup for doc generation\r\n* Move byName sorter into doc_utils since it is used by both man and md","created_at":"2015-11-23T23:22:57Z","updated_at":"2015-12-24T14:02:29Z","closed_at":"2015-12-24T14:02:29Z","merged_at":null,"merge_commit_sha":"893f9e247b830796fb38a125261d2bc34a2c70fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spf13/cobra/pulls/198/commits","review_comments_url":"https://api.github.com/repos/spf13/cobra/pulls/198/comments","review_comment_url":"https://api.github.com/repos/spf13/cobra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/cobra/issues/198/comments","statuses_url":"https://api.github.com/repos/spf13/cobra/statuses/90aa777933a99faa60e4a875b4eee69cee1a02f8","head":{"label":"magiconair:issue-195-docgen-pkg","ref":"issue-195-docgen-pkg","sha":"90aa777933a99faa60e4a875b4eee69cee1a02f8","user":{"login":"magiconair","id":229005,"avatar_url":"https://avatars.githubusercontent.com/u/229005?v=3","gravatar_id":"","url":"https://api.github.com/users/magiconair","html_url":"https://github.com/magiconair","followers_url":"https://api.github.com/users/magiconair/followers","following_url":"https://api.github.com/users/magiconair/following{/other_user}","gists_url":"https://api.github.com/users/magiconair/gists{/gist_id}","starred_url":"https://api.github.com/users/magiconair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiconair/subscriptions","organizations_url":"https://api.github.com/users/magiconair/orgs","repos_url":"https://api.github.com/users/magiconair/repos","events_url":"https://api.github.com/users/magiconair/events{/privacy}","received_events_url":"https://api.github.com/users/magiconair/received_events","type":"User","site_admin":false},"repo":{"id":46753760,"name":"cobra","full_name":"magiconair/cobra","owner":{"login":"magiconair","id":229005,"avatar_url":"https://avatars.githubusercontent.com/u/229005?v=3","gravatar_id":"","url":"https://api.github.com/users/magiconair","html_url":"https://github.com/magiconair","followers_url":"https://api.github.com/users/magiconair/followers","following_url":"https://api.github.com/users/magiconair/following{/other_user}","gists_url":"https://api.github.com/users/magiconair/gists{/gist_id}","starred_url":"https://api.github.com/users/magiconair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magiconair/subscriptions","organizations_url":"https://api.github.com/users/magiconair/orgs","repos_url":"https://api.github.com/users/magiconair/repos","events_url":"https://api.github.com/users/magiconair/events{/privacy}","received_events_url":"https://api.github.com/users/magiconair/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magiconair/cobra","description":"A Commander for modern Go CLI interactions","fork":true,"url":"https://api.github.com/repos/magiconair/cobra","forks_url":"https://api.github.com/repos/magiconair/cobra/forks","keys_url":"https://api.github.com/repos/magiconair/cobra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magiconair/cobra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magiconair/cobra/teams","hooks_url":"https://api.github.com/repos/magiconair/cobra/hooks","issue_events_url":"https://api.github.com/repos/magiconair/cobra/issues/events{/number}","events_url":"https://api.github.com/repos/magiconair/cobra/events","assignees_url":"https://api.github.com/repos/magiconair/cobra/assignees{/user}","branches_url":"https://api.github.com/repos/magiconair/cobra/branches{/branch}","tags_url":"https://api.github.com/repos/magiconair/cobra/tags","blobs_url":"https://api.github.com/repos/magiconair/cobra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magiconair/cobra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magiconair/cobra/git/refs{/sha}","trees_url":"https://api.github.com/repos/magiconair/cobra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magiconair/cobra/statuses/{sha}","languages_url":"https://api.github.com/repos/magiconair/cobra/languages","stargazers_url":"https://api.github.com/repos/magiconair/cobra/stargazers","contributors_url":"https://api.github.com/repos/magiconair/cobra/contributors","subscribers_url":"https://api.github.com/repos/magiconair/cobra/subscribers","subscription_url":"https://api.github.com/repos/magiconair/cobra/subscription","commits_url":"https://api.github.com/repos/magiconair/cobra/commits{/sha}","git_commits_url":"https://api.github.com/repos/magiconair/cobra/git/commits{/sha}","comments_url":"https://api.github.com/repos/magiconair/cobra/comments{/number}","issue_comment_url":"https://api.github.com/repos/magiconair/cobra/issues/comments{/number}","contents_url":"https://api.github.com/repos/magiconair/cobra/contents/{+path}","compare_url":"https://api.github.com/repos/magiconair/cobra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magiconair/cobra/merges","archive_url":"https://api.github.com/repos/magiconair/cobra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magiconair/cobra/downloads","issues_url":"https://api.github.com/repos/magiconair/cobra/issues{/number}","pulls_url":"https://api.github.com/repos/magiconair/cobra/pulls{/number}","milestones_url":"https://api.github.com/repos/magiconair/cobra/milestones{/number}","notifications_url":"https://api.github.com/repos/magiconair/cobra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magiconair/cobra/labels{/name}","releases_url":"https://api.github.com/repos/magiconair/cobra/releases{/id}","created_at":"2015-11-23T23:12:46Z","updated_at":"2015-11-23T23:12:47Z","pushed_at":"2015-11-24T00:52:31Z","git_url":"git://github.com/magiconair/cobra.git","ssh_url":"git@github.com:magiconair/cobra.git","clone_url":"https://github.com/magiconair/cobra.git","svn_url":"https://github.com/magiconair/cobra","homepage":"","size":426,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"b167d9beaa463cfb33a22bda30e8aa043b77eb5c","user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"repo":{"id":12574344,"name":"cobra","full_name":"spf13/cobra","owner":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spf13/cobra","description":"A Commander for modern Go CLI interactions","fork":false,"url":"https://api.github.com/repos/spf13/cobra","forks_url":"https://api.github.com/repos/spf13/cobra/forks","keys_url":"https://api.github.com/repos/spf13/cobra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spf13/cobra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spf13/cobra/teams","hooks_url":"https://api.github.com/repos/spf13/cobra/hooks","issue_events_url":"https://api.github.com/repos/spf13/cobra/issues/events{/number}","events_url":"https://api.github.com/repos/spf13/cobra/events","assignees_url":"https://api.github.com/repos/spf13/cobra/assignees{/user}","branches_url":"https://api.github.com/repos/spf13/cobra/branches{/branch}","tags_url":"https://api.github.com/repos/spf13/cobra/tags","blobs_url":"https://api.github.com/repos/spf13/cobra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spf13/cobra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spf13/cobra/git/refs{/sha}","trees_url":"https://api.github.com/repos/spf13/cobra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spf13/cobra/statuses/{sha}","languages_url":"https://api.github.com/repos/spf13/cobra/languages","stargazers_url":"https://api.github.com/repos/spf13/cobra/stargazers","contributors_url":"https://api.github.com/repos/spf13/cobra/contributors","subscribers_url":"https://api.github.com/repos/spf13/cobra/subscribers","subscription_url":"https://api.github.com/repos/spf13/cobra/subscription","commits_url":"https://api.github.com/repos/spf13/cobra/commits{/sha}","git_commits_url":"https://api.github.com/repos/spf13/cobra/git/commits{/sha}","comments_url":"https://api.github.com/repos/spf13/cobra/comments{/number}","issue_comment_url":"https://api.github.com/repos/spf13/cobra/issues/comments{/number}","contents_url":"https://api.github.com/repos/spf13/cobra/contents/{+path}","compare_url":"https://api.github.com/repos/spf13/cobra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spf13/cobra/merges","archive_url":"https://api.github.com/repos/spf13/cobra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spf13/cobra/downloads","issues_url":"https://api.github.com/repos/spf13/cobra/issues{/number}","pulls_url":"https://api.github.com/repos/spf13/cobra/pulls{/number}","milestones_url":"https://api.github.com/repos/spf13/cobra/milestones{/number}","notifications_url":"https://api.github.com/repos/spf13/cobra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spf13/cobra/labels{/name}","releases_url":"https://api.github.com/repos/spf13/cobra/releases{/id}","created_at":"2013-09-03T20:40:26Z","updated_at":"2015-12-23T15:11:07Z","pushed_at":"2015-12-24T14:02:09Z","git_url":"git://github.com/spf13/cobra.git","ssh_url":"git@github.com:spf13/cobra.git","clone_url":"https://github.com/spf13/cobra.git","svn_url":"https://github.com/spf13/cobra","homepage":"","size":563,"stargazers_count":1431,"watchers_count":1431,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"open_issues_count":17,"forks":139,"open_issues":17,"watchers":1431,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/cobra/pulls/198"},"html":{"href":"https://github.com/spf13/cobra/pull/198"},"issue":{"href":"https://api.github.com/repos/spf13/cobra/issues/198"},"comments":{"href":"https://api.github.com/repos/spf13/cobra/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/cobra/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/cobra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/cobra/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/cobra/statuses/90aa777933a99faa60e4a875b4eee69cee1a02f8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":203,"deletions":81,"changed_files":9}}