Show
Ignore:
Timestamp:
12/05/06 21:35:06 (2 years ago)
Author:
peter
Message:

Merge changes from mainline upto r685.

This branch is now fully merged. Any remaining problems in doxygen, scripts
and tsuite should now be resolved.

Location:
branches/newmole/doxygen
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/newmole/doxygen/Doxyfile

    r432 r687  
    1 # Doxyfile 1.4.6 
     1# Doxyfile 1.4.7 
    22 
    33#--------------------------------------------------------------------------- 
     
    8383# configuration options related to the input files 
    8484#--------------------------------------------------------------------------- 
    85 INPUT                  = C:/projects/cloudy/trunk/source_hot 
     85INPUT                  = C:/projects/Cloudy/trunk/source 
    8686FILE_PATTERNS          = *.c \ 
    8787                         *.cc \ 
     
    130130REFERENCED_BY_RELATION = YES 
    131131REFERENCES_RELATION    = YES 
     132REFERENCES_LINK_SOURCE = YES 
    132133USE_HTAGS              = NO 
    133134VERBATIM_HEADERS       = YES 
     
    242243INCLUDED_BY_GRAPH      = YES 
    243244CALL_GRAPH             = YES 
     245CALLER_GRAPH           = NO 
    244246GRAPHICAL_HIERARCHY    = YES 
    245247DIRECTORY_GRAPH        = YES 
  • branches/newmole/doxygen/readme_doxygen.txt

    r432 r687  
    1 to change options in setup file (Doxyfile) do  
     1Readme for Doxygen 
     2 
     3quick start:  
     4create the documentation with the command 
     5doxygen Doxyfile 
     6 
     7Doxygen is a source code documentation system that is widely used in open source projects.  It is available on the web at http://www.stack.nl/~dimitri/doxygen/  You will need a copy of the doxygen executable on your system to create the documentation. 
     8 
     9Doxygen must be able to find the open source program graphviz that is used to create equations from embedded LaTex.  Download graphviz from http://www.graphviz.org/  
     10 
     11This directory includes the setup file "Doxyfile" that is needed to run doxygen.  The Cloudy download does not include the output documentation it generates.  To create documentation run doxygen with the command 
     12doxygen Doxyfile 
     13in this directory.  Doxgyen will create a new html directory below this one.  The index.html file in the html directory is the top of the documentation. 
     14 
     15The manual for doxygen can be found at http://www.stack.nl/~dimitri/doxygen/download.html#latestman 
     16The full description of its commands is under "Special Commands" in the "Reference Manual" section. 
     17 
     18The document file doxygen_setup_style.txt in this directory contains some notes on how Cloudy uses doxygen. 
     19 
     20============================================== 
     21 
     22the file Doxyfile was created with the gui that is lauchned with the command  
    223doxywizard Doxyfile 
    3 mode - optimize for C output 
     24this is used to set the parameters for the generated output. 
    425 
    5 expert tab has many options  
    6  
    7 to run doxygen and create output do 
    8 doxygen Doxyfile 
    9 in this directory 
    10  
    11 check whether INPUT parameter in Doxyfile is set to source_hot or source - this changes 
    12 source is the archived version and source_hot is the local development version 
    13  
    14 to generate the ouput doxygen also needs graphviz, another open source app.  graphviz needs 
    15 to be on the path for doxygen to find it. 
    16  
    17 Doxyfile is set up to create only html output.  other options are possible.  The html will be 
    18 in the html directory below this main directory. 
    19  
    20 Within the codebase, doxygen markup is fully contained in the headers.  All doxygen special comment blocks are using the "C style" markup.  Special comment blocks are indicated by /**.  Commands are indicated with the with the syntax \command.  All comment blocks are immediately before what they describe, with the exception of some struct members, where the comment immediately follows ("/**<" syntax).  Within special commente blocks, the \, @, &, $, #, <, >, % characters must be escaped using a preceeding \ 
    21  
    22 The following commands are in use: 
    23 \file <filename> (description)  - description for a file, will appear in the output above any descriptions of items contained in the file. 
    24 \verbatim  - Doxygen outputs text enclosed in verbatim/endverbatim tags exactly (ie, preserving whitespace and newlines) 
    25 \endverbatim 
    26 \param [in|out|in,out] <parameter name> (description) - describe a parameter of a function.  Parameter name is the name of the variable and does not include type.  [in|out|in,out] is optional. 
    27 \post (description) - describe the post conditions for a function 
    28 \return (description) - describe what the function returns (in output "Returns "+description is printed) 
    29 \author Joe Blow 
    30  
    31 latex in line  
    32 \f$ - same as in line $  - opposite is another \f$ 
    33  
    34 The ideal declaration should look like the following: 
    35 ======================================================= 
    36  
    37  /** 
    38   routine_name This is the long description of what routine_name does, appears after  
    39         the function name 
    40   \brief this is routine brief description - only 1 line long 
    41   \param iz  a description of what parameter 1 is for 
    42   \param [in] in  a description of what parameter 2 is for 
    43   \param [out] *out description 
    44   \author Joe Blow 
    45   \return explain the return value 
    46  */  
    47 double routine_name(long int iz,  
    48   long int in , 
    49   double *out ); 
    50  
    51 ======================================================= 
    52  
    53 The manual for doxygen can be found: http://www.stack.nl/~dimitri/doxygen/download.html#latestman 
    54 The full description of these commands and all others are under "Special Commands" in the "Reference Manual" section. 
     26Good luck, 
     27Gary Ferland 
     28http://www.nublado.org