{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/Docusaurus/issues/714","repository_url":"https://api.github.com/repos/facebook/Docusaurus","labels_url":"https://api.github.com/repos/facebook/Docusaurus/issues/714/labels{/name}","comments_url":"https://api.github.com/repos/facebook/Docusaurus/issues/714/comments","events_url":"https://api.github.com/repos/facebook/Docusaurus/issues/714/events","html_url":"https://github.com/facebook/Docusaurus/pull/714","id":328137254,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzUyODI5","number":714,"title":"Don't start server if versions.js is missing but versioning is enabled","user":{"login":"endiliey","id":17883920,"node_id":"MDQ6VXNlcjE3ODgzOTIw","avatar_url":"https://avatars3.githubusercontent.com/u/17883920?v=4","gravatar_id":"","url":"https://api.github.com/users/endiliey","html_url":"https://github.com/endiliey","followers_url":"https://api.github.com/users/endiliey/followers","following_url":"https://api.github.com/users/endiliey/following{/other_user}","gists_url":"https://api.github.com/users/endiliey/gists{/gist_id}","starred_url":"https://api.github.com/users/endiliey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endiliey/subscriptions","organizations_url":"https://api.github.com/users/endiliey/orgs","repos_url":"https://api.github.com/users/endiliey/repos","events_url":"https://api.github.com/users/endiliey/events{/privacy}","received_events_url":"https://api.github.com/users/endiliey/received_events","type":"User","site_admin":false},"labels":[{"id":630651545,"node_id":"MDU6TGFiZWw2MzA2NTE1NDU=","url":"https://api.github.com/repos/facebook/Docusaurus/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-31T13:24:53Z","updated_at":"2018-05-31T13:26:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/Docusaurus/pulls/714","html_url":"https://github.com/facebook/Docusaurus/pull/714","diff_url":"https://github.com/facebook/Docusaurus/pull/714.diff","patch_url":"https://github.com/facebook/Docusaurus/pull/714.patch"},"body":"## Motivation\r\n\r\nThis prevents user to start the server when `versions.js` is missing but versioning is enabled\r\n#betterengineering\r\n\r\nCloses #228 based on https://github.com/facebook/Docusaurus/issues/228#issuecomment-368748690\r\nRelated to #297 #369 \r\n\r\n### Have you read the [Contributing Guidelines on pull requests](https://github.com/facebook/Docusaurus/blob/master/CONTRIBUTING.md#pull-requests)?\r\n\r\nYes\r\n\r\n## Test Plan\r\n\r\n- [X] Start server as normal. `versions.js` exists when versioning is enabled\r\n ```\r\ncd website\r\nyarn start\r\n```\r\n\r\n<img width=\"490\" alt=\"no error - versions\" src=\"https://user-images.githubusercontent.com/17883920/40784723-0b3fd70c-6519-11e8-972a-b3d23771955b.PNG\">\r\n\r\n- [X] Delete `versions.js` when versioning is enabled (`versions.json` exist) \r\n\r\n```\r\ncd website\r\nyarn start\r\n```\r\n\r\n<img width=\"495\" alt=\"error\" src=\"https://user-images.githubusercontent.com/17883920/40784647-d3f61d42-6518-11e8-860c-86198f79780f.PNG\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/Docusaurus/issues/comments/393529212","html_url":"https://github.com/facebook/Docusaurus/pull/714#issuecomment-393529212","issue_url":"https://api.github.com/repos/facebook/Docusaurus/issues/714","id":393529212,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzUyOTIxMg==","user":{"login":"docusaurus-bot","id":33666575,"node_id":"MDQ6VXNlcjMzNjY2NTc1","avatar_url":"https://avatars0.githubusercontent.com/u/33666575?v=4","gravatar_id":"","url":"https://api.github.com/users/docusaurus-bot","html_url":"https://github.com/docusaurus-bot","followers_url":"https://api.github.com/users/docusaurus-bot/followers","following_url":"https://api.github.com/users/docusaurus-bot/following{/other_user}","gists_url":"https://api.github.com/users/docusaurus-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/docusaurus-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docusaurus-bot/subscriptions","organizations_url":"https://api.github.com/users/docusaurus-bot/orgs","repos_url":"https://api.github.com/users/docusaurus-bot/repos","events_url":"https://api.github.com/users/docusaurus-bot/events{/privacy}","received_events_url":"https://api.github.com/users/docusaurus-bot/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T13:26:31Z","updated_at":"2018-05-31T13:26:31Z","author_association":"COLLABORATOR","body":"Deploy preview for *docusaurus-preview* ready!\n\nBuilt with commit 93536fe73f551af4d9883465e1d13c8f1bf0352a\n\nhttps://deploy-preview-714--docusaurus-preview.netlify.com"}}
{"actor":{"display_login":"docusaurus-bot"}}