Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 220
More config values for Runcstone components#867
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
0b1a55aad5bb1dae919297ab3f185d8ae5d750ef5a789815e90d33ed203de5deed1f01ac5b251File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -48,6 +48,7 @@ build_info | ||
| # IDEs | ||
| .vscode/ | ||
| .vs/ | ||
| **/sphinx-enki-info.txt | ||
| # Mac stuff | ||
| .DS_Store | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -297,3 +297,7 @@ htmlhelp_basename = 'PythonCoursewareProjectdoc' | ||
| #shortanswer_optional_div_class = 'journal alert alert-success' | ||
| #showeval_div_class = 'runestone explainer alert alert-warning' | ||
| #tabbed_div_class = 'alert alert-warning' | ||
| #mchoice_compare_button_show - if False, hide the 'Compare me' button (default True) | ||
| #mchoice_compare_button_show = True | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a brief description of what this option controls for both of these. Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In fitb.py and multiplechoice.py there are these two comments:
Should I add these to conf.tmpl as well? Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, exactly. | ||
| #fitb_compare_button_show - if False, hide the 'Compare me' button (default True) | ||
| #fitb_compare_button_show = True | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| from .update import * |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,119 @@ | ||
| ============================== | ||
| Testing update-config direcive | ||
| ============================== | ||
| Multiple Choice | ||
| --------------- | ||
| .. mchoice:: question1 | ||
| :multiple_answers: | ||
| :correct: a,b,d | ||
| :answer_a: red | ||
| :answer_b: yellow | ||
| :answer_c: black | ||
| :answer_d: green | ||
| :feedback_a: Red is a definitely on of the colors. | ||
| :feedback_b: Yes, yellow is correct. | ||
| :feedback_c: Remember the acronym...ROY G BIV. B stands for blue. | ||
| :feedback_d: Yes, green is one of the colors. | ||
| Which colors might be found in a rainbow? (choose all that are correct) | ||
| Fill in the Blank | ||
| ----------------- | ||
| .. fillintheblank:: fill1 | ||
| Fill in the blanks to make the following sentence: "The red car drove away." | ||
| The |blank| car drove |blank|. | ||
| - :red: Correct. | ||
| :x: Incorrect. Try 'red'. | ||
| - :away: Correct. | ||
| :x: Incorrect. Try 'away'. | ||
| .. update-config:: | ||
| :set_config_option: mchoice_compare_button_show False | ||
| .. update-config:: | ||
| :set_config_option: fitb_compare_button_show False | ||
| Multiple Choice | ||
| --------------- | ||
| .. mchoice:: question2 | ||
| :multiple_answers: | ||
| :correct: a,b,d | ||
| :answer_a: red | ||
| :answer_b: yellow | ||
| :answer_c: black | ||
| :answer_d: green | ||
| :feedback_a: Red is a definitely on of the colors. | ||
| :feedback_b: Yes, yellow is correct. | ||
| :feedback_c: Remember the acronym...ROY G BIV. B stands for blue. | ||
| :feedback_d: Yes, green is one of the colors. | ||
| Which colors might be found in a rainbow? (choose all that are correct) | ||
| Fill in the Blank | ||
| ----------------- | ||
| .. fillintheblank:: fill2 | ||
| Fill in the blanks to make the following sentence: "The red car drove away." | ||
| The |blank| car drove |blank|. | ||
| - :red: Correct. | ||
| :x: Incorrect. Try 'red'. | ||
| - :away: Correct. | ||
| :x: Incorrect. Try 'away'. | ||
| .. update-config:: | ||
| :set_config_option: mchoice_compare_button_show True | ||
| Multiple Choice | ||
| --------------- | ||
| .. mchoice:: question3 | ||
| :multiple_answers: | ||
| :correct: a,b,d | ||
| :answer_a: red | ||
| :answer_b: yellow | ||
| :answer_c: black | ||
| :answer_d: green | ||
| :feedback_a: Red is a definitely on of the colors. | ||
| :feedback_b: Yes, yellow is correct. | ||
| :feedback_c: Remember the acronym...ROY G BIV. B stands for blue. | ||
| :feedback_d: Yes, green is one of the colors. | ||
| .. update-config:: | ||
| :set_config_option: fitb_compare_button_show True | ||
| Fill in the Blank | ||
| ----------------- | ||
| .. fillintheblank:: fill3 | ||
| Fill in the blanks to make the following sentence: "The red car drove away." | ||
| The |blank| car drove |blank|. | ||
| - :red: Correct. | ||
| :x: Incorrect. Try 'red'. | ||
| - :away: Correct. | ||
| :x: Incorrect. Try 'away'. | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is duplicated -- see line 78.