Skip to content

Commit c3e6d18

Browse files
committed
Merge scaffold settings in PackageInfo.g and makedoc.g
1 parent 58edc23 commit c3e6d18

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This file describes changes in the AutoDoc package.
66
slips by GAPDoc; so it caused no problems in practice, but the resulting XML
77
was strictly speaking invalid)
88
- Predefine entities `VERSION`, `RELEASEYEAR`, `RELEASEDATE`
9+
- Allow specifying scaffold settings *simultaneously* in `PackageInfo.g`
10+
and `makedoc.g`; the records are merged, with values from `makedoc.g`
11+
taken precedence if e.g. the same entity is defined in both places
912

1013
2025.10.16
1114
- Make handling `Date` in `PackageInfo.g` more strict (previously some

gap/Magic.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function( arg )
215215
if IsBound(scaffold) and IsBound( pkginfo.AutoDoc ) then
216216
for key in RecNames( pkginfo.AutoDoc ) do
217217
if IsBound( scaffold.(key) ) then
218-
Info(InfoAutoDoc, 1, "WARNING: ", key, " specified in both PackageInfo.AutoDoc and opt.scaffold");
218+
AUTODOC_MergeRecords( scaffold.(key), pkginfo.AutoDoc.(key) );
219219
else
220220
scaffold.(key) := pkginfo.AutoDoc.(key);
221221
fi;

0 commit comments

Comments
 (0)