PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 203 forks source link

Make datafile "questions" be marked as optional in runestone-manifest #2079

Closed ascholerChemeketa closed 7 months ago

ascholerChemeketa commented 7 months ago

Datafiles are manifested as questions. Those are counted as "activities" that must be completed in Runestone, but there is no way to complete them.

This sets @optional to True on them, which will cause Runestone to mark them as optional and not count them against students: https://github.com/RunestoneInteractive/rs/blob/10bfd6eb5a3cbb6d6b5e1e5880f004f8691bcf29/components/rsptx/build_tools/core.py#L570

@bnmnetp Should sign off on this before it is merged.

rbeezer commented 7 months ago

Thanks, @ascholerChemeketa, for the catch and the fix. And @bnmnetp for the ACK. Merged, and will update website samples very soon.