Skip to content

Commit

Permalink
Update Source documentation links
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Jun 23, 2021
1 parent c8676e4 commit 1147d41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/commons/__tests__/__snapshots__/Markdown.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Markdown page renders correctly 1`] = `
"<Memo(Markdown) content=\\"\\\\nWelcome to the Source Academy playground!\\\\n\\\\nThe language [_Source_](https://source-academy.github.io/source/) is the official language of the textbook [_Structure and\\\\nInterpretation of Computer Programs, JavaScript Adaptation_](https://sourceacademy.org/interactive-sicp/). You have chosen the sublanguage [_Source §1_](https://source-academy.github.io/source/source_1/).\\\\n\\\\nIn the editor on the left, you can use the [_Ace keyboard shortcuts_](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts) \\\\nand also the [_Source Academy keyboard shortcuts_](https://github.com/source-academy/cadet-frontend/wiki/Source-Academy-Keyboard-Shortcuts).\\\\n\\\\n\\" openLinksInNewWindow={true}>
"<Memo(Markdown) content=\\"\\\\nWelcome to the Source Academy playground!\\\\n\\\\nThe language [_Source_](https://docs.sourceacademy.org/) is the official language of the textbook [_Structure and\\\\nInterpretation of Computer Programs, JavaScript Adaptation_](https://sourceacademy.org/interactive-sicp/). You have chosen the sublanguage [_Source §1_](https://docs.sourceacademy.org/source_1/).\\\\n\\\\nIn the editor on the left, you can use the [_Ace keyboard shortcuts_](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts) \\\\nand also the [_Source Academy keyboard shortcuts_](https://github.com/source-academy/cadet-frontend/wiki/Source-Academy-Keyboard-Shortcuts).\\\\n\\\\n\\" openLinksInNewWindow={true}>
<div className=\\"md bp3-running-text\\" dangerouslySetInnerHTML={{...}} />
</Memo(Markdown)>"
`;
22 changes: 11 additions & 11 deletions src/commons/utils/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export enum Links {
piazza = 'https://piazza.com/class/kas136yscf8605',

sourceAcademyAssets = 'https://source-academy-assets.s3-ap-southeast-1.amazonaws.com',
sourceDocs = 'https://source-academy.github.io/source/',
sourceDocs = 'https://docs.sourceacademy.org/',
techSVC = 'mailto:techsvc@comp.nus.edu.sg',
techSVCNumber = '6516 2736',
textbook = 'https://sourceacademy.org/interactive-sicp/',
Expand All @@ -87,16 +87,16 @@ export enum Links {
aceHotkeys = 'https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts',
sourceHotkeys = 'https://github.com/source-academy/cadet-frontend/wiki/Source-Academy-Keyboard-Shortcuts',

source_1 = 'https://source-academy.github.io/source/source_1/',
source_1_Lazy = 'https://source-academy.github.io/source/source_1_lazy/',
source_1_Wasm = 'https://source-academy.github.io/source/source_1_wasm/',
source_2 = 'https://source-academy.github.io/source/source_2/',
source_2_Lazy = 'https://source-academy.github.io/source/source_2_lazy/',
source_3 = 'https://source-academy.github.io/source/source_3/',
source_3_Concurrent = 'https://source-academy.github.io/source/source_3_concurrent/',
source_3_Nondet = 'https://source-academy.github.io/source/source_3_non-det/',
source_4 = 'https://source-academy.github.io/source/source_4/',
source_4_Gpu = 'https://source-academy.github.io/source/source_4_gpu/'
source_1 = 'https://docs.sourceacademy.org/source_1/',
source_1_Lazy = 'https://docs.sourceacademy.org/source_1_lazy/',
source_1_Wasm = 'https://docs.sourceacademy.org/source_1_wasm/',
source_2 = 'https://docs.sourceacademy.org/source_2/',
source_2_Lazy = 'https://docs.sourceacademy.org/source_2_lazy/',
source_3 = 'https://docs.sourceacademy.org/source_3/',
source_3_Concurrent = 'https://docs.sourceacademy.org/source_3_concurrent/',
source_3_Nondet = 'https://docs.sourceacademy.org/source_3_non-det/',
source_4 = 'https://docs.sourceacademy.org/source_4/',
source_4_Gpu = 'https://docs.sourceacademy.org/source_4_gpu/'
}

const Constants = {
Expand Down

0 comments on commit 1147d41

Please sign in to comment.