Changes between Initial Version and Version 1 of Documentation/UserGuide/DoxygenDocumentation


Ignore:
Timestamp:
2022-03-31T14:56:55+02:00 (2 years ago)
Author:
cyue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/DoxygenDocumentation

    v1 v1  
     1Simple instructions on how to use doxygen to generate offline webpage-form documentation for ORCHIDEE. One of the nice feature is that it will show calling graph, i.e., which subroutines a given subroutine is calling and itself in turn is called by which subroutines. The call graph is also interactive. When you click on a subroutine, you will be directed to the details of this subroutine, because the offline webpages are linked. Note we are just visiting our local files using an internet browser. 
     2 
     3The steps are: 
     4 
     5(1) Download the most recent trunk of ORCHIDEE code. 
     6 
     7(2) To install doxygen and the another program needed (examples on ubuntu machine): 
     8sudo apt install doxygen 
     9sudo apt-get install graphviz 
     10 
     11(3) Inside your ORCHIDEE code folder (.../modipsl/modeles/ORCHIDEE/), 
     12 
     13download the attached file (with the name of "Doxyfile", which is the doxygen configuration file) and put it into this folder. 
     14 
     15Then run the command 'doxygen Doxyfile' 
     16You will see three new folders being added after all commands are OK: 
     17 
     18docbook 
     19latex 
     20html 
     21 
     22Then go into the html folder, there is a file named 'index.html' 
     23 
     24open it with firefox or any other browser, you will be able to use the 'offline' documentation and check the call graph of different subroutines. 
     25 
     26You can actually also read code there.