jhudsl / ottrpal

Tools for converting OTTR courses into Leanpub or Coursera courses :otter:
https://jhudatascience.org/ottrpal/
GNU General Public License v3.0
3 stars 1 forks source link

Add check that quizzes exist #81

Closed carriewright11 closed 2 years ago

carriewright11 commented 2 years ago

add check for quizzes based on #79

cansavvy commented 2 years ago

I don't think we need this necessarily. I could see someone wanting to publish on Leanpub and not have quizzes. Or not have quizzes yet. And not having quizzes won't make this fail (I don't think).

carriewright11 commented 2 years ago

hmmm without quizzes though... idk if they can do a certificate...

carriewright11 commented 2 years ago

(for ITCR I mean..) but yes useful still for making books I think

cansavvy commented 2 years ago

By default it looks for quizzes and will warn them if it's not found. But if someone doesn't want to have quizzes they can say quiz_dir = NULL and it will skip that. I think this covers these use cases in a reasonable manner if you are okay with that.