-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmakedoc.g
More file actions
45 lines (41 loc) · 1.42 KB
/
makedoc.g
File metadata and controls
45 lines (41 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: GPL-2.0-or-later
# GradientBasedLearningForCAP: Gradient Based Learning via Category Theory
#
# This file is a script which compiles the package manual.
#
if fail = LoadPackage( "AutoDoc", "2025.12.19" ) then
Error( "AutoDoc version 2025.12.19 or newer is required." );
fi;
AutoDoc( rec(
autodoc := rec(
files := [ "doc/Doc.autodoc" ],
scan_dirs := [ "doc", "gap", "examples", "examples/doc",
"examples/NeuralNetwork_BinaryCrossEntropy",
"examples/NeuralNetwork_CrossEntropy",
"examples/NeuralNetwork_QuadraticLoss",
"examples/ComputingTheNextLocalMimima",
],
),
extract_examples := rec(
units := "Single",
),
gapdoc := rec(
LaTeXOptions := rec(
LateExtraPreamble := """
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{mathtools}
\usepackage{stmaryrd}
\usepackage{fancyvrb}
\usepackage{fvextra}
\fvset{breaklines=true}
\DeclareUnicodeCharacter{211D}{\ensuremath{\mathbb{R}}}
\DeclareUnicodeCharacter{2023}{\ensuremath{\blacktriangleright}}
""",
),
),
scaffold := rec(
entities := rec( homalg := "homalg", CAP := "CAP" ),
),
) );
QUIT;