@@ -50,6 +50,8 @@ type SelectFileContext = {
5050 pathType ?: PathType ;
5151} ;
5252
53+ export const manageSolutionTargetDocsUrl = 'https://mdk-packs.github.io/vscode-cmsis-solution-docs/manage_settings.html' ;
54+
5355export const ManageSolution = ( props : ManageSolutionProps ) => {
5456 const [ state , dispatch ] = React . useReducer ( manageSolutionReducer , initialState ) ;
5557 // Eager local editable values snapshot (display-layer values). Numbers are stored scaled for user editing.
@@ -274,7 +276,7 @@ export const ManageSolution = (props: ManageSolutionProps) => {
274276 } , [ adapter , selectedDebugAdapter , getProperty , getScaledProperty , keyFor ] ) ;
275277
276278 const showCoreSelector = state . solutionData . availableCoreNames !== undefined && state . solutionData . availableCoreNames . length > 1 ;
277-
279+ const debugAdapterConfigurationDocsUrl = 'https://mdk-packs.github.io/vscode-cmsis-solution-docs/debug.html#configure-run-and-debug' ;
278280 const externalLink = ( link : string , title : string , external ?: boolean ) : React . JSX . Element => {
279281 return ( < Button
280282 color = "default"
@@ -318,12 +320,12 @@ export const ManageSolution = (props: ManageSolutionProps) => {
318320 color = "default"
319321 variant = "link"
320322 style = { { padding : '0px 12px' } }
321- title = "Manage Solution Target"
323+ title = { manageSolutionTargetDocsUrl }
322324 aria-label = 'Manage Solution Target'
323325 onClick = { ( e ) => {
324326 e . preventDefault ( ) ;
325327 e . stopPropagation ( ) ;
326- openFile ( 'https://mdk-packs.github.io/vscode-cmsis-solution-docs/manage_settings.html' , true ) ;
328+ openFile ( manageSolutionTargetDocsUrl , true ) ;
327329 } }
328330 >
329331 < CmsisCodicon name = 'link-external' style = { { fontSize : '1em' , display : 'inline' } } />
@@ -361,7 +363,7 @@ export const ManageSolution = (props: ManageSolutionProps) => {
361363 < section className = "debug-adapter" >
362364 < div className = 'manage-solution-header' >
363365 < h3 > Debug Adapter for Target { state . solutionData . selectedTarget ?. name } { state . solutionData . selectedTarget ?. selectedSet && `@${ state . solutionData . selectedTarget ?. selectedSet } ` } </ h3 >
364- { externalLink ( 'https://open-cmsis-pack.github.io/cmsis-toolbox/debugging/#debug-adapter-configuration' , 'Debug Adapter Configuration' , true ) }
366+ { externalLink ( debugAdapterConfigurationDocsUrl , debugAdapterConfigurationDocsUrl , true ) }
365367 </ div >
366368
367369 < table >
0 commit comments