Skip to content

Conversation

drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Sep 3, 2025

When I updated the sample problem documentation to use CodeMirror 6, apparently prettier accidentally ran on the problem-template.mt file (due to the format on save feature in my editor). Since that is a Mojolicious template file, prettier does not do the right thing, and messed that file up pretty well. So this fixes the resulting issues.

Also, fix several typos in the sample problems that have a PODLINK or PROBLINK that have incorrect macro or sample problem file names. These cause "use of unitialized value" warnings when the parse-problem-doc.pl script is executed. These warnings also occur when loading these sample problems via webwork2.

Finally, switch the sample problem templates to using the same version of Bootstrap that webwork2 uses.

This hotfix is needed so that we can update the sample problems and macros for PG 2.20 at https://openwebwork.github.io/pg-docs.

When I updated the sample problem documentation to use CodeMirror 6,
apparently prettier accidentally ran on the `problem-template.mt` file
(due to the format on save feature in my editor).  Since that is a
Mojolicious template file, prettier does not do the right thing, and
messed that file up pretty well.  So this fixes the resulting issues.

Also, fix several typos in the sample problems that have a PODLINK or
PROBLINK that have incorrect macro or sample problem file names.  These
cause "use of unitialized value" warnings when the
`parse-problem-doc.pl` script is executed. These warnings also occur
when loading these sample problems via webwork2.

Finally, switch the sample problem templates to using the same version
of Bootstrap that webwork2 uses.
@drgrice1 drgrice1 force-pushed the sample-problem-generation-issues-hotfix branch from 3705011 to 9232eb2 Compare September 3, 2025 22:37
@Alex-Jordan Alex-Jordan merged commit 7cec206 into openwebwork:main Sep 12, 2025
3 checks passed
@drgrice1 drgrice1 deleted the sample-problem-generation-issues-hotfix branch September 12, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants