From f0601849a538fdb2b28cd922dbfefac3014bce37 Mon Sep 17 00:00:00 2001 From: Aceix Date: Thu, 17 Oct 2024 10:35:36 +0000 Subject: [PATCH] fix: update documentation links to new docs (#3156) --- cli/cmd/user/groups.go | 2 +- cli/cmd/user/roles.go | 2 +- docs/Authentication.md | 2 +- pro/auth/error.go | 4 ++-- pro/auth/templates.go | 2 +- swagger.yaml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/cmd/user/groups.go b/cli/cmd/user/groups.go index 0406083e..0cb8db0a 100644 --- a/cli/cmd/user/groups.go +++ b/cli/cmd/user/groups.go @@ -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") }, } diff --git a/cli/cmd/user/roles.go b/cli/cmd/user/roles.go index 2bb880ef..fbb8a592 100644 --- a/cli/cmd/user/roles.go +++ b/cli/cmd/user/roles.go @@ -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") }, } diff --git a/docs/Authentication.md b/docs/Authentication.md index b1a7a444..bd084a97 100644 --- a/docs/Authentication.md +++ b/docs/Authentication.md @@ -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/). diff --git a/pro/auth/error.go b/pro/auth/error.go index eb49b876..9fb532d9 100644 --- a/pro/auth/error.go +++ b/pro/auth/error.go @@ -93,12 +93,12 @@ var htmlBaseTemplate = ` ` var oauthNotConfigured = fmt.Sprintf(htmlBaseTemplate, `

Your Netmaker server does not have OAuth configured.

-

Please visit the docs here to learn how to.

`) +

Please visit the docs here to learn how to.

`) var oauthStateInvalid = fmt.Sprintf(htmlBaseTemplate, `

Invalid OAuth Session. Please re-try again.

`) var userNotAllowed = fmt.Sprintf(htmlBaseTemplate, `

Your account does not have access to the dashboard. Please contact your administrator for more information about your account.

-

Non-Admins can access the netmaker networks using RemoteAccessClient.

`) +

Non-Admins can access the netmaker networks using our Remote Access Client.

`) var userFirstTimeSignUp = fmt.Sprintf(htmlBaseTemplate, `

Thank you for signing up. Please contact your administrator for access.

`) diff --git a/pro/auth/templates.go b/pro/auth/templates.go index 52b9cd52..10bee9ad 100644 --- a/pro/auth/templates.go +++ b/pro/auth/templates.go @@ -118,7 +118,7 @@ var ssoErrCallbackTemplate = template.Must(

Error reason: {.Verb}

Your Netmaker server may not have SSO configured properly. - Please visit the docs for more information. + Please visit the docs for more information.

If you feel this is a mistake, please contact your network administrator. diff --git a/swagger.yaml b/swagger.yaml index e0b27e4b..e3d8a276 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -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.