File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -712,10 +712,12 @@ content_type = "block"
712712help = " Embed a quiz with a question argument, using the quizchoice directive to construct answer options."
713713example = """ .. quiz::
714714 :quiz-id: ${1:string}
715-
716- ${2:string}"""
715+ :quiz-date: ${2:string}
716+
717+ ${3:string}"""
717718argument_type = " string"
718719options.quiz-id = {type = " string" , required = true }
720+ options.quiz-date = " string"
719721
720722[directive ."mongodb:quizchoice" ]
721723content_type = " block"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def test_quiz() -> None:
3838 check_ast_testing_string (
3939 page .ast ,
4040 """<root fileid="test_quiz.rst">
41- <directive name="quiz" domain="mongodb" quiz-id="mongoacc1">
41+ <directive name="quiz" domain="mongodb" quiz-id="mongoacc1" quiz-date="2021-06-21" >
4242 <paragraph><text>With my MongoDB account, I can now access?</text></paragraph>
4343 <directive name="quizchoice" domain="mongodb">
4444 <text>MongoDB Atlas</text>
Original file line number Diff line number Diff line change 11.. quiz ::
22 :quiz-id: mongoacc1
3+ :quiz-date: 2021-06-21
34
45 With my MongoDB account, I can now access?
56
You can’t perform that action at this time.
0 commit comments