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

Categories are difficult to configure #164

Closed lainets closed 1 year ago

lainets commented 1 year ago

Categories cannot be configured easily. E.g. setting accept_unofficial_submits is difficult. append_content in conf.py can be used but it is a bit cumbersome.

markkuriekkinen commented 1 year ago

append_content example: File conf.py:

append_content = [
    '_config_aplus/categories.yaml',
]

File _config_aplus/categories.yaml:

categories:
  submit:
    accept_unofficial_submits: True
    status: nototal
  feedback:
    accept_unofficial_submits: True
    confirm_the_level: True