{"action":"opened","number":102,"pull_request":{"url":"https://api.github.com/repos/FormidableLabs/victory/pulls/102","id":53773939,"html_url":"https://github.com/FormidableLabs/victory/pull/102","diff_url":"https://github.com/FormidableLabs/victory/pull/102.diff","patch_url":"https://github.com/FormidableLabs/victory/pull/102.patch","issue_url":"https://api.github.com/repos/FormidableLabs/victory/issues/102","number":102,"state":"open","locked":false,"title":"[Docs] Task: serve from victory.formidable.com","user":{"login":"david-davidson","id":6352327,"avatar_url":"https://avatars.githubusercontent.com/u/6352327?v=3","gravatar_id":"","url":"https://api.github.com/users/david-davidson","html_url":"https://github.com/david-davidson","followers_url":"https://api.github.com/users/david-davidson/followers","following_url":"https://api.github.com/users/david-davidson/following{/other_user}","gists_url":"https://api.github.com/users/david-davidson/gists{/gist_id}","starred_url":"https://api.github.com/users/david-davidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-davidson/subscriptions","organizations_url":"https://api.github.com/users/david-davidson/orgs","repos_url":"https://api.github.com/users/david-davidson/repos","events_url":"https://api.github.com/users/david-davidson/events{/privacy}","received_events_url":"https://api.github.com/users/david-davidson/received_events","type":"User","site_admin":false},"body":"Fixes #94\r\n\r\nThis updates the Victory site to live at `victory.formidable.com`, not `projects.formidablelabs.com/victory`.\r\n\r\nNotes:\r\n\r\n* The necessary DNS change is already live; victory.formidable.com currently points at a broken version of the site. Most the changes here merely unbreak it (and redirect old links).\r\n\r\n* Specifically, what's breaking is 1.) the `react-router` `basename` and 2.), in index.jsx, the `base href` (both currently `\"victory\"`). This changes both to `\"/\"`, and moves configuration for both into a central `config.json`. That makes `victory.formidable.com` work but breaks `projects.formidablelabs.com/victory`, so...\r\n\r\n* This adds [client-side redirection](https://github.com/david-davidson/victory/blob/task/subdirectory-routing/docs/components/static-index.jsx#L26-L30) from the `projects.` site to the now-canonical `victory.` site.\r\n\r\n* This also updates the list of links at http://projects.formidablelabs.com/victory/docs/ to point to the internal docs, not external sites.\r\n\r\n/cc @coopy @boygirl @paulathevalley \r\n\r\nP.S. I've got this fork pushed up for testing as a GitHub project page of my own, so the following should all work:\r\n* http://victory.daviddavidson.io\r\n* http://victory.daviddavidson.io/docs\r\n* http://victory.daviddavidson.io/docs/victory-axis\r\n* http://david-davidson.github.io/victory (should redirect to root)\r\n* http://david-davidson.github.io/victory/docs (should redirect to /docs)\r\n* http://david-davidson.github.io/victory/docs/victory-axis (should redirect to /docs/victory-axis)","created_at":"2015-12-15T22:45:39Z","updated_at":"2015-12-15T22:45:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FormidableLabs/victory/pulls/102/commits","review_comments_url":"https://api.github.com/repos/FormidableLabs/victory/pulls/102/comments","review_comment_url":"https://api.github.com/repos/FormidableLabs/victory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FormidableLabs/victory/issues/102/comments","statuses_url":"https://api.github.com/repos/FormidableLabs/victory/statuses/d8e423bdbab3590da1910fc0d07a183af1e16981","head":{"label":"david-davidson:task/subdirectory-routing","ref":"task/subdirectory-routing","sha":"d8e423bdbab3590da1910fc0d07a183af1e16981","user":{"login":"david-davidson","id":6352327,"avatar_url":"https://avatars.githubusercontent.com/u/6352327?v=3","gravatar_id":"","url":"https://api.github.com/users/david-davidson","html_url":"https://github.com/david-davidson","followers_url":"https://api.github.com/users/david-davidson/followers","following_url":"https://api.github.com/users/david-davidson/following{/other_user}","gists_url":"https://api.github.com/users/david-davidson/gists{/gist_id}","starred_url":"https://api.github.com/users/david-davidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-davidson/subscriptions","organizations_url":"https://api.github.com/users/david-davidson/orgs","repos_url":"https://api.github.com/users/david-davidson/repos","events_url":"https://api.github.com/users/david-davidson/events{/privacy}","received_events_url":"https://api.github.com/users/david-davidson/received_events","type":"User","site_admin":false},"repo":{"id":46893498,"name":"victory","full_name":"david-davidson/victory","owner":{"login":"david-davidson","id":6352327,"avatar_url":"https://avatars.githubusercontent.com/u/6352327?v=3","gravatar_id":"","url":"https://api.github.com/users/david-davidson","html_url":"https://github.com/david-davidson","followers_url":"https://api.github.com/users/david-davidson/followers","following_url":"https://api.github.com/users/david-davidson/following{/other_user}","gists_url":"https://api.github.com/users/david-davidson/gists{/gist_id}","starred_url":"https://api.github.com/users/david-davidson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-davidson/subscriptions","organizations_url":"https://api.github.com/users/david-davidson/orgs","repos_url":"https://api.github.com/users/david-davidson/repos","events_url":"https://api.github.com/users/david-davidson/events{/privacy}","received_events_url":"https://api.github.com/users/david-davidson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/david-davidson/victory","description":"A collection of composable react components for building interactive data visualizations","fork":true,"url":"https://api.github.com/repos/david-davidson/victory","forks_url":"https://api.github.com/repos/david-davidson/victory/forks","keys_url":"https://api.github.com/repos/david-davidson/victory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/david-davidson/victory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/david-davidson/victory/teams","hooks_url":"https://api.github.com/repos/david-davidson/victory/hooks","issue_events_url":"https://api.github.com/repos/david-davidson/victory/issues/events{/number}","events_url":"https://api.github.com/repos/david-davidson/victory/events","assignees_url":"https://api.github.com/repos/david-davidson/victory/assignees{/user}","branches_url":"https://api.github.com/repos/david-davidson/victory/branches{/branch}","tags_url":"https://api.github.com/repos/david-davidson/victory/tags","blobs_url":"https://api.github.com/repos/david-davidson/victory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/david-davidson/victory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/david-davidson/victory/git/refs{/sha}","trees_url":"https://api.github.com/repos/david-davidson/victory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/david-davidson/victory/statuses/{sha}","languages_url":"https://api.github.com/repos/david-davidson/victory/languages","stargazers_url":"https://api.github.com/repos/david-davidson/victory/stargazers","contributors_url":"https://api.github.com/repos/david-davidson/victory/contributors","subscribers_url":"https://api.github.com/repos/david-davidson/victory/subscribers","subscription_url":"https://api.github.com/repos/david-davidson/victory/subscription","commits_url":"https://api.github.com/repos/david-davidson/victory/commits{/sha}","git_commits_url":"https://api.github.com/repos/david-davidson/victory/git/commits{/sha}","comments_url":"https://api.github.com/repos/david-davidson/victory/comments{/number}","issue_comment_url":"https://api.github.com/repos/david-davidson/victory/issues/comments{/number}","contents_url":"https://api.github.com/repos/david-davidson/victory/contents/{+path}","compare_url":"https://api.github.com/repos/david-davidson/victory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/david-davidson/victory/merges","archive_url":"https://api.github.com/repos/david-davidson/victory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/david-davidson/victory/downloads","issues_url":"https://api.github.com/repos/david-davidson/victory/issues{/number}","pulls_url":"https://api.github.com/repos/david-davidson/victory/pulls{/number}","milestones_url":"https://api.github.com/repos/david-davidson/victory/milestones{/number}","notifications_url":"https://api.github.com/repos/david-davidson/victory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/david-davidson/victory/labels{/name}","releases_url":"https://api.github.com/repos/david-davidson/victory/releases{/id}","created_at":"2015-11-25T23:32:06Z","updated_at":"2015-11-25T23:32:07Z","pushed_at":"2015-12-15T22:40:53Z","git_url":"git://github.com/david-davidson/victory.git","ssh_url":"git@github.com:david-davidson/victory.git","clone_url":"https://github.com/david-davidson/victory.git","svn_url":"https://github.com/david-davidson/victory","homepage":"http://projects.formidablelabs.com/victory/","size":8713,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FormidableLabs:master","ref":"master","sha":"858946f77207404712b6aa74f92522530c9c36a2","user":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":38460192,"name":"victory","full_name":"FormidableLabs/victory","owner":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FormidableLabs/victory","description":"A collection of composable react components for building interactive data visualizations","fork":false,"url":"https://api.github.com/repos/FormidableLabs/victory","forks_url":"https://api.github.com/repos/FormidableLabs/victory/forks","keys_url":"https://api.github.com/repos/FormidableLabs/victory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FormidableLabs/victory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FormidableLabs/victory/teams","hooks_url":"https://api.github.com/repos/FormidableLabs/victory/hooks","issue_events_url":"https://api.github.com/repos/FormidableLabs/victory/issues/events{/number}","events_url":"https://api.github.com/repos/FormidableLabs/victory/events","assignees_url":"https://api.github.com/repos/FormidableLabs/victory/assignees{/user}","branches_url":"https://api.github.com/repos/FormidableLabs/victory/branches{/branch}","tags_url":"https://api.github.com/repos/FormidableLabs/victory/tags","blobs_url":"https://api.github.com/repos/FormidableLabs/victory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FormidableLabs/victory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FormidableLabs/victory/git/refs{/sha}","trees_url":"https://api.github.com/repos/FormidableLabs/victory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FormidableLabs/victory/statuses/{sha}","languages_url":"https://api.github.com/repos/FormidableLabs/victory/languages","stargazers_url":"https://api.github.com/repos/FormidableLabs/victory/stargazers","contributors_url":"https://api.github.com/repos/FormidableLabs/victory/contributors","subscribers_url":"https://api.github.com/repos/FormidableLabs/victory/subscribers","subscription_url":"https://api.github.com/repos/FormidableLabs/victory/subscription","commits_url":"https://api.github.com/repos/FormidableLabs/victory/commits{/sha}","git_commits_url":"https://api.github.com/repos/FormidableLabs/victory/git/commits{/sha}","comments_url":"https://api.github.com/repos/FormidableLabs/victory/comments{/number}","issue_comment_url":"https://api.github.com/repos/FormidableLabs/victory/issues/comments{/number}","contents_url":"https://api.github.com/repos/FormidableLabs/victory/contents/{+path}","compare_url":"https://api.github.com/repos/FormidableLabs/victory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FormidableLabs/victory/merges","archive_url":"https://api.github.com/repos/FormidableLabs/victory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FormidableLabs/victory/downloads","issues_url":"https://api.github.com/repos/FormidableLabs/victory/issues{/number}","pulls_url":"https://api.github.com/repos/FormidableLabs/victory/pulls{/number}","milestones_url":"https://api.github.com/repos/FormidableLabs/victory/milestones{/number}","notifications_url":"https://api.github.com/repos/FormidableLabs/victory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FormidableLabs/victory/labels{/name}","releases_url":"https://api.github.com/repos/FormidableLabs/victory/releases{/id}","created_at":"2015-07-02T22:36:50Z","updated_at":"2015-12-15T12:05:25Z","pushed_at":"2015-12-11T17:36:19Z","git_url":"git://github.com/FormidableLabs/victory.git","ssh_url":"git@github.com:FormidableLabs/victory.git","clone_url":"https://github.com/FormidableLabs/victory.git","svn_url":"https://github.com/FormidableLabs/victory","homepage":"http://projects.formidablelabs.com/victory/","size":9844,"stargazers_count":399,"watchers_count":399,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":35,"forks":6,"open_issues":35,"watchers":399,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FormidableLabs/victory/pulls/102"},"html":{"href":"https://github.com/FormidableLabs/victory/pull/102"},"issue":{"href":"https://api.github.com/repos/FormidableLabs/victory/issues/102"},"comments":{"href":"https://api.github.com/repos/FormidableLabs/victory/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/FormidableLabs/victory/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/FormidableLabs/victory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FormidableLabs/victory/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/FormidableLabs/victory/statuses/d8e423bdbab3590da1910fc0d07a183af1e16981"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":66,"deletions":36,"changed_files":11}}