From 3e5760f56d93b7797fb97a348624e2778ab864f4 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Wed, 14 Jul 2021 10:49:28 +0200 Subject: [PATCH] docs: link to correct doc in help command (#2631) Closes #2366 --- cmd/serve.go | 3 +-- docs/docs/cli/hydra-serve-admin.md | 4 +--- docs/docs/cli/hydra-serve-all.md | 4 +--- docs/docs/cli/hydra-serve-public.md | 4 +--- docs/docs/cli/hydra-serve.md | 4 +--- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/cmd/serve.go b/cmd/serve.go index 365afdf6993..31898191c82 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -23,7 +23,6 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/ory/hydra/driver/config" "github.com/ory/x/configx" ) @@ -32,7 +31,7 @@ var serveControls = `## Configuration ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation: ->> https://github.com/ory/hydra/blob/` + config.Commit + `/docs/docs/reference/config.md << +>> https://www.ory.sh/hydra/docs/reference/configuration << ` // serveCmd represents the host command diff --git a/docs/docs/cli/hydra-serve-admin.md b/docs/docs/cli/hydra-serve-admin.md index 2565a1dece8..f44e32c8a09 100644 --- a/docs/docs/cli/hydra-serve-admin.md +++ b/docs/docs/cli/hydra-serve-admin.md @@ -38,9 +38,7 @@ ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation: ->> -https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md -<< +>> https://www.ory.sh/hydra/docs/reference/configuration << ``` hydra serve admin [flags] diff --git a/docs/docs/cli/hydra-serve-all.md b/docs/docs/cli/hydra-serve-all.md index 80f92ca616a..03c45aa39c6 100644 --- a/docs/docs/cli/hydra-serve-all.md +++ b/docs/docs/cli/hydra-serve-all.md @@ -37,9 +37,7 @@ ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation: ->> -https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md -<< +>> https://www.ory.sh/hydra/docs/reference/configuration << ``` hydra serve all [flags] diff --git a/docs/docs/cli/hydra-serve-public.md b/docs/docs/cli/hydra-serve-public.md index 7f0d9618446..47a9d70373f 100644 --- a/docs/docs/cli/hydra-serve-public.md +++ b/docs/docs/cli/hydra-serve-public.md @@ -38,9 +38,7 @@ ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation: ->> -https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md -<< +>> https://www.ory.sh/hydra/docs/reference/configuration << ``` hydra serve public [flags] diff --git a/docs/docs/cli/hydra-serve.md b/docs/docs/cli/hydra-serve.md index 4198efe5922..e33155f4b46 100644 --- a/docs/docs/cli/hydra-serve.md +++ b/docs/docs/cli/hydra-serve.md @@ -41,9 +41,7 @@ ORY Hydra can be configured using environment variables as well as a configuration file. For more information on configuration options, open the configuration documentation: ->> -https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md -<< +>> https://www.ory.sh/hydra/docs/reference/configuration << ### Options