-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove docsBaseUrl and refactor constants
BREAKING CHANGE: The docsBaseUrl prop was removed. Documentation will always be at https://docs.nmrium.org
- Loading branch information
Showing
8 changed files
with
33 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const docsBaseUrl = 'https://docs.nmrium.org'; | ||
|
||
export const helpList: Record<string, { text: string; filePath: string }> = { | ||
zoomIn: { | ||
text: 'Zoom Tool', | ||
filePath: `${docsBaseUrl}/help/zoom-and-scale`, | ||
}, | ||
peakPicking: { | ||
text: 'peak picking tool', | ||
filePath: `${docsBaseUrl}/help/peaks`, | ||
}, | ||
integralPicking: { | ||
text: 'integral tool', | ||
filePath: `${docsBaseUrl}/help/integrations`, | ||
}, | ||
fullScreen: { | ||
text: 'Full Screen mode', | ||
filePath: `${docsBaseUrl}/help/general`, | ||
}, | ||
loadSpectrum: { | ||
text: 'load spectrums', | ||
filePath: `${docsBaseUrl}/help/loading-a-spectrum`, | ||
}, | ||
}; |