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