{"action":"created","comment":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/comments/36771355","id":36771355,"diff_hunk":"@@ -63,15 +63,17 @@ defmodule ExDoc.CLI do\n       PROJECT            Project name\n       VERSION            Version number\n       BEAMS              Path to compiled beam files\n-      -o, --output       Path to output docs, default: docs\n-      --readme           Path to README.md file to generate a project README, default: nil\n-      -f, --formatter    Docs formatter to use; default: html\n+      -o, --output       Path to output docs, default: \"doc\"\n+      --readme           Path to README.md file to generate a project README, default: `nil`\n+      -f, --formatter    Docs formatter to use, default: \"html\"\n       -c, --config       Path to the formatter's config file\n-      -r, --source-root  Path to the source code root, default: .\n+      -r, --source-root  Path to the source code root, default: \".\"\n       -u, --source-url   URL to the source code\n-      --source-ref       Branch/commit/tag used for source link inference, default: master\n-      -m, --main         The main, entry-point module in docs\n+      --source-ref       Branch/commit/tag used for source link inference, default: \"master\"\n+      -m, --main         The main, entry-point module in docs,\n+                           default: \"overview\" when --fomatter is \"html\"\n       -p  --homepage-url URL to link to for the site name\n+      -i, --index        Index page, default: \"index.html\" when --fomatter is \"html\"","path":"lib/ex_doc/cli.ex","position":31,"original_position":31,"commit_id":"fd802d1c4a60273554f5d5ec2e31b61921c1f341","original_commit_id":"fd802d1c4a60273554f5d5ec2e31b61921c1f341","user":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"body":"Should we list the default options for when --formatter is \"html\"?","created_at":"2015-08-11T17:16:33Z","updated_at":"2015-08-11T17:16:33Z","html_url":"https://github.com/elixir-lang/ex_doc/pull/265#discussion_r36771355","pull_request_url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265","_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/comments/36771355"},"html":{"href":"https://github.com/elixir-lang/ex_doc/pull/265#discussion_r36771355"},"pull_request":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265"}}},"pull_request":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265","id":42011828,"html_url":"https://github.com/elixir-lang/ex_doc/pull/265","diff_url":"https://github.com/elixir-lang/ex_doc/pull/265.diff","patch_url":"https://github.com/elixir-lang/ex_doc/pull/265.patch","issue_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/265","number":265,"state":"open","locked":false,"title":"Redirect template added & Duplicate index page removed","user":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"body":"The current implementation of the index page made of a copy of\r\nthe \"main\" page in index.html. Creating an unncessary duplicate page.\r\nThis commit creates an HTML redirect page.","created_at":"2015-08-10T11:50:54Z","updated_at":"2015-08-11T17:16:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae9eb70b777f914a35acc0e3fb59b0ebdb5ac675","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265/commits","review_comments_url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265/comments","review_comment_url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/265/comments","statuses_url":"https://api.github.com/repos/elixir-lang/ex_doc/statuses/fd802d1c4a60273554f5d5ec2e31b61921c1f341","head":{"label":"eksperimental:redirect_template","ref":"redirect_template","sha":"fd802d1c4a60273554f5d5ec2e31b61921c1f341","user":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"repo":{"id":25037635,"name":"ex_doc","full_name":"eksperimental/ex_doc","owner":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eksperimental/ex_doc","description":"ExDoc produces HTML and online documentation for Elixir projects","fork":true,"url":"https://api.github.com/repos/eksperimental/ex_doc","forks_url":"https://api.github.com/repos/eksperimental/ex_doc/forks","keys_url":"https://api.github.com/repos/eksperimental/ex_doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eksperimental/ex_doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eksperimental/ex_doc/teams","hooks_url":"https://api.github.com/repos/eksperimental/ex_doc/hooks","issue_events_url":"https://api.github.com/repos/eksperimental/ex_doc/issues/events{/number}","events_url":"https://api.github.com/repos/eksperimental/ex_doc/events","assignees_url":"https://api.github.com/repos/eksperimental/ex_doc/assignees{/user}","branches_url":"https://api.github.com/repos/eksperimental/ex_doc/branches{/branch}","tags_url":"https://api.github.com/repos/eksperimental/ex_doc/tags","blobs_url":"https://api.github.com/repos/eksperimental/ex_doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eksperimental/ex_doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eksperimental/ex_doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/eksperimental/ex_doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eksperimental/ex_doc/statuses/{sha}","languages_url":"https://api.github.com/repos/eksperimental/ex_doc/languages","stargazers_url":"https://api.github.com/repos/eksperimental/ex_doc/stargazers","contributors_url":"https://api.github.com/repos/eksperimental/ex_doc/contributors","subscribers_url":"https://api.github.com/repos/eksperimental/ex_doc/subscribers","subscription_url":"https://api.github.com/repos/eksperimental/ex_doc/subscription","commits_url":"https://api.github.com/repos/eksperimental/ex_doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/eksperimental/ex_doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/eksperimental/ex_doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/eksperimental/ex_doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/eksperimental/ex_doc/contents/{+path}","compare_url":"https://api.github.com/repos/eksperimental/ex_doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eksperimental/ex_doc/merges","archive_url":"https://api.github.com/repos/eksperimental/ex_doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eksperimental/ex_doc/downloads","issues_url":"https://api.github.com/repos/eksperimental/ex_doc/issues{/number}","pulls_url":"https://api.github.com/repos/eksperimental/ex_doc/pulls{/number}","milestones_url":"https://api.github.com/repos/eksperimental/ex_doc/milestones{/number}","notifications_url":"https://api.github.com/repos/eksperimental/ex_doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eksperimental/ex_doc/labels{/name}","releases_url":"https://api.github.com/repos/eksperimental/ex_doc/releases{/id}","created_at":"2014-10-10T13:52:43Z","updated_at":"2015-02-04T14:59:20Z","pushed_at":"2015-08-11T17:07:47Z","git_url":"git://github.com/eksperimental/ex_doc.git","ssh_url":"git@github.com:eksperimental/ex_doc.git","clone_url":"https://github.com/eksperimental/ex_doc.git","svn_url":"https://github.com/eksperimental/ex_doc","homepage":"http://elixir-lang.org","size":1350,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"elixir-lang:master","ref":"master","sha":"8ca5b8867ce9ab943610d84d538fa8b81aef60a2","user":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":3642931,"name":"ex_doc","full_name":"elixir-lang/ex_doc","owner":{"login":"elixir-lang","id":1481354,"avatar_url":"https://avatars.githubusercontent.com/u/1481354?v=3","gravatar_id":"","url":"https://api.github.com/users/elixir-lang","html_url":"https://github.com/elixir-lang","followers_url":"https://api.github.com/users/elixir-lang/followers","following_url":"https://api.github.com/users/elixir-lang/following{/other_user}","gists_url":"https://api.github.com/users/elixir-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/elixir-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elixir-lang/subscriptions","organizations_url":"https://api.github.com/users/elixir-lang/orgs","repos_url":"https://api.github.com/users/elixir-lang/repos","events_url":"https://api.github.com/users/elixir-lang/events{/privacy}","received_events_url":"https://api.github.com/users/elixir-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elixir-lang/ex_doc","description":"ExDoc produces HTML and online documentation for Elixir projects","fork":false,"url":"https://api.github.com/repos/elixir-lang/ex_doc","forks_url":"https://api.github.com/repos/elixir-lang/ex_doc/forks","keys_url":"https://api.github.com/repos/elixir-lang/ex_doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elixir-lang/ex_doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elixir-lang/ex_doc/teams","hooks_url":"https://api.github.com/repos/elixir-lang/ex_doc/hooks","issue_events_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/events{/number}","events_url":"https://api.github.com/repos/elixir-lang/ex_doc/events","assignees_url":"https://api.github.com/repos/elixir-lang/ex_doc/assignees{/user}","branches_url":"https://api.github.com/repos/elixir-lang/ex_doc/branches{/branch}","tags_url":"https://api.github.com/repos/elixir-lang/ex_doc/tags","blobs_url":"https://api.github.com/repos/elixir-lang/ex_doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elixir-lang/ex_doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elixir-lang/ex_doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/elixir-lang/ex_doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elixir-lang/ex_doc/statuses/{sha}","languages_url":"https://api.github.com/repos/elixir-lang/ex_doc/languages","stargazers_url":"https://api.github.com/repos/elixir-lang/ex_doc/stargazers","contributors_url":"https://api.github.com/repos/elixir-lang/ex_doc/contributors","subscribers_url":"https://api.github.com/repos/elixir-lang/ex_doc/subscribers","subscription_url":"https://api.github.com/repos/elixir-lang/ex_doc/subscription","commits_url":"https://api.github.com/repos/elixir-lang/ex_doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/elixir-lang/ex_doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/elixir-lang/ex_doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/elixir-lang/ex_doc/contents/{+path}","compare_url":"https://api.github.com/repos/elixir-lang/ex_doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elixir-lang/ex_doc/merges","archive_url":"https://api.github.com/repos/elixir-lang/ex_doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elixir-lang/ex_doc/downloads","issues_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues{/number}","pulls_url":"https://api.github.com/repos/elixir-lang/ex_doc/pulls{/number}","milestones_url":"https://api.github.com/repos/elixir-lang/ex_doc/milestones{/number}","notifications_url":"https://api.github.com/repos/elixir-lang/ex_doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elixir-lang/ex_doc/labels{/name}","releases_url":"https://api.github.com/repos/elixir-lang/ex_doc/releases{/id}","created_at":"2012-03-06T21:35:38Z","updated_at":"2015-08-07T13:35:06Z","pushed_at":"2015-08-11T17:07:48Z","git_url":"git://github.com/elixir-lang/ex_doc.git","ssh_url":"git@github.com:elixir-lang/ex_doc.git","clone_url":"https://github.com/elixir-lang/ex_doc.git","svn_url":"https://github.com/elixir-lang/ex_doc","homepage":"http://elixir-lang.org","size":4666,"stargazers_count":86,"watchers_count":86,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265"},"html":{"href":"https://github.com/elixir-lang/ex_doc/pull/265"},"issue":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/issues/265"},"comments":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/elixir-lang/ex_doc/statuses/fd802d1c4a60273554f5d5ec2e31b61921c1f341"}}}}