{"action":"created","issue":{"url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/17","repository_url":"https://api.github.com/repos/caffo/org-minimal-html-theme","labels_url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/17/comments","events_url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/17/events","html_url":"https://github.com/caffo/org-minimal-html-theme/issues/17","id":163058215,"number":17,"title":"Remove dist/ files from the repo","user":{"login":"caffo","id":456,"avatar_url":"https://avatars.githubusercontent.com/u/456?v=3","gravatar_id":"","url":"https://api.github.com/users/caffo","html_url":"https://github.com/caffo","followers_url":"https://api.github.com/users/caffo/followers","following_url":"https://api.github.com/users/caffo/following{/other_user}","gists_url":"https://api.github.com/users/caffo/gists{/gist_id}","starred_url":"https://api.github.com/users/caffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffo/subscriptions","organizations_url":"https://api.github.com/users/caffo/orgs","repos_url":"https://api.github.com/users/caffo/repos","events_url":"https://api.github.com/users/caffo/events{/privacy}","received_events_url":"https://api.github.com/users/caffo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T00:42:08Z","updated_at":"2016-06-30T02:10:49Z","closed_at":null,"body":"@rafaelrinaldi Wouldn't you think it would be a good choice?"},"comment":{"url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/comments/229541336","html_url":"https://github.com/caffo/org-minimal-html-theme/issues/17#issuecomment-229541336","issue_url":"https://api.github.com/repos/caffo/org-minimal-html-theme/issues/17","id":229541336,"user":{"login":"gabrielalmeida","id":310382,"avatar_url":"https://avatars.githubusercontent.com/u/310382?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielalmeida","html_url":"https://github.com/gabrielalmeida","followers_url":"https://api.github.com/users/gabrielalmeida/followers","following_url":"https://api.github.com/users/gabrielalmeida/following{/other_user}","gists_url":"https://api.github.com/users/gabrielalmeida/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielalmeida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielalmeida/subscriptions","organizations_url":"https://api.github.com/users/gabrielalmeida/orgs","repos_url":"https://api.github.com/users/gabrielalmeida/repos","events_url":"https://api.github.com/users/gabrielalmeida/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielalmeida/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T02:10:49Z","updated_at":"2016-06-30T02:10:49Z","body":"Although it's normally best practice to not send `dist` to `vcs`, I see an use case where someone may just want to export an org file and have theme styles/js applied, without having to build nor customize anything.\r\n\r\nAs sample setup files states:\r\n```\r\n#+HTML_HEAD: <link rel=\"stylesheet\" type=\"text/css\" href=\"https://dl.dropboxusercontent.com/u/8178/org-minimal/bundle.min.css\"/>\r\n#+HTML_HEAD: <script src=\"https://dl.dropboxusercontent.com/u/8178/org-minimal/bundle.min.js\" type=\"text/javascript\" ></script>\r\n```\r\n\r\nShould be enough to someone willing to have a stylized export. Instead of relying on Dropbox, something like rawgit could be used to serve latest available version with correct `Content-Type` headers:\r\n\r\n```\r\n#+HTML_HEAD: <link rel=\"stylesheet\" type=\"text/css\" href=\" https://rawgit.com/caffo/org-minimal-html-theme/master/dist/bundle.min.css\r\n\"/>\r\n#+HTML_HEAD: <script src=\" https://rawgit.com/caffo/org-minimal-html-theme/master/dist/bundle.min.js\r\n\" type=\"text/javascript\" ></script>\r\n```\r\n\r\nThis way people will always be able to use latest available theme version just by appending two lines to their org file. It's even possible to generate multiple builds, with different options on `theme.json` and get all of them to be served this way.\r\n\r\nJust thinking about keeping it as easy as possible for anyone willing to try this."}}
{"actor":{"display_login":"gabrielalmeida"}}