-
Notifications
You must be signed in to change notification settings - Fork 1
/
makedoc.g
26 lines (23 loc) · 1.33 KB
/
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
24
25
26
## This builds the documentation of the Example package
## Needs: GAPDoc package, latex, pdflatex, mkindex
##
LoadPackage( "GAPDoc" );
MakeGAPDocDoc( "doc", # path to the directory containing the main file
"main", # the name of the main file (without extension)
# list of (probably source code) files relative
# to path which contain pieces of documentation
# which must be included in the document
[ "../PackageInfo.g", "../lib/yapb.gd", "../lib/yapb.gi", "../lib/overloadmethods.gd" ],
"gapcpp", # the name of the book used by GAP's online help
"../../..",# optional: relative path to the main GAP root
# directory to produce HTML files with relative
# paths to external books.
"MathJax" # optional: use "MathJax", "Tth" and/or "MathML"
# to produce additional variants of HTML files
);;
# Copy the *.css and *.js files from the styles directory of the GAPDoc
# package into the directory containing the package manual.
CopyHTMLStyleFiles( "doc" );
# Create the manual.lab file which is needed if the main manuals or another
# package is referring to your package
GAPDocManualLab( "gapcpp" );;