feat(client/curriculum): make python live (#52628)

This commit is contained in:
Tom
2023-12-19 19:37:12 -08:00
committed by GitHub
parent eadc44acda
commit 3846e46483
399 changed files with 127 additions and 79 deletions
+1
View File
@@ -53,6 +53,7 @@ const superBlockFolderMap = {
'upcoming-python': '20-upcoming-python',
'a2-english-for-developers': '21-a2-english-for-developers',
'rosetta-code': '22-rosetta-code',
'python-for-everybody': '23-python-for-everybody',
'example-certification': '99-example-certification'
};
@@ -25,6 +25,7 @@ export function getSuperBlockSubPath(superBlock: SuperBlocks): string {
[SuperBlocks.UpcomingPython]: '20-upcoming-python',
[SuperBlocks.A2English]: '21-a2-english-for-developers',
[SuperBlocks.RosettaCode]: '22-rosetta-code',
[SuperBlocks.PythonForEverybody]: '23-python-for-everybody',
[SuperBlocks.ExampleCertification]: '99-example-certification'
};
return pathMap[superBlock];
@@ -48,7 +48,8 @@ export const orderedSuperBlockInfo = [
{ dashedName: SuperBlocks.CodingInterviewPrep, public: false },
{ dashedName: SuperBlocks.ProjectEuler, public: false },
{ dashedName: SuperBlocks.RelationalDb, public: false },
{ dashedName: SuperBlocks.RosettaCode, public: false }
{ dashedName: SuperBlocks.RosettaCode, public: false },
{ dashedName: SuperBlocks.PythonForEverybody, public: false }
];
const dashedNames = orderedSuperBlockInfo.map(({ dashedName }) => dashedName);