openfoam/doc/Doxygen
2016-12-12 12:10:29 +00:00
..
Macros Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Allwmake MRG: Integrated foundation code 2016-12-12 12:10:29 +00:00
customdoxygen.css Doxygen: Updated header 2016-06-23 16:06:12 +01:00
Doxyfile COMP: Multiple changes - first clean build after latest merge - UNTESTED 2016-09-23 15:36:53 +01:00
footer.html COMP: Multiple changes - first clean build after latest merge - UNTESTED 2016-09-23 15:36:53 +01:00
header.html COMP: Multiple changes - first clean build after latest merge - UNTESTED 2016-09-23 15:36:53 +01:00
OpenFOAMlogo.png GIT: Initial state after latest Foundation merge 2016-09-20 14:49:08 +01:00
README.html Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00
README.org Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00

Building the Doxygen help for OpenFOAM

#

Doxygen

The HTML documentation of OpenFOAM can be built using the Doxygen software. Images in the documentation are generated using "dot", a program within the graphviz software package. To build the documentation on the Ubuntu GNU/Linux system, for example, the user should install both doxygen and graphviz packages, e.g. by typing in a terminal window:

  • sudo apt-get install doxygen graphviz

The Doxygen documentation will build automatically for a user that is configured to run OpenFOAM, i.e. has environment variables such as $WM_PROJECT_DIR set. The user must also ensure they have write permission for the directory that Doxygen writes files to.

Configuration

The Doygen configuration file, Doxyfile, in the $WM_PROJECT_DIR/doc/Doxygen directory is configured to work with Doxygen versions 1.6.3-1.8.5.

The Header, Footer, and Stylesheet are generated automatically:

  • doxygen -w html header.html footer.html customdoxygen.css

See: https://www.stack.nl/~dimitri/doxygen/manual/customize.html

Running Doxygen

In the $WM_PROJECT_DIR/doc/Doxygen directory type

  • ./Allwmake

which will generate the $WM_PROJECT_DIR/doc/Doxygen/html directory containing the OpenFOAM source code documentation. Load the index.html file into a browser, \e.g.\

  • firefox html/index.html