{"action":"created","issue":{"url":"https://api.github.com/repos/perl6/doc/issues/704","repository_url":"https://api.github.com/repos/perl6/doc","labels_url":"https://api.github.com/repos/perl6/doc/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/perl6/doc/issues/704/comments","events_url":"https://api.github.com/repos/perl6/doc/issues/704/events","html_url":"https://github.com/perl6/doc/issues/704","id":165622541,"number":704,"title":"Minify Assets / Get Rid of Generated style.css In Repo","user":{"login":"zoffixznet","id":5747918,"avatar_url":"https://avatars.githubusercontent.com/u/5747918?v=3","gravatar_id":"","url":"https://api.github.com/users/zoffixznet","html_url":"https://github.com/zoffixznet","followers_url":"https://api.github.com/users/zoffixznet/followers","following_url":"https://api.github.com/users/zoffixznet/following{/other_user}","gists_url":"https://api.github.com/users/zoffixznet/gists{/gist_id}","starred_url":"https://api.github.com/users/zoffixznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoffixznet/subscriptions","organizations_url":"https://api.github.com/users/zoffixznet/orgs","repos_url":"https://api.github.com/users/zoffixznet/repos","events_url":"https://api.github.com/users/zoffixznet/events{/privacy}","received_events_url":"https://api.github.com/users/zoffixznet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/perl6/doc/labels/build","name":"build","color":"C4DB17"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-14T18:04:29Z","updated_at":"2016-07-14T21:03:35Z","closed_at":null,"body":"Currently, we have two issues:\r\n\r\n1. Assets are not minified which makes Google like us less and our users download more.\r\n2. We currently store in the repo `style.css` which is an auto-generated file ([reasons](https://github.com/perl6/doc/issues/662#issuecomment-230163285)).\r\n\r\nWe can solve both of those by including minification and SASS processing as an *optional* part of the build process that will run as part of the doc generation for docs.perl6.org, but if a contributor builds locally and they don't have prereqs for minification/SASS, they won't get that step run.\r\n\r\nTo still let users use the dev app without having the SASS-related prereqs, we can add a routes that will fetch the JS/CSS assets from https://docs.perl6.org/ if local versions aren't found.\r\n\r\n![z](https://cloud.githubusercontent.com/assets/5747918/16849731/d76fb2d8-49c9-11e6-8006-848542573cca.png)\r\n"},"comment":{"url":"https://api.github.com/repos/perl6/doc/issues/comments/232791795","html_url":"https://github.com/perl6/doc/issues/704#issuecomment-232791795","issue_url":"https://api.github.com/repos/perl6/doc/issues/704","id":232791795,"user":{"login":"AlexDaniel","id":5507503,"avatar_url":"https://avatars.githubusercontent.com/u/5507503?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexDaniel","html_url":"https://github.com/AlexDaniel","followers_url":"https://api.github.com/users/AlexDaniel/followers","following_url":"https://api.github.com/users/AlexDaniel/following{/other_user}","gists_url":"https://api.github.com/users/AlexDaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDaniel/subscriptions","organizations_url":"https://api.github.com/users/AlexDaniel/orgs","repos_url":"https://api.github.com/users/AlexDaniel/repos","events_url":"https://api.github.com/users/AlexDaniel/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDaniel/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T21:03:34Z","updated_at":"2016-07-14T21:03:34Z","body":"> What are the complications for micro contributions?\r\nYou can work on small things directly in your browser, without even cloning a repo. If JS is minified, then it is much harder.\r\n\r\nThat being said, I have nothing against minifying CSS or HTML. So +1 for that, we should do definitely do that."}}
{"actor":{"display_login":"AlexDaniel"}}