From 4b0a4d3fd6a57fdc510c8a95c4ac29a0be292c04 Mon Sep 17 00:00:00 2001 From: Fernando Daciuk Date: Mon, 31 Oct 2016 15:24:46 -0200 Subject: [PATCH] Fix docs urls - #51 --- src/docs/react-storybook/configurations/env-vars.js | 2 +- src/docs/storybook-hub/management-features/env-variables.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/react-storybook/configurations/env-vars.js b/src/docs/react-storybook/configurations/env-vars.js index abe0f63d1096..522a345d9925 100644 --- a/src/docs/react-storybook/configurations/env-vars.js +++ b/src/docs/react-storybook/configurations/env-vars.js @@ -25,7 +25,7 @@ export default { ## Build time environment variables - You can also pass these environment variables when you are [building your storybook](http://localhost:3000/docs/react-storybook/basics/exporting-storybook) with \`build-storybook\`. + You can also pass these environment variables when you are [building your storybook](/docs/react-storybook/basics/exporting-storybook) with \`build-storybook\`. Then they'll be hard coded to the static version of your Storybook. diff --git a/src/docs/storybook-hub/management-features/env-variables.js b/src/docs/storybook-hub/management-features/env-variables.js index 0456642b042c..a3aa7cf1f127 100644 --- a/src/docs/storybook-hub/management-features/env-variables.js +++ b/src/docs/storybook-hub/management-features/env-variables.js @@ -7,7 +7,7 @@ export default { id: "env-variables", title: "Environment Varibles", content: stripIndent` - You can pass dynamic information to Storybook via environmental variables. This can be used to pass configurations and secrets. Here's [how to](https://getstorybook.io/docs/react-storybook/configurations/env-vars) use them with storybook. + You can pass dynamic information to Storybook via environmental variables. This can be used to pass configurations and secrets. Here's [how to](/docs/react-storybook/configurations/env-vars) use them with storybook. As you expected, you can set env variables directly from Storybook Hub. Therefore, you don't need to commit those configuration into GitHub or any other store.