From 51fe09f0a390f0dc8d2e10dc94ee8b07b66d4198 Mon Sep 17 00:00:00 2001 From: Li0liQ Date: Wed, 7 Jun 2017 22:29:17 +1000 Subject: [PATCH] Fixed links to storybook.js.org. --- HISTORY.md | 2 +- app/react-native/src/server/addons.js | 2 +- app/react/README.md | 10 +++++----- app/react/addons.js | 2 +- app/react/demo/src/stories/Welcome.js | 2 +- examples/cra-storybook/src/stories/Welcome.js | 2 +- .../test-cra/src/__snapshots__/storyshots.test.js.snap | 2 +- examples/test-cra/src/stories/Welcome.js | 2 +- .../REACT_SCRIPTS/template/src/stories/Welcome.js | 2 +- .../template/.storybook/webpack.config.js | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 423b8ca19d34..2aa2f50d0984 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,6 @@ ## v.Next -- Deprecated `{ linkTo, action }` as built-in addons: . From 3.0 use them as you would [any other addon](https://storybook.js.org/docs/react-storybook/addons/using-addons/). +- Deprecated `{ linkTo, action }` as built-in addons: . From 3.0 use them as you would [any other addon](https://storybook.js.org/addons/using-addons/). Before: diff --git a/app/react-native/src/server/addons.js b/app/react-native/src/server/addons.js index 05ee4df423da..7a3afc8b7ae1 100644 --- a/app/react-native/src/server/addons.js +++ b/app/react-native/src/server/addons.js @@ -4,5 +4,5 @@ import '@storybook/addon-links/register'; deprecate( () => {}, - '@storybook/react-native/addons is deprecated. See https://storybook.js.org/docs/react-storybook/addons/using-addons/' + '@storybook/react-native/addons is deprecated. See https://storybook.js.org/addons/using-addons/' )(); diff --git a/app/react/README.md b/app/react/README.md index 573ea112c831..edf8681ef468 100644 --- a/app/react/README.md +++ b/app/react/README.md @@ -27,8 +27,8 @@ For more information visit: [storybook.js.org](https://storybook.js.org) * * * -Storybook also comes with a lot of [addons](https://storybook.js.org/docs/react-storybook/addons/introduction) and a great API to customize as you wish. -You can also build a [static version](https://storybook.js.org/docs/react-storybook/basics/exporting-storybook) of your storybook and deploy it anywhere you want. +Storybook also comes with a lot of [addons](https://storybook.js.org/addons/introduction) and a great API to customize as you wish. +You can also build a [static version](https://storybook.js.org/basics/exporting-storybook) of your storybook and deploy it anywhere you want. Here are some featured storybooks that you can reference to see how Storybook works: @@ -41,6 +41,6 @@ If you are using Typescript, make sure you have the type definitions installed v ## Docs -- [Basics](https://storybook.js.org/docs/react-storybook/basics/introduction) -- [Configurations](https://storybook.js.org/docs/react-storybook/configurations/default-config) -- [Addons](https://storybook.js.org/docs/react-storybook/addons/introduction) +- [Basics](https://storybook.js.org/basics/introduction) +- [Configurations](https://storybook.js.org/configurations/default-config) +- [Addons](https://storybook.js.org/addons/introduction) diff --git a/app/react/addons.js b/app/react/addons.js index 3a4c7938924c..71b3fb1f83e5 100644 --- a/app/react/addons.js +++ b/app/react/addons.js @@ -4,5 +4,5 @@ import '@storybook/addon-links/register'; deprecate( () => {}, - '@storybook/react/addons is deprecated. See https://storybook.js.org/docs/react-storybook/addons/using-addons/' + '@storybook/react/addons is deprecated. See https://storybook.js.org/addons/using-addons/' )(); diff --git a/app/react/demo/src/stories/Welcome.js b/app/react/demo/src/stories/Welcome.js index 6da890717aaf..9e944c427e65 100644 --- a/app/react/demo/src/stories/Welcome.js +++ b/app/react/demo/src/stories/Welcome.js @@ -99,7 +99,7 @@ export default class Welcome extends React.Component { {' '} Writing Stories diff --git a/examples/cra-storybook/src/stories/Welcome.js b/examples/cra-storybook/src/stories/Welcome.js index 65384f40d233..0679fdbeee3b 100644 --- a/examples/cra-storybook/src/stories/Welcome.js +++ b/examples/cra-storybook/src/stories/Welcome.js @@ -94,7 +94,7 @@ export default class Welcome extends React.Component { {' '} diff --git a/examples/test-cra/src/__snapshots__/storyshots.test.js.snap b/examples/test-cra/src/__snapshots__/storyshots.test.js.snap index 5fe5ee3ca2bb..ba78f9638b61 100644 --- a/examples/test-cra/src/__snapshots__/storyshots.test.js.snap +++ b/examples/test-cra/src/__snapshots__/storyshots.test.js.snap @@ -165,7 +165,7 @@ exports[`Storyshots Welcome to Storybook 1`] = ` Have a look at the diff --git a/lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js b/lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js index 4271b97fb902..ad2e19ccbc6f 100644 --- a/lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js +++ b/lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js @@ -94,7 +94,7 @@ export default class Welcome extends React.Component { {' '} diff --git a/lib/cli/generators/WEBPACK_REACT/template/.storybook/webpack.config.js b/lib/cli/generators/WEBPACK_REACT/template/.storybook/webpack.config.js index 985f61741c4b..17cc9b3be62e 100644 --- a/lib/cli/generators/WEBPACK_REACT/template/.storybook/webpack.config.js +++ b/lib/cli/generators/WEBPACK_REACT/template/.storybook/webpack.config.js @@ -1,6 +1,6 @@ // you can use this file to add your custom webpack plugins, loaders and anything you like. // This is just the basic way to add additional webpack configurations. -// For more information refer the docs: https://storybook.js.org/docs/react-storybook/configurations/custom-webpack-config +// For more information refer the docs: https://storybook.js.org/configurations/custom-webpack-config // IMPORTANT // When you add this file, we won't add the default configurations which is similar