0
|
1 |
GENERAL
|
|
2 |
=======
|
|
3 |
|
|
4 |
doxy.pl is a perl script which generates doxygen documentation from all mainpages
|
|
5 |
which are found recursively from root_path subfolders.
|
|
6 |
It accepts configuration filename as an argumnet.
|
|
7 |
|
|
8 |
PREREQUISITIES
|
|
9 |
==============
|
|
10 |
|
|
11 |
install doxygen
|
|
12 |
install active state perl
|
|
13 |
configure configuration file (e.g. doxy.conf)
|
|
14 |
run doxy.pl from directory where it is located: perl doxy.pl doxy.conf
|
|
15 |
|
|
16 |
TECHNIQUES
|
|
17 |
==========
|
|
18 |
- reads configuration from file
|
|
19 |
- updates footer-file path and name to doxyfile and creates .ftr backupfile.
|
|
20 |
- finds recursively all doc-folders from root_path subfolders where mainpage is.
|
|
21 |
- updates class hierarchy to mainpage from hierarchy.html if hierarchy.html is
|
|
22 |
not found it uses annotated.html
|
|
23 |
|
|
24 |
CONFIGURATION FILE
|
|
25 |
===================
|
|
26 |
|
|
27 |
doxy.pl needs configuration file to work.
|
|
28 |
Configuration file is a ASCII-text file, which consits of "key=value" pairs:
|
|
29 |
Example:
|
|
30 |
|
|
31 |
document_dir=doc
|
|
32 |
mainpage=Mainpage.dox
|
|
33 |
doxyfile=F:\ex\doxyfiles\Doxyfile
|
|
34 |
doxy_command=doxygen
|
|
35 |
root_path=F:\ex\Series60Ex_doced_11042005
|
|
36 |
footer=F:\ex\doxyfiles\footer.html
|
|
37 |
|
|
38 |
document_dir: in which directory doxygen creates documentation
|
|
39 |
mainpage : file from where mainpage tag is found e.g. file to be a base of index.html
|
|
40 |
doxyfile : path and filename to doxygen configuration file
|
|
41 |
doxy_command: command which is used to run doxygen. Gets doxyfile as an argument.
|
|
42 |
root_path : path from where start to look for mainpage recursively.
|
|
43 |
footer : path and filename of the footer file
|
|
44 |
header : path and filename of the header file
|
|
45 |
stylesheet : path and filename of style sheet
|
|
46 |
|
|
47 |
|
|
48 |
TIPS
|
|
49 |
====
|
|
50 |
|
|
51 |
- You can use doxy.pl with several configuration files.
|
|
52 |
|
|
53 |
- with root_path configuration you can set scope to pointing it to desired folder
|
|
54 |
|
|
55 |
- (win) You can also create several shortcuts to doxy.bat at your desktop with
|
|
56 |
diffent configurations:
|
|
57 |
|
|
58 |
Edit shortcut properties:
|
|
59 |
Set Target: [path_to_doxy.bat] [configuration_file] > [log_file] 2>&1
|
|
60 |
e.g. Target: F:\ex\doxyfiles\doxy.bat doxy.conf > doxy.log 2>&1
|
|
61 |
You can set "Run: Minimized"
|
|
62 |
Check that "Start in:" points to your "doxyfiles" folder !
|
|
63 |
|
|
64 |
- if there is something wrong with footer: find HTML_FOOTER tag from Doxyfile and
|
|
65 |
check that it points to footer-file. (doxy.pl should update that automatically)
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|