forked from gap-packages/gbnp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makedoc.g
23 lines (19 loc) · 660 Bytes
/
makedoc.g
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## this creates the documentation, needs: GAPDoc and AutoDoc packages, pdflatex
##
## Call this with GAP from within the package directory.
if fail = LoadPackage("AutoDoc", ">= 2019.04.10") then
Error("AutoDoc 2019.04.10 or newer is required");
fi;
files := AUTODOC_FindMatchingFiles(DirectoryCurrent(), [ "doc/examples" ], [ "xml" ]);
AutoDoc(rec(
gapdoc := rec(
scan_dirs := [ "lib", "lib/nmo" ],
files := files,
),
#autodoc := rec( files := [ "doc/Intros.autodoc" ] ),
scaffold := rec(
bib := "gbnp_doc",
includes := [ "gbnp_doc.xml", "nmo.xml" ],
appendix := [ "examples.xml" ],
),
));