[Dart-dev] [8922] DART/trunk/doc/doxygen: add changes to allow you to select the diagram uses/used by

nancy at ucar.edu nancy at ucar.edu
Thu Oct 29 14:04:15 MDT 2015


Revision: 8922
Author:   nancy
Date:     2015-10-29 14:04:15 -0600 (Thu, 29 Oct 2015)
Log Message:
-----------
add changes to allow you to select the diagram uses/used by
version vs just the basic docs (the latter is much faster
to generate) at run time instead of having to edit the script.

Modified Paths:
--------------
    DART/trunk/doc/doxygen/README
    DART/trunk/doc/doxygen/gendocs

-------------- next part --------------
Modified: DART/trunk/doc/doxygen/README
===================================================================
--- DART/trunk/doc/doxygen/README	2015-10-29 20:00:28 UTC (rev 8921)
+++ DART/trunk/doc/doxygen/README	2015-10-29 20:04:15 UTC (rev 8922)
@@ -24,6 +24,10 @@
   in the work directory.  All documentation will be created and put under 
   $DART/doc/doxygen/model_name.
 
+  To create documentation with diagrams of 'used by' and 'uses', run
+  './gendocs -devel' to enable the development diagrams.
+
+
 To use the documentation:
 
 - Open $DART/doc/doxygen/model_name/index.html in a browser and click

Modified: DART/trunk/doc/doxygen/gendocs
===================================================================
--- DART/trunk/doc/doxygen/gendocs	2015-10-29 20:00:28 UTC (rev 8921)
+++ DART/trunk/doc/doxygen/gendocs	2015-10-29 20:04:15 UTC (rev 8922)
@@ -16,8 +16,11 @@
 # and called relationship between subroutines, but the number and size
 # of files it generates is much larger.
 
-template=doxygen-config-template
-#template=doxygen-devel-config-template
+if [[ $1 == 'devel' || $1 == '-devel' ]]; then
+  template=doxygen-devel-config-template
+else
+  template=doxygen-config-template
+fi
 
 model=`pwd | sed -e 's;/work;;' -e 's;^.*/;;' `
 umodel=`echo $model | tr '[a-z]' '[A-Z]' `


More information about the Dart-dev mailing list