Skip to content

Commit

Permalink
fix: update documentation links to new docs (#3156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceix authored Oct 17, 2024
1 parent e6609e4 commit f060184
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/user/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var userGroupCreateCmd = &cobra.Command{
Short: "create user group",
Long: `create user group`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("CLI doesn't support creation of groups currently. Visit the dashboard to create one or refer to our api documentation https://docs.v2.netmaker.io/reference")
fmt.Println("CLI doesn't support creation of groups currently. Visit the dashboard to create one or refer to our api documentation https://docs.netmaker.io/api")
},
}

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/user/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var userRoleCreateCmd = &cobra.Command{
Short: "create user role",
Long: `create user role`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("CLI doesn't support creation of roles currently. Visit the dashboard to create one or refer to our api documentation https://docs.v2.netmaker.io/reference")
fmt.Println("CLI doesn't support creation of roles currently. Visit the dashboard to create one or refer to our api documentation https://docs.netmaker.io/api")
},
}

Expand Down
2 changes: 1 addition & 1 deletion docs/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Call the api/users/adm/authenticate endpoint (see documentation below for detail

Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.

For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.org/index.html).
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.io/).
4 changes: 2 additions & 2 deletions pro/auth/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ var htmlBaseTemplate = `<!DOCTYPE html>
</html>`

var oauthNotConfigured = fmt.Sprintf(htmlBaseTemplate, `<h2>Your Netmaker server does not have OAuth configured.</h2>
<p>Please visit the docs <a href="https://docs.netmaker.org/oauth.html" target="_blank" rel="noopener">here</a> to learn how to.</p>`)
<p>Please visit the docs <a href="https://docs.netmaker.io/docs/server-installation/integrating-oauth" target="_blank" rel="noopener">here</a> to learn how to.</p>`)

var oauthStateInvalid = fmt.Sprintf(htmlBaseTemplate, `<h2>Invalid OAuth Session. Please re-try again.</h2>`)

var userNotAllowed = fmt.Sprintf(htmlBaseTemplate, `<h2>Your account does not have access to the dashboard. Please contact your administrator for more information about your account.</h2>
<p>Non-Admins can access the netmaker networks using <a href="https://docs.netmaker.io/pro/rac.html" target="_blank" rel="noopener">RemoteAccessClient.</a></p>`)
<p>Non-Admins can access the netmaker networks using <a href="https://docs.netmaker.io/docs/remote-access-client-rac#downloadinstallation" target="_blank" rel="noopener">our Remote Access Client.</a></p>`)

var userFirstTimeSignUp = fmt.Sprintf(htmlBaseTemplate, `<h2>Thank you for signing up. Please contact your administrator for access.</h2>`)

Expand Down
2 changes: 1 addition & 1 deletion pro/auth/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var ssoErrCallbackTemplate = template.Must(
<h4>Error reason: {.Verb}</h4>
<em>Your Netmaker server may not have SSO configured properly.</em>
<em>
Please visit the <a href="https://docs.netmaker.org/oauth.html" target="_blank" rel="noopener">docs</a> for more information.
Please visit the <a href="https://docs.netmaker.io/docs/server-installation/integrating-oauth" target="_blank" rel="noopener">docs</a> for more information.
</em>
<p>
If you feel this is a mistake, please contact your network administrator.
Expand Down
2 changes: 1 addition & 1 deletion swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3098,7 +3098,7 @@ tags:
Note: While a MasterKey exists (configurable via env var or config file), it should be considered a backup option, used only when server access is lost. By default, this key is "secret key," but it's crucial to change this and keep it secure in your instance.
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.org/index.html).
For more information on configuration and security best practices, refer to the [Netmaker documentation](https://docs.netmaker.io/).
name: Authentication
- description: |
Check out our [Pricing](https://www.netmaker.io/pricing). And Feel Free to [Contact Us](https://www.netmaker.io/contact) if you have any questions or need some clarifications.
Expand Down

0 comments on commit f060184

Please sign in to comment.