Skip to content

Commit

Permalink
Fix codehelp docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed May 8, 2024
1 parent b975831 commit 50a9b90
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions frontend/web/components/CodeHelp.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,33 @@ const getGithubLink = (key) => {
const getDocsLink = (key) => {
switch (key) {
case '.NET':
return 'https://docs.flagsmith.com/clients/dotnet/'
return 'https://docs.flagsmith.com/clients/server-side?language=dotnet'
case 'curl':
return 'https://docs.flagsmith.com/clients/rest'
case 'Flutter':
return 'https://docs.flagsmith.com/clients/flutter/'
case 'Go':
return 'https://docs.flagsmith.com/clients/go/'
return 'https://docs.flagsmith.com/clients/server-side?language=go'
case 'Java':
return 'https://docs.flagsmith.com/clients/java/'
return 'https://docs.flagsmith.com/clients/server-side?language=java'
case 'JavaScript':
return 'https://docs.flagsmith.com/clients/javascript/'
case 'Node JS':
return 'https://docs.flagsmith.com/clients/node/'
return 'https://docs.flagsmith.com/clients/server-side?language=nodejs'
case 'PHP':
return 'https://docs.flagsmith.com/clients/php/'
return 'https://docs.flagsmith.com/clients/server-side?language=php'
case 'Python':
return 'https://docs.flagsmith.com/clients/python/'
return 'https://docs.flagsmith.com/clients/server-side?language=python'
case 'REST':
return null
case 'React':
return 'https://docs.flagsmith.com/clients/react'
case 'React Native':
return 'https://docs.flagsmith.com/clients/react'
case 'Ruby':
return 'https://docs.flagsmith.com/clients/ruby/'
return 'https://docs.flagsmith.com/clients/server-side?language=ruby'
case 'Rust':
return 'https://docs.flagsmith.com/clients/rust/'
return 'https://docs.flagsmith.com/clients/server-side?language=rust'
case 'iOS':
return 'https://docs.flagsmith.com/clients/ios/'
case 'Next.js':
Expand Down

0 comments on commit 50a9b90

Please sign in to comment.