feature: swl build process

This commit is contained in:
Matthias Jung
2026-08-18 18:23:16 +02:00
parent 1622960043
commit 9502950a61
8 changed files with 53 additions and 10 deletions
+3 -3
View File
@@ -12,9 +12,9 @@
function walk(section, sectionIndex, category) {
(section.questions || []).forEach(function (question) {
var part = sectionIndex === 0
? partForClass[String(question.class)]
: partForSection[sectionIndex];
var part = String(question.class) === "SWL"
? "SWL"
: (sectionIndex === 0 ? partForClass[String(question.class)] : partForSection[sectionIndex]);
if (!part) return;
var questionMetadata = metadata[question.number] || {};