Skip to content

Commit caf4685

Browse files
committed
Updated URLs for ReactTraining org move.
1 parent 800991c commit caf4685

File tree

11 files changed

+25
-27
lines changed

11 files changed

+25
-27
lines changed

ISSUE_TEMPLATE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Have a usage question?
66
The issue tracker isn't the best place for usage questions. This format is not well-suited for Q&A, and questions here don't have as much visibility as they do elsewhere. Before you ask a question, here are some resources to get help first:
77
88
- Do the tutorial: https://github.com/reactjs/react-router-tutorial
9-
- Read the docs: https://github.com/reactjs/react-router/tree/latest/docs
10-
- Explore examples: https://github.com/reactjs/react-router/tree/latest/examples
9+
- Read the docs: https://github.com/ReactTraining/react-router/tree/latest/docs
10+
- Explore examples: https://github.com/ReactTraining/react-router/tree/latest/examples
1111
- Look for/ask questions on stack overflow: https://stackoverflow.com/questions/ask?tags=react-router
1212
- Ask in chat: https://discord.gg/0ZcbPKXt5bYaNQ46
1313
@@ -34,4 +34,3 @@ http://jsbin.com/sacerobuxi/edit?html,js,output
3434
## Expected Behavior
3535

3636
## Actual Behavior
37-

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ React Router keeps your UI in sync with the URL. It has a simple API with powerf
1111

1212
### Docs & Help
1313

14-
- [Tutorial – do this first!](https://github.com/reactjs/react-router-tutorial)
14+
- [Tutorial – do this first!](https://github.com/ReactTraining/react-router-tutorial)
1515
- [Guides and API docs](/docs)
16-
- [Troubleshooting guide](https://github.com/reactjs/react-router/blob/master/docs/Troubleshooting.md)
16+
- [Troubleshooting guide](https://github.com/ReactTraining/react-router/blob/master/docs/Troubleshooting.md)
1717
- [Changelog](/CHANGES.md)
1818
- [Stack Overflow](http://stackoverflow.com/questions/tagged/react-router)
1919
- [CodePen boilerplate](http://codepen.io/anon/pen/xwQZdy?editors=001) for bug reports
2020

2121
**Older Versions:**
2222

23-
- 0.13.x - [docs](https://github.com/reactjs/react-router/tree/v0.13.6/doc) / [guides](https://github.com/reactjs/react-router/tree/v0.13.6/docs/guides) / [code](https://github.com/reactjs/react-router/tree/v0.13.6) / [upgrade guide](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v1.0.0.md)
24-
- 1.0.x - [docs](https://github.com/reactjs/react-router/tree/1.0.x/docs) / [code](https://github.com/reactjs/react-router/tree/1.0.x) / [upgrade guide](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md)
23+
- 0.13.x - [docs](https://github.com/ReactTraining/react-router/tree/v0.13.6/doc) / [guides](https://github.com/ReactTraining/react-router/tree/v0.13.6/docs/guides) / [code](https://github.com/ReactTraining/react-router/tree/v0.13.6) / [upgrade guide](/upgrade-guides/v1.0.0.md)
24+
- 1.0.x - [docs](https://github.com/ReactTraining/react-router/tree/1.0.x/docs) / [code](https://github.com/ReactTraining/react-router/tree/1.0.x) / [upgrade guide](/upgrade-guides/v2.0.0.md)
2525

2626
For questions and support, please visit [our channel on Reactiflux](https://discord.gg/0ZcbPKXt5bYaNQ46) or [Stack Overflow](http://stackoverflow.com/questions/tagged/react-router).
2727

@@ -136,14 +136,14 @@ React Router was initially inspired by Ember's fantastic router. Many thanks to
136136

137137
Also, thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to run our build in real browsers.
138138

139-
[build-badge]: https://img.shields.io/travis/reactjs/react-router/master.svg?style=flat-square
140-
[build]: https://travis-ci.org/reactjs/react-router
139+
[build-badge]: https://img.shields.io/travis/ReactTraining/react-router/master.svg?style=flat-square
140+
[build]: https://travis-ci.org/ReactTraining/react-router
141141

142142
[npm-badge]: https://img.shields.io/npm/v/react-router.svg?style=flat-square
143143
[npm]: https://www.npmjs.org/package/react-router
144144

145-
[codecov-badge]: https://img.shields.io/codecov/c/github/reactjs/react-router/master.svg?style=flat-square
146-
[codecov]: https://codecov.io/gh/reactjs/react-router
145+
[codecov-badge]: https://img.shields.io/codecov/c/github/ReactTraining/react-router/master.svg?style=flat-square
146+
[codecov]: https://codecov.io/gh/ReactTraining/react-router
147147

148148
[discord-badge]: https://img.shields.io/badge/Discord-join%20chat%20%E2%86%92-738bd7.svg?style=flat-square
149149
[discord]: https://discord.gg/0ZcbPKXt5bYaNQ46

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ A `<Link>` can know when the route it links to is active and automatically apply
105105

106106
#### Props
107107
##### `to`
108-
A [location descriptor](https://github.com/reactjs/react-router/blob/master/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
108+
A [location descriptor](/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
109109

110110
* If it's a string it represents the absolute path to link to, e.g. `/users/123` (relative paths are not supported).
111111
* If it's an object it can have four keys:

docs/guides/ConfirmingNavigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ const Home = withRouter(
2323
)
2424
```
2525

26-
Note that this example makes use of the [withRouter](https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md) higher-order component introduced in v2.4.0.
26+
Note that this example makes use of the [withRouter](/upgrade-guides/v2.4.0.md) higher-order component introduced in v2.4.0.

docs/guides/DynamicRouting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ const CourseRoute = {
4646

4747
Now go look at what hacks you have in place to do this. Just kidding, I don't want to make you sad right now.
4848

49-
Run the [huge apps](https://github.com/reactjs/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.
49+
Run the [huge apps](https://github.com/ReactTraining/react-router/tree/master/examples/huge-apps) example with your web inspector open and watch code get loaded in as you navigate around the demo.

docs/guides/Histories.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Histories
22

3-
React Router is built with [history](https://github.com/reactjs/history).
3+
React Router is built with [history](https://github.com/mjackson/history).
44
In a nutshell, a history knows how to listen to the browser's address
55
bar for changes and parses the URL into a `location` object that the
66
router can use to match routes and render the correct set of components.
@@ -172,4 +172,3 @@ history.listenBeforeUnload(function () {
172172
return 'Are you sure you want to leave this page?'
173173
})
174174
```
175-

docs/guides/RouteConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Now when someone clicks on that link to `/inbox/messages/5` they'll automaticall
168168

169169
### Enter and Leave Hooks
170170

171-
[Route](/docs/Glossary.md#route)s may also define [`onEnter`](/docs/Glossary.md#enterhook) and [`onLeave`](/docs/Glossary.md#leavehook) hooks that are invoked once a transition has been [confirmed](/docs/guides/ConfirmingNavigation.md). These hooks are useful for various things like [requiring auth](https://github.com/reactjs/react-router/tree/master/examples/auth-flow) when a route is entered and saving stuff to persistent storage before a route unmounts.
171+
[Route](/docs/Glossary.md#route)s may also define [`onEnter`](/docs/Glossary.md#enterhook) and [`onLeave`](/docs/Glossary.md#leavehook) hooks that are invoked once a transition has been [confirmed](/docs/guides/ConfirmingNavigation.md). These hooks are useful for various things like [requiring auth](https://github.com/ReactTraining/react-router/tree/master/examples/auth-flow) when a route is entered and saving stuff to persistent storage before a route unmounts.
172172

173173
During a transition, [`onLeave` hooks](/docs/Glossary.md#leavehook) run first on all routes we are leaving, starting with the leaf route on up to the first common ancestor route. Next, [`onEnter` hooks](/docs/Glossary.md#enterhook) run starting with the first parent route we're entering down to the leaf route.
174174

docs/guides/Testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
React Router Testing With Jest
22
====================
3-
Testing has become much easier since React Router version 1.x. For Testing prior React Router versions, see [Old testing docs](https://github.com/reactjs/react-router/blob/57543eb41ce45b994a29792d77c86cc10b51eac9/docs/guides/testing.md).
3+
Testing has become much easier since React Router version 1.x. For Testing prior React Router versions, see [Old testing docs](https://github.com/ReactTraining/react-router/blob/57543eb41ce45b994a29792d77c86cc10b51eac9/docs/guides/testing.md).
44

55
It is recommended that you read the following two tutorials prior:
66
- [Jest Getting Started docs](https://facebook.github.io/jest/docs/getting-started.html)

modules/__tests__/_bc-Router-test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ describe('v1 Router', function () {
173173

174174
describe('at a route with special characters', function () {
175175
it('does not double escape', function (done) {
176-
// https://github.com/reactjs/react-router/issues/1574
176+
// https://github.com/ReactTraining/react-router/issues/1574
177177
class MyComponent extends Component {
178178
render() {
179179
return <div>{this.props.params.someToken}</div>
@@ -191,7 +191,7 @@ describe('v1 Router', function () {
191191
})
192192

193193
it('does not double escape when nested', function (done) {
194-
// https://github.com/reactjs/react-router/issues/1574
194+
// https://github.com/ReactTraining/react-router/issues/1574
195195
class MyWrapperComponent extends Component {
196196
render() {
197197
return this.props.children
@@ -217,7 +217,7 @@ describe('v1 Router', function () {
217217
})
218218

219219
it('is happy to have colons in parameter values', function (done) {
220-
// https://github.com/reactjs/react-router/issues/1759
220+
// https://github.com/ReactTraining/react-router/issues/1759
221221
class MyComponent extends Component {
222222
render() {
223223
return <div>{this.props.params.foo}</div>
@@ -235,7 +235,7 @@ describe('v1 Router', function () {
235235
})
236236

237237
it('handles % in parameters', function (done) {
238-
// https://github.com/reactjs/react-router/issues/1766
238+
// https://github.com/ReactTraining/react-router/issues/1766
239239
class MyComponent extends Component {
240240
render() {
241241
return <div>{this.props.params.name}</div>
@@ -253,7 +253,7 @@ describe('v1 Router', function () {
253253
})
254254

255255
it('handles forward slashes', function (done) {
256-
// https://github.com/reactjs/react-router/issues/1865
256+
// https://github.com/ReactTraining/react-router/issues/1865
257257
class Parent extends Component {
258258
render() {
259259
return <div>{this.props.children}</div>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
],
1212
"main": "lib/index",
1313
"jsnext:main": "es6/index",
14-
"repository": "reactjs/react-router",
15-
"homepage": "https://github.com/reactjs/react-router#readme",
16-
"bugs": "https://github.com/reactjs/react-router/issues",
14+
"repository": "ReactTraining/react-router",
15+
"homepage": "https://github.com/ReactTraining/react-router#readme",
16+
"bugs": "https://github.com/ReactTraining/react-router/issues",
1717
"scripts": {
1818
"build": "npm run build-cjs && npm run build-es",
1919
"build-cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel ./modules -d lib --ignore '__tests__'",

0 commit comments

Comments
 (0)