{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10297","labels_url":"https://api.github.com/repos/apache/spark/issues/10297/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10297/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10297/events","html_url":"https://github.com/apache/spark/pull/10297","id":122129221,"number":10297,"title":"[SPARK-12324][MLLIB][DOC] Fixes the sidebar in the ML documentation","user":{"login":"thunterdb","id":7594753,"avatar_url":"https://avatars.githubusercontent.com/u/7594753?v=3","gravatar_id":"","url":"https://api.github.com/users/thunterdb","html_url":"https://github.com/thunterdb","followers_url":"https://api.github.com/users/thunterdb/followers","following_url":"https://api.github.com/users/thunterdb/following{/other_user}","gists_url":"https://api.github.com/users/thunterdb/gists{/gist_id}","starred_url":"https://api.github.com/users/thunterdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunterdb/subscriptions","organizations_url":"https://api.github.com/users/thunterdb/orgs","repos_url":"https://api.github.com/users/thunterdb/repos","events_url":"https://api.github.com/users/thunterdb/events{/privacy}","received_events_url":"https://api.github.com/users/thunterdb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-14T20:55:16Z","updated_at":"2015-12-15T00:55:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10297","html_url":"https://github.com/apache/spark/pull/10297","diff_url":"https://github.com/apache/spark/pull/10297.diff","patch_url":"https://github.com/apache/spark/pull/10297.patch"},"body":"This fixes the sidebar, using a pure CSS mechanism to hide it when the browser's viewport is too narrow.\r\nCredit goes to the original author @Titan-C (mentioned in the NOTICE).\r\n\r\nNote that I am not a CSS expert, so I can only address comments up to some extent.\r\n\r\nDefault view:\r\n<img width=\"936\" alt=\"screen shot 2015-12-14 at 12 46 39 pm\" src=\"https://cloud.githubusercontent.com/assets/7594753/11793597/6d1d6eda-a261-11e5-836b-6eb2054e9054.png\">\r\n\r\nWhen collapsed manually by the user:\r\n<img width=\"1004\" alt=\"screen shot 2015-12-14 at 12 54 02 pm\" src=\"https://cloud.githubusercontent.com/assets/7594753/11793669/c991989e-a261-11e5-8bf6-aecf3bdb6319.png\">\r\n\r\n\r\nDisappears when column is too narrow:\r\n<img width=\"697\" alt=\"screen shot 2015-12-14 at 12 47 22 pm\" src=\"https://cloud.githubusercontent.com/assets/7594753/11793607/7754dbcc-a261-11e5-8b15-e0d074b0e47c.png\">\r\n\r\nCan still be opened by the user if necessary:\r\n<img width=\"651\" alt=\"screen shot 2015-12-14 at 12 51 15 pm\" src=\"https://cloud.githubusercontent.com/assets/7594753/11793612/7bf82968-a261-11e5-9cc3-e827a7a6b2b0.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/164607406","html_url":"https://github.com/apache/spark/pull/10297#issuecomment-164607406","issue_url":"https://api.github.com/repos/apache/spark/issues/10297","id":164607406,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T00:55:33Z","updated_at":"2015-12-15T00:55:33Z","body":"**[Test build #2215 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2215/consoleFull)** for PR 10297 at commit [`b091b42`](https://github.com/apache/spark/commit/b091b42660ac510ba49ddf0274c779ae1c249b67).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}