{"action":"closed","number":757,"pull_request":{"url":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757","id":36083618,"html_url":"https://github.com/GitbookIO/gitbook/pull/757","diff_url":"https://github.com/GitbookIO/gitbook/pull/757.diff","patch_url":"https://github.com/GitbookIO/gitbook/pull/757.patch","issue_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/757","number":757,"state":"closed","locked":false,"title":"Add title for language overview","user":{"login":"aschempp","id":1073273,"avatar_url":"https://avatars.githubusercontent.com/u/1073273?v=3","gravatar_id":"","url":"https://api.github.com/users/aschempp","html_url":"https://github.com/aschempp","followers_url":"https://api.github.com/users/aschempp/followers","following_url":"https://api.github.com/users/aschempp/following{/other_user}","gists_url":"https://api.github.com/users/aschempp/gists{/gist_id}","starred_url":"https://api.github.com/users/aschempp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschempp/subscriptions","organizations_url":"https://api.github.com/users/aschempp/orgs","repos_url":"https://api.github.com/users/aschempp/repos","events_url":"https://api.github.com/users/aschempp/events{/privacy}","received_events_url":"https://api.github.com/users/aschempp/received_events","type":"User","site_admin":false},"body":"When having multilingual books, there's a problem with the book title:\r\n- If you do not specify a `title` in your `book.json`, the language overview page will have an empty `<title>` attribute.\r\n- If you do specify a title, it will be applied to all languages (=> untranslatable).\r\n\r\nThis PR attempts to solve this by\r\n 1. Add a new option `langTitle` to `book.json`. If set, it will be used for the language overview `<title>` instead of the `title` option.\r\n 2. Parse the `LANGS.md` and find the first headline as a title, same as done for the book content.\r\n\r\nIf neither `langTitle` nor `title` option is set and the `LANGS.md` does not have a headline, the behavior is not changed (=> empty `<title>` in language overview).","created_at":"2015-05-23T07:04:55Z","updated_at":"2015-05-28T15:12:56Z","closed_at":"2015-05-28T15:12:56Z","merged_at":null,"merge_commit_sha":"891761d24b8964a8d7cdb7d6b6437be9a195a143","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757/commits","review_comments_url":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757/comments","review_comment_url":"https://api.github.com/repos/GitbookIO/gitbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/757/comments","statuses_url":"https://api.github.com/repos/GitbookIO/gitbook/statuses/49788f990c4e22d44529fdd7a78d1148e3d6ad39","head":{"label":"aschempp:feature/language-title","ref":"feature/language-title","sha":"49788f990c4e22d44529fdd7a78d1148e3d6ad39","user":{"login":"aschempp","id":1073273,"avatar_url":"https://avatars.githubusercontent.com/u/1073273?v=3","gravatar_id":"","url":"https://api.github.com/users/aschempp","html_url":"https://github.com/aschempp","followers_url":"https://api.github.com/users/aschempp/followers","following_url":"https://api.github.com/users/aschempp/following{/other_user}","gists_url":"https://api.github.com/users/aschempp/gists{/gist_id}","starred_url":"https://api.github.com/users/aschempp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschempp/subscriptions","organizations_url":"https://api.github.com/users/aschempp/orgs","repos_url":"https://api.github.com/users/aschempp/repos","events_url":"https://api.github.com/users/aschempp/events{/privacy}","received_events_url":"https://api.github.com/users/aschempp/received_events","type":"User","site_admin":false},"repo":{"id":36108840,"name":"gitbook","full_name":"aschempp/gitbook","owner":{"login":"aschempp","id":1073273,"avatar_url":"https://avatars.githubusercontent.com/u/1073273?v=3","gravatar_id":"","url":"https://api.github.com/users/aschempp","html_url":"https://github.com/aschempp","followers_url":"https://api.github.com/users/aschempp/followers","following_url":"https://api.github.com/users/aschempp/following{/other_user}","gists_url":"https://api.github.com/users/aschempp/gists{/gist_id}","starred_url":"https://api.github.com/users/aschempp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aschempp/subscriptions","organizations_url":"https://api.github.com/users/aschempp/orgs","repos_url":"https://api.github.com/users/aschempp/repos","events_url":"https://api.github.com/users/aschempp/events{/privacy}","received_events_url":"https://api.github.com/users/aschempp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aschempp/gitbook","description":"Modern book format and toolchain using Git and Markdown","fork":true,"url":"https://api.github.com/repos/aschempp/gitbook","forks_url":"https://api.github.com/repos/aschempp/gitbook/forks","keys_url":"https://api.github.com/repos/aschempp/gitbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aschempp/gitbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aschempp/gitbook/teams","hooks_url":"https://api.github.com/repos/aschempp/gitbook/hooks","issue_events_url":"https://api.github.com/repos/aschempp/gitbook/issues/events{/number}","events_url":"https://api.github.com/repos/aschempp/gitbook/events","assignees_url":"https://api.github.com/repos/aschempp/gitbook/assignees{/user}","branches_url":"https://api.github.com/repos/aschempp/gitbook/branches{/branch}","tags_url":"https://api.github.com/repos/aschempp/gitbook/tags","blobs_url":"https://api.github.com/repos/aschempp/gitbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aschempp/gitbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aschempp/gitbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/aschempp/gitbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aschempp/gitbook/statuses/{sha}","languages_url":"https://api.github.com/repos/aschempp/gitbook/languages","stargazers_url":"https://api.github.com/repos/aschempp/gitbook/stargazers","contributors_url":"https://api.github.com/repos/aschempp/gitbook/contributors","subscribers_url":"https://api.github.com/repos/aschempp/gitbook/subscribers","subscription_url":"https://api.github.com/repos/aschempp/gitbook/subscription","commits_url":"https://api.github.com/repos/aschempp/gitbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/aschempp/gitbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/aschempp/gitbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/aschempp/gitbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/aschempp/gitbook/contents/{+path}","compare_url":"https://api.github.com/repos/aschempp/gitbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aschempp/gitbook/merges","archive_url":"https://api.github.com/repos/aschempp/gitbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aschempp/gitbook/downloads","issues_url":"https://api.github.com/repos/aschempp/gitbook/issues{/number}","pulls_url":"https://api.github.com/repos/aschempp/gitbook/pulls{/number}","milestones_url":"https://api.github.com/repos/aschempp/gitbook/milestones{/number}","notifications_url":"https://api.github.com/repos/aschempp/gitbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aschempp/gitbook/labels{/name}","releases_url":"https://api.github.com/repos/aschempp/gitbook/releases{/id}","created_at":"2015-05-23T05:45:56Z","updated_at":"2015-05-23T05:45:57Z","pushed_at":"2015-05-23T07:21:16Z","git_url":"git://github.com/aschempp/gitbook.git","ssh_url":"git@github.com:aschempp/gitbook.git","clone_url":"https://github.com/aschempp/gitbook.git","svn_url":"https://github.com/aschempp/gitbook","homepage":"https://www.gitbook.com","size":5666,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"GitbookIO:master","ref":"master","sha":"82f3ffad06ee417f38b7f981f669dd8bd6526faf","user":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"repo":{"id":18280236,"name":"gitbook","full_name":"GitbookIO/gitbook","owner":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GitbookIO/gitbook","description":"Modern book format and toolchain using Git and Markdown","fork":false,"url":"https://api.github.com/repos/GitbookIO/gitbook","forks_url":"https://api.github.com/repos/GitbookIO/gitbook/forks","keys_url":"https://api.github.com/repos/GitbookIO/gitbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GitbookIO/gitbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GitbookIO/gitbook/teams","hooks_url":"https://api.github.com/repos/GitbookIO/gitbook/hooks","issue_events_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/events{/number}","events_url":"https://api.github.com/repos/GitbookIO/gitbook/events","assignees_url":"https://api.github.com/repos/GitbookIO/gitbook/assignees{/user}","branches_url":"https://api.github.com/repos/GitbookIO/gitbook/branches{/branch}","tags_url":"https://api.github.com/repos/GitbookIO/gitbook/tags","blobs_url":"https://api.github.com/repos/GitbookIO/gitbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GitbookIO/gitbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GitbookIO/gitbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/GitbookIO/gitbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GitbookIO/gitbook/statuses/{sha}","languages_url":"https://api.github.com/repos/GitbookIO/gitbook/languages","stargazers_url":"https://api.github.com/repos/GitbookIO/gitbook/stargazers","contributors_url":"https://api.github.com/repos/GitbookIO/gitbook/contributors","subscribers_url":"https://api.github.com/repos/GitbookIO/gitbook/subscribers","subscription_url":"https://api.github.com/repos/GitbookIO/gitbook/subscription","commits_url":"https://api.github.com/repos/GitbookIO/gitbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/GitbookIO/gitbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/GitbookIO/gitbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/GitbookIO/gitbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/GitbookIO/gitbook/contents/{+path}","compare_url":"https://api.github.com/repos/GitbookIO/gitbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GitbookIO/gitbook/merges","archive_url":"https://api.github.com/repos/GitbookIO/gitbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GitbookIO/gitbook/downloads","issues_url":"https://api.github.com/repos/GitbookIO/gitbook/issues{/number}","pulls_url":"https://api.github.com/repos/GitbookIO/gitbook/pulls{/number}","milestones_url":"https://api.github.com/repos/GitbookIO/gitbook/milestones{/number}","notifications_url":"https://api.github.com/repos/GitbookIO/gitbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GitbookIO/gitbook/labels{/name}","releases_url":"https://api.github.com/repos/GitbookIO/gitbook/releases{/id}","created_at":"2014-03-31T03:01:56Z","updated_at":"2015-05-28T12:51:11Z","pushed_at":"2015-05-28T15:06:15Z","git_url":"git://github.com/GitbookIO/gitbook.git","ssh_url":"git@github.com:GitbookIO/gitbook.git","clone_url":"https://github.com/GitbookIO/gitbook.git","svn_url":"https://github.com/GitbookIO/gitbook","homepage":"https://www.gitbook.com","size":10120,"stargazers_count":8771,"watchers_count":8771,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":822,"mirror_url":null,"open_issues_count":215,"forks":822,"open_issues":215,"watchers":8771,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757"},"html":{"href":"https://github.com/GitbookIO/gitbook/pull/757"},"issue":{"href":"https://api.github.com/repos/GitbookIO/gitbook/issues/757"},"comments":{"href":"https://api.github.com/repos/GitbookIO/gitbook/issues/757/comments"},"review_comments":{"href":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757/comments"},"review_comment":{"href":"https://api.github.com/repos/GitbookIO/gitbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GitbookIO/gitbook/pulls/757/commits"},"statuses":{"href":"https://api.github.com/repos/GitbookIO/gitbook/statuses/49788f990c4e22d44529fdd7a78d1148e3d6ad39"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":2}}