apluslms / a-plus-rst-tools

Tools to publish RST course content for mooc-grader and a-plus. Should be cloned as a course submodule.
MIT License
6 stars 24 forks source link

Allow suppressing/enabling automatic question numbering in feedback questionnaires. #176

Open oseppala opened 1 year ago

oseppala commented 1 year ago

Feedback questionnaires don't display the question titles in the form : "Question 1". Corresponding titles are shown in normal quizzes.

As there are cases where numbered titles are useful the behavior could be controlled with a directive option such as

:numbered: true

markkuriekkinen commented 1 year ago

I think this is the code that causes this behavior: feedback questionnaires do not get the labels like "Question 1". For normal (non-feedback) questionnaires, the labels are automatically added.

https://github.com/apluslms/a-plus-rst-tools/blob/73df1c4baf204e211fae7747d1f2f123c6f6c704/directives/questionnaire.py#L271-L279