Chris@383
|
1 # configuration file for generation of html-docu from m-files
|
Chris@383
|
2 #
|
Chris@383
|
3 # Author: Hartmut Pohlheim
|
Chris@383
|
4 # History: 05.11.2000 file created (parameters for mtree2html2001)
|
Chris@383
|
5 #
|
Chris@383
|
6 # The following options/variables must be changed/adapted:
|
Chris@383
|
7 # dirmfiles
|
Chris@383
|
8 # dirhtml
|
Chris@383
|
9 # csslink
|
Chris@383
|
10 # texttitleframelayout
|
Chris@383
|
11 # texttitlefiles
|
Chris@383
|
12 #
|
Chris@383
|
13 # The following options/variables should be adapted:
|
Chris@383
|
14 # authorfile
|
Chris@383
|
15 # filenametopframe
|
Chris@383
|
16 # codeheadmeta
|
Chris@383
|
17
|
Chris@383
|
18 #========================================================================
|
Chris@383
|
19 # Variables (possible keywords: set)
|
Chris@383
|
20 # to use the built-in settings, comment the line using # in first column
|
Chris@383
|
21 #========================================================================
|
Chris@383
|
22
|
Chris@383
|
23 #------------------------------------------------------------------------
|
Chris@383
|
24 # dirmfiles: name of directory containing Matlab m-files
|
Chris@383
|
25 # dirhtml: name of directory to place the html-files into
|
Chris@383
|
26 # exthtml: extension used for the html files (.html or .htm)
|
Chris@383
|
27 # don't forget the point in front of the extension
|
Chris@383
|
28 #------------------------------------------------------------------------
|
Chris@383
|
29 set dirmfiles = .
|
Chris@383
|
30 set dirhtml = doc-output
|
Chris@383
|
31 set exthtml = .html
|
Chris@383
|
32
|
Chris@383
|
33 #------------------------------------------------------------------------
|
Chris@383
|
34 # authorfile: name of file containing info about author (in html)
|
Chris@383
|
35 # if defined, this text is included at the bottom of the
|
Chris@383
|
36 # html files
|
Chris@383
|
37 #------------------------------------------------------------------------
|
chris@410
|
38 set authorfile = matlab-docs-credit.html
|
Chris@383
|
39
|
Chris@383
|
40 #------------------------------------------------------------------------
|
Chris@383
|
41 # csslink: text for linking to css file (style sheets)
|
Chris@383
|
42 # the text defined here is directly included into the head
|
Chris@383
|
43 # of the html file
|
Chris@383
|
44 #------------------------------------------------------------------------
|
chris@410
|
45 #set csslink = <link rel=stylesheet type="text/css" href="CSSFILENAME.css" />
|
Chris@383
|
46
|
Chris@383
|
47 #------------------------------------------------------------------------
|
Chris@383
|
48 # links2filescase: this is a bit difficult
|
Chris@383
|
49 # Matlab is case sensitive on UNIX, but case insensitive
|
Chris@383
|
50 # on Windows. Under UNIX Matlab function calls work
|
Chris@383
|
51 # only, when the case of file name and function call are
|
Chris@383
|
52 # identical, under Windows you can do what you want.
|
Chris@383
|
53 # This scripts help you, to keep an exact case in your
|
Chris@383
|
54 # project.
|
Chris@383
|
55 # exact - internal links are only generated, when case of file
|
Chris@383
|
56 # name and in source code are identical
|
Chris@383
|
57 # all - case doesn't matter
|
Chris@383
|
58 # exactupper - same as exact, additionally links are also vreated to
|
Chris@383
|
59 # all upper case function names in source code (often
|
Chris@383
|
60 # used by Mathworks)
|
Chris@383
|
61 # exactvery - same as exact, additionally info about not matching
|
Chris@383
|
62 # case is written to screen (stdout), this can be very
|
Chris@383
|
63 # helpful in cleaning up the case in a project
|
Chris@383
|
64 #------------------------------------------------------------------------
|
Chris@383
|
65 set links2filescase = all
|
Chris@383
|
66
|
Chris@383
|
67 #------------------------------------------------------------------------
|
Chris@383
|
68 # texttitleframelayout: text of title for frame layout file (whole docu)
|
Chris@383
|
69 #------------------------------------------------------------------------
|
chris@389
|
70 set texttitleframelayout = MATLAB Function Documentation
|
Chris@383
|
71
|
Chris@383
|
72 #------------------------------------------------------------------------
|
Chris@383
|
73 # texttitle/headerindexalldirs: text of title and header for directory index
|
Chris@383
|
74 #------------------------------------------------------------------------
|
Chris@383
|
75 set texttitleindexalldirs = Index of Directories
|
Chris@383
|
76 set textheaderindexalldirs = Index of Directories
|
Chris@383
|
77
|
Chris@383
|
78 #------------------------------------------------------------------------
|
Chris@383
|
79 # texttitle/headerindex: text of title and header for index file
|
Chris@383
|
80 #------------------------------------------------------------------------
|
Chris@383
|
81 set texttitleindex = A-Z Index of Functions
|
Chris@383
|
82 set textheaderindex = A-Z Index of Functions
|
Chris@383
|
83
|
Chris@383
|
84 #------------------------------------------------------------------------
|
Chris@383
|
85 # texttitle/headerfiles: text of title and header for files
|
Chris@383
|
86 # name of file will be added at the end
|
Chris@383
|
87 #------------------------------------------------------------------------
|
chris@389
|
88 set texttitlefiles = Function
|
Chris@383
|
89 set textheaderfiles = Documentation of
|
Chris@383
|
90
|
Chris@383
|
91 #------------------------------------------------------------------------
|
Chris@383
|
92 # frames: whether to use frames in layout (yes or no)
|
Chris@383
|
93 #------------------------------------------------------------------------
|
Chris@383
|
94 set frames = no
|
Chris@383
|
95
|
Chris@383
|
96 #------------------------------------------------------------------------
|
Chris@383
|
97 # filenametopframe: name of file including frame layout (highest level file)
|
Chris@383
|
98 # [default: index]
|
Chris@383
|
99 #------------------------------------------------------------------------
|
Chris@383
|
100 set filenametopframe = index
|
Chris@383
|
101
|
Chris@383
|
102 #------------------------------------------------------------------------
|
Chris@383
|
103 # textjumpindexglobal: text displayed for jump to index of all files
|
Chris@383
|
104 # (global)
|
Chris@383
|
105 # textjumpindexlocal: text displayed for jump to index of files in actual
|
Chris@383
|
106 # directory (local)
|
Chris@383
|
107 #------------------------------------------------------------------------
|
chris@389
|
108 set textjumpindexglobal = <b>Index of</b> all files:
|
chris@389
|
109 set textjumpindexlocal = this subdirectory only:
|
Chris@383
|
110
|
Chris@383
|
111 #------------------------------------------------------------------------
|
Chris@383
|
112 # includesource: include source of m-files in documentation [YES|no]
|
Chris@383
|
113 #------------------------------------------------------------------------
|
Chris@383
|
114 set includesource = yes
|
Chris@383
|
115
|
Chris@383
|
116 #------------------------------------------------------------------------
|
Chris@383
|
117 # usecontentsm: use contents.m files as well for structured
|
Chris@383
|
118 # (hopefully) index [YES|no]
|
Chris@383
|
119 #------------------------------------------------------------------------
|
Chris@383
|
120 set usecontentsm = no
|
Chris@383
|
121
|
Chris@383
|
122 #------------------------------------------------------------------------
|
Chris@383
|
123 # includesource: write/update contents.m files [yes|NO]
|
Chris@383
|
124 #------------------------------------------------------------------------
|
Chris@383
|
125 set writecontentsm = no
|
Chris@383
|
126
|
Chris@383
|
127 #------------------------------------------------------------------------
|
Chris@383
|
128 # processtree: parse whole directory tree recursively [YES|no]
|
Chris@383
|
129 #------------------------------------------------------------------------
|
Chris@383
|
130 set processtree = yes
|
Chris@383
|
131
|
Chris@383
|
132 #------------------------------------------------------------------------
|
Chris@383
|
133 # producetree: produce tree for html-files in same structure than
|
Chris@383
|
134 # tree of m-files [yes|NO]
|
Chris@383
|
135 # if no, all files are saved in the same directory, often
|
Chris@383
|
136 # easier for outside linking to files
|
Chris@383
|
137 #------------------------------------------------------------------------
|
chris@401
|
138 set producetree = yes
|
Chris@383
|
139
|
Chris@383
|
140 #------------------------------------------------------------------------
|
Chris@383
|
141 # codebodyindex/files: HTML-code for adding to BODY tag
|
Chris@383
|
142 # can be used for defining colors and
|
Chris@383
|
143 # backgroundimages of the files
|
Chris@383
|
144 # No longer recommended, use the css file
|
Chris@383
|
145 #------------------------------------------------------------------------
|
Chris@383
|
146 set codebodyindex =
|
Chris@383
|
147 set codebodyfiles =
|
Chris@383
|
148
|
Chris@383
|
149 #------------------------------------------------------------------------
|
Chris@383
|
150 # codeheadmeta: HTML-code added in HEAD area, use for supplying META info
|
Chris@383
|
151 #------------------------------------------------------------------------
|
Chris@383
|
152 set codeheadmeta =
|
Chris@383
|
153
|
Chris@383
|
154 #------------------------------------------------------------------------
|
Chris@383
|
155 # codehr: HTML-code used to define a <HR>, do what you want
|
Chris@383
|
156 #------------------------------------------------------------------------
|
chris@411
|
157 set codehr = <hr>
|
Chris@383
|
158
|
Chris@383
|
159 #------------------------------------------------------------------------
|
Chris@383
|
160 # codeheader: HTML-code added to <H*> tags, use for centering header text
|
Chris@383
|
161 # or changing the colour/size/font of the header text
|
Chris@383
|
162 #------------------------------------------------------------------------
|
chris@389
|
163 set codeheader =
|
Chris@383
|
164
|
Chris@383
|
165
|
Chris@383
|
166 # End of parameter file
|