diff --git a/client/plugins/fcc-source-challenges/create-challenge-nodes.js b/client/plugins/fcc-source-challenges/create-challenge-nodes.js index 59718353e6..21721d8466 100644 --- a/client/plugins/fcc-source-challenges/create-challenge-nodes.js +++ b/client/plugins/fcc-source-challenges/create-challenge-nodes.js @@ -1,7 +1,10 @@ const crypto = require('crypto'); function createChallengeNode(challenge, reporter) { - if (typeof challenge.description[0] !== 'string') { + if ( + typeof challenge.description[0] !== 'string' && + challenge.challengeType !== 11 + ) { reporter.warn(` ${challenge.title} has a description that will break things! diff --git a/client/utils/challengeTypes.js b/client/utils/challengeTypes.js index 4158942735..1349fcc908 100644 --- a/client/utils/challengeTypes.js +++ b/client/utils/challengeTypes.js @@ -126,5 +126,9 @@ exports.helpCategory = { 'data-analysis-with-python-projects': 'Certification Projects', 'machine-learning-with-python': 'Certification Projects', 'machine-learning-with-python-projects': 'Certification Projects', - 'python-for-everybody': 'Python' + 'python-for-everybody': 'Python', + tensorflow: 'Python', + 'how-neural-networks-work': 'Python', + numpy: 'Python', + 'data-analysis-with-python-course': 'Python' }; diff --git a/curriculum/challenges/_meta/lectures-python-for-everybody/meta.json b/curriculum/challenges/_meta/lectures-python-for-everybody/meta.json index a6ec349965..78939364f2 100644 --- a/curriculum/challenges/_meta/lectures-python-for-everybody/meta.json +++ b/curriculum/challenges/_meta/lectures-python-for-everybody/meta.json @@ -229,34 +229,6 @@ [ "5e7b9f6a0b6c005b0e76f097", "Viz C" - ], - [ - "5e7b9f6a0b6c005b0e76f098", - "Viz Geodata" - ], - [ - "5e7b9f6a0b6c005b0e76f099", - "Viz Gmane Model" - ], - [ - "5e7b9f6b0b6c005b0e76f09a", - "Viz Gmane Spider" - ], - [ - "5e7b9f6b0b6c005b0e76f09b", - "Viz Gmane Viz" - ], - [ - "5e7b9f6b0b6c005b0e76f09c", - "Viz Page Rank" - ], - [ - "5e7b9f6b0b6c005b0e76f09d", - "Viz Page Spider" - ], - [ - "5e7b9f6c0b6c005b0e76f09e", - "Viz Page Viz" ] ] } \ No newline at end of file diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/lectures-python-for-everybody/database-email.english.md b/curriculum/challenges/english/07-scientific-computing-with-python/lectures-python-for-everybody/database-email.english.md deleted file mode 100644 index deb5336a9a..0000000000 --- a/curriculum/challenges/english/07-scientific-computing-with-python/lectures-python-for-everybody/database-email.english.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -id: 5e6a54a558d3af90110a60a0 -title: Introduction A -challengeType: 11 -isRequired: true -videoId: 3muQV-Im3Z0 ---- - -## Description -
- -
- -## Tests -
- -```yml -question: - text: 'Who should learn to program?' - answers: - - 'College students.' - - 'People who want to become software developers.' - - 'Everyone.' - solution: 3 -``` - -
diff --git a/curriculum/schema/challengeSchema.js b/curriculum/schema/challengeSchema.js index 11bc46fa16..f5136ed075 100644 --- a/curriculum/schema/challengeSchema.js +++ b/curriculum/schema/challengeSchema.js @@ -15,7 +15,7 @@ function getSchemaForLang(lang) { checksum: Joi.number(), dashedName: Joi.string(), description: Joi.when('challengeType', { - is: challengeTypes.step, + is: Joi.only([challengeTypes.step, challengeTypes.video]), then: Joi.string().allow(''), otherwise: Joi.string().required() }), @@ -41,6 +41,7 @@ function getSchemaForLang(lang) { ), guideUrl: Joi.string().uri({ scheme: 'https' }), videoUrl: Joi.string().allow(''), + videoId: Joi.string(), forumTopicId: Joi.number(), helpRoom: Joi.string(), id: Joi.objectId().required(),