{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/10061","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/10061/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/10061/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/10061/events","html_url":"https://github.com/zulip/zulip/issues/10061","id":344640126,"node_id":"MDU6SXNzdWUzNDQ2NDAxMjY=","number":10061,"title":"Merge main.html templates for API/help docs.","user":{"login":"timabbott","id":2746074,"node_id":"MDQ6VXNlcjI3NDYwNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2746074?v=4","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"labels":[{"id":545043700,"node_id":"MDU6TGFiZWw1NDUwNDM3MDA=","url":"https://api.github.com/repos/zulip/zulip/labels/area:%20documentation%20(api%20and%20integrations)","name":"area: documentation (api and integrations)","color":"bfd4f2","default":false},{"id":509529497,"node_id":"MDU6TGFiZWw1MDk1Mjk0OTc=","url":"https://api.github.com/repos/zulip/zulip/labels/area:%20documentation%20(user)","name":"area: documentation (user)","color":"bfd4f2","default":false},{"id":545030708,"node_id":"MDU6TGFiZWw1NDUwMzA3MDg=","url":"https://api.github.com/repos/zulip/zulip/labels/in%20progress","name":"in progress","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"Lyla-Fischer","id":549661,"node_id":"MDQ6VXNlcjU0OTY2MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/549661?v=4","gravatar_id":"","url":"https://api.github.com/users/Lyla-Fischer","html_url":"https://github.com/Lyla-Fischer","followers_url":"https://api.github.com/users/Lyla-Fischer/followers","following_url":"https://api.github.com/users/Lyla-Fischer/following{/other_user}","gists_url":"https://api.github.com/users/Lyla-Fischer/gists{/gist_id}","starred_url":"https://api.github.com/users/Lyla-Fischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lyla-Fischer/subscriptions","organizations_url":"https://api.github.com/users/Lyla-Fischer/orgs","repos_url":"https://api.github.com/users/Lyla-Fischer/repos","events_url":"https://api.github.com/users/Lyla-Fischer/events{/privacy}","received_events_url":"https://api.github.com/users/Lyla-Fischer/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lyla-Fischer","id":549661,"node_id":"MDQ6VXNlcjU0OTY2MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/549661?v=4","gravatar_id":"","url":"https://api.github.com/users/Lyla-Fischer","html_url":"https://github.com/Lyla-Fischer","followers_url":"https://api.github.com/users/Lyla-Fischer/followers","following_url":"https://api.github.com/users/Lyla-Fischer/following{/other_user}","gists_url":"https://api.github.com/users/Lyla-Fischer/gists{/gist_id}","starred_url":"https://api.github.com/users/Lyla-Fischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lyla-Fischer/subscriptions","organizations_url":"https://api.github.com/users/Lyla-Fischer/orgs","repos_url":"https://api.github.com/users/Lyla-Fischer/repos","events_url":"https://api.github.com/users/Lyla-Fischer/events{/privacy}","received_events_url":"https://api.github.com/users/Lyla-Fischer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-25T23:17:19Z","updated_at":"2018-08-29T22:42:58Z","closed_at":null,"author_association":"MEMBER","body":"From discussion in https://github.com/zulip/zulip/pull/9771#issuecomment-407500707:\r\n\r\nWe should merge the two `main.html` templates, since they're almost the same and the differences could either be removed or passed in as variables in the context.  So we can plan to do that as a follow-up project.\r\n```\r\n(zulip-py3-venv) tabbott@zaset:~/zulip$ diff -ur templates/zerver/*/main.html\r\n--- templates/zerver/api/main.html\t2018-07-24 11:05:59.576418097 -0700\r\n+++ templates/zerver/help/main.html\t2018-07-24 11:05:59.576418097 -0700\r\n@@ -1,13 +1,13 @@\r\n {% extends \"zerver/portico-help.html\" %}\r\n \r\n-{# API information page #}\r\n+{# Zulip User Documentation. #}\r\n \r\n {% block portico_content %}\r\n-<div class=\"app help api-docs terms-page inline-block\">\r\n-    <div class=\"sidebar\">\r\n+<div class=\"app help terms-page inline-block\">\r\n+    <div class=\"sidebar slide\">\r\n         <div class=\"content\">\r\n-            <h1 class=\"no-arrow\"><a href=\"/api/\" class=\"no-underline\">Home</a></h1>\r\n-            {{ render_markdown_path(\"zerver/api/sidebar.md\", api_uri_context) }}\r\n+            <h1><a href=\"/help/\" class=\"no-underline\">Index</a></h1>\r\n+            {{ render_markdown_path(\"zerver/help/include/sidebar.md\", api_uri_context) }}\r\n             <h1 class=\"home-link\"><a href=\"/\" class=\"no-underline\">Back to Home</a></h1>\r\n         </div>\r\n     </div>\r\n@@ -19,6 +19,7 @@\r\n     <div class=\"markdown\">\r\n         <div class=\"content\">\r\n             {{ render_markdown_path(article, api_uri_context) }}\r\n+\r\n             <div id=\"footer\" class=\"documentation-footer\">\r\n                 <hr />\r\n                 <p>\r\n```\r\n\r\n@eeshangarg this might be a good project for you, since you're familiar with this system.  "},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/417130755","html_url":"https://github.com/zulip/zulip/issues/10061#issuecomment-417130755","issue_url":"https://api.github.com/repos/zulip/zulip/issues/10061","id":417130755,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzEzMDc1NQ==","user":{"login":"zulipbot","id":25496890,"node_id":"MDQ6VXNlcjI1NDk2ODkw","avatar_url":"https://avatars0.githubusercontent.com/u/25496890?v=4","gravatar_id":"","url":"https://api.github.com/users/zulipbot","html_url":"https://github.com/zulipbot","followers_url":"https://api.github.com/users/zulipbot/followers","following_url":"https://api.github.com/users/zulipbot/following{/other_user}","gists_url":"https://api.github.com/users/zulipbot/gists{/gist_id}","starred_url":"https://api.github.com/users/zulipbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulipbot/subscriptions","organizations_url":"https://api.github.com/users/zulipbot/orgs","repos_url":"https://api.github.com/users/zulipbot/repos","events_url":"https://api.github.com/users/zulipbot/events{/privacy}","received_events_url":"https://api.github.com/users/zulipbot/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T22:42:58Z","updated_at":"2018-08-29T22:42:58Z","author_association":"MEMBER","body":"**ERROR:** Label \"In progress\" does not exist and was thus not removed from this issue."}}
{"actor":{"display_login":"zulipbot"}}