Skip to content

Commit

Permalink
docs: link to correct doc in help command (#2631)
Browse files Browse the repository at this point in the history
Closes #2366
  • Loading branch information
aeneasr authored Jul 14, 2021
1 parent b98676e commit 3e5760f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
3 changes: 1 addition & 2 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ package cmd
import (
"github.com/spf13/cobra"

"github.com/ory/hydra/driver/config"
"github.com/ory/x/configx"
)

Expand All @@ -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
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/cli/hydra-serve-admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

&gt;&gt;
https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md
&lt;&lt;
&gt;&gt; https://www.ory.sh/hydra/docs/reference/configuration &lt;&lt;

```
hydra serve admin [flags]
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/cli/hydra-serve-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

&gt;&gt;
https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md
&lt;&lt;
&gt;&gt; https://www.ory.sh/hydra/docs/reference/configuration &lt;&lt;

```
hydra serve all [flags]
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/cli/hydra-serve-public.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

&gt;&gt;
https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md
&lt;&lt;
&gt;&gt; https://www.ory.sh/hydra/docs/reference/configuration &lt;&lt;

```
hydra serve public [flags]
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/cli/hydra-serve.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

&gt;&gt;
https://github.com/ory/hydra/blob/undefined/docs/docs/reference/config.md
&lt;&lt;
&gt;&gt; https://www.ory.sh/hydra/docs/reference/configuration &lt;&lt;

### Options

Expand Down

0 comments on commit 3e5760f

Please sign in to comment.