{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/997","repository_url":"https://api.github.com/repos/babel/babel.github.io","labels_url":"https://api.github.com/repos/babel/babel.github.io/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel.github.io/issues/997/comments","events_url":"https://api.github.com/repos/babel/babel.github.io/issues/997/events","html_url":"https://github.com/babel/babel.github.io/issues/997","id":191116566,"number":997,"title":"Move main plugin/package docs from here to babel/babel","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"labels":[{"id":450869108,"url":"https://api.github.com/repos/babel/babel.github.io/labels/beginner-friendly","name":"beginner-friendly","color":"1d76db","default":false},{"id":146066535,"url":"https://api.github.com/repos/babel/babel.github.io/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T20:31:08Z","updated_at":"2016-11-22T20:53:15Z","closed_at":null,"body":"> If you have issues please comment here, join our slack (signup: slack.babeljs.io, url: babeljs.slack.com), ping @babeljs on twitter\r\n\r\n## #528\r\n\r\n> eg\r\nhttp://babeljs.io/docs/plugins/transform-es2015-modules-systemjs/\r\nvs\r\nhttps://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-modules-systemjs\r\nThe \"via CLI\" & \"via Node API\" are missing. IMHO README should be the source for the webpage automated builder.\r\nAdded preferred bonus: the web page links to README (\"Edit doc contents in README\").\r\n\r\nhttps://github.com/babel/babel.github.io/issues/528 was implemented via https://github.com/babel/babel.github.io/pull/990 (git submodule and rendering the markdown from the README)\r\n\r\nNow this website repo can pull in information from the actual readme.md file used for npm in the babel repo.\r\n\r\n## Issue\r\n\r\nWhat we need to do now is to move the docs in [`docs/`](/docs) to link to the README's in [babel/babel/packages](https://github.com/babel/babel/tree/master/packages)\r\n\r\nBasically for those docs we want to take the contents there and replace them.\r\n\r\nExample: https://github.com/babel/babel.github.io/pull/990/files#diff-b11e0ae0e12e1f69b9e7bd1a63ac06d2R20\r\n\r\n<img width=\"994\" alt=\"screen shot 2016-11-22 at 3 35 33 pm\" src=\"https://cloud.githubusercontent.com/assets/588473/20540995/573a1830-b0c9-11e6-8d43-ccee9a71e17f.png\">\r\n\r\n## Instructions\r\n\r\nFor each docs page that needs to be changed:\r\n\r\n- [ ] Find the correct page on the babel website docs under [`docs/`](/docs) to edit: Example is [`docs/plugins/preset-stage-0.md`](/docs/plugins/preset-stage-0.md)\r\n\r\n<img width=\"1003\" alt=\"screen shot 2016-11-22 at 3 36 18 pm\" src=\"https://cloud.githubusercontent.com/assets/588473/20541022/71528a68-b0c9-11e6-80df-07495aa63782.png\">\r\n\r\n- [ ] Find the corresponding page on [`babel/babel`](https://github.com/babel/babel): Example is [`babel-preset-stage-0/README.md`]\r\n\r\n<img width=\"992\" alt=\"screen shot 2016-11-22 at 3 37 00 pm\" src=\"https://cloud.githubusercontent.com/assets/588473/20541043/8b45647c-b0c9-11e6-867a-d8e7aed5e0eb.png\">\r\n\r\n(https://github.com/babel/babel/blob/master/packages/babel-preset-stage-0/README.md)\r\n- [ ] Copy over any missing information from the website page (this repo) to the main babel repo README (it's not as updated usually).\r\n\r\n> This might be extra links, examples, etc:\r\n\r\n<img width=\"897\" alt=\"screen shot 2016-11-22 at 3 38 26 pm\" src=\"https://cloud.githubusercontent.com/assets/588473/20541101/bf940e68-b0c9-11e6-8eab-432120a326a8.png\">\r\n\r\n- [ ] Replace the old contents with ` {% include package_readme.html %}`\r\n\r\n<img width=\"994\" alt=\"screen shot 2016-11-22 at 3 35 33 pm\" src=\"https://cloud.githubusercontent.com/assets/588473/20541107/c49b30c6-b0c9-11e6-856b-d8808f3a9aae.png\">\r\n\r\n> This may mean a PR to the main babel repo as well as this repo.\r\n\r\n### Another Example\r\n\r\nCheck both https://github.com/babel/babel/pull/4884 and https://github.com/babel/babel.github.io/commit/241be67ed65a4162876972fff839dd5c318595c2\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/comments/262362329","html_url":"https://github.com/babel/babel.github.io/issues/997#issuecomment-262362329","issue_url":"https://api.github.com/repos/babel/babel.github.io/issues/997","id":262362329,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T20:53:15Z","updated_at":"2016-11-22T20:53:15Z","body":"Example:\r\n\r\nWebsite repo: https://github.com/babel/babel.github.io/blob/master/docs/plugins/check-es2015-constants.md\r\n\r\nBabel repo: https://github.com/babel/babel/blob/master/packages/babel-plugin-check-es2015-constants/README.md\r\n"}}
{"actor":{"display_login":"hzoo"}}