2 Commits

Author SHA1 Message Date
5397c85397 allow content in acknowledgement 2025-10-08 10:06:53 +02:00
72f5dd8372 make acknowledgement optional for bp and dp 2025-10-08 09:44:51 +02:00
3 changed files with 1 additions and 3 deletions

View File

@@ -39,7 +39,6 @@
if not is_none(keywords) { if not is_none(keywords) {
assert_dict_has(force_langs, keywords, "keywords"); assert_dict_has(force_langs, keywords, "keywords");
} }
assert_not_none(acknowledgement_content, "acknowledgement content");
if language == "cs" { if language == "cs" {
assert_not_none(author_pronouns, "author gender"); assert_not_none(author_pronouns, "author gender");
} }

View File

@@ -38,7 +38,6 @@
if not is_none(keywords) { if not is_none(keywords) {
assert_dict_has(force_langs, keywords, "keywords"); assert_dict_has(force_langs, keywords, "keywords");
} }
assert_not_none(acknowledgement_content, "acknowledgement content");
if language == "cs" { if language == "cs" {
assert_not_none(author_pronouns, "author gender"); assert_not_none(author_pronouns, "author gender");
} }

View File

@@ -68,7 +68,7 @@
abstract, "dictionary[string : string | content] | none", "abstract argument" abstract, "dictionary[string : string | content] | none", "abstract argument"
); );
assert_type_signature( assert_type_signature(
acknowledgement, "dictionary[string : string] | none", "acknowledgement content" acknowledgement, "dictionary[string : string | content] | none", "acknowledgement content"
); );
assert_type_signature(author, "string | none", "author argument"); assert_type_signature(author, "string | none", "author argument");
assert_type_signature(author_pronouns, "string | none", "author gender argument"); assert_type_signature(author_pronouns, "string | none", "author gender argument");