Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-05-31 15:52:34


Author: steven_watanabe
Date: 2008-05-31 15:52:34 EDT (Sat, 31 May 2008)
New Revision: 45987
URL: http://svn.boost.org/trac/boost/changeset/45987

Log:
Cleaned up the Base Units by Category section
Text files modified:
   sandbox/units/libs/units/doc/Jamfile.v2 | 30 +++++++++++++++++++++---------
   sandbox/units/libs/units/doc/units.qbk | 13 +++++++++++--
   2 files changed, 32 insertions(+), 11 deletions(-)

Modified: sandbox/units/libs/units/doc/Jamfile.v2
==============================================================================
--- sandbox/units/libs/units/doc/Jamfile.v2 (original)
+++ sandbox/units/libs/units/doc/Jamfile.v2 2008-05-31 15:52:34 EDT (Sat, 31 May 2008)
@@ -72,14 +72,26 @@
     "CGS System Reference"
   ;
 
-run_doxygen base_units_reference
- :
- [ path.glob-tree ../../../boost/units/base_units : *.hpp : detail ]
- :
- "Base Units Reference"
- :
- <doxygen:param>EXPAND_ONLY_PREDEF=NO
- ;
+rule make_base_units_doc ( directory : name ) {
+ run_doxygen $(directory)_base_units_reference
+ :
+ [ path.glob-tree ../../../boost/units/base_units/$(directory) : *.hpp : detail conversions.hpp ]
+ :
+ "$(name) Base Units Reference"
+ ;
+}
+
+make_base_units_doc angle : Angle ;
+make_base_units_doc astronomical : Astronomical ;
+make_base_units_doc cgs : CGS ;
+make_base_units_doc imperial : Imperial ;
+make_base_units_doc metric : Metric ;
+make_base_units_doc si : SI ;
+make_base_units_doc temperature : Temperature ;
+make_base_units_doc us : US ;
+
+all_base_units_doc = angle astronomical cgs imperial metric si temperature us ;
+all_base_units_doc = $(all_base_units_doc)_base_units_reference ;
 
 run_doxygen dimensions_reference
   :
@@ -124,7 +136,7 @@
     <dependency>units_reference
     <dependency>si_reference
     <dependency>cgs_reference
- <dependency>base_units_reference
+ <dependency>$(all_base_units_doc)
     <dependency>dimensions_reference
     <dependency>trig_reference
     <dependency>temperature_reference

Modified: sandbox/units/libs/units/doc/units.qbk
==============================================================================
--- sandbox/units/libs/units/doc/units.qbk (original)
+++ sandbox/units/libs/units/doc/units.qbk 2008-05-31 15:52:34 EDT (Sat, 31 May 2008)
@@ -1010,8 +1010,17 @@
 [xinclude temperature_reference.xml]
 [xinclude abstract_reference.xml]
 
-[section Base Unit by Category]
-[xinclude base_units_reference.xml]
+[section Base Units by Category]
+
+[xinclude angle_base_units_reference.xml]
+[xinclude astronomical_base_units_reference.xml]
+[xinclude cgs_base_units_reference.xml]
+[xinclude imperial_base_units_reference.xml]
+[xinclude metric_base_units_reference.xml]
+[xinclude si_base_units_reference.xml]
+[xinclude temperature_base_units_reference.xml]
+[xinclude us_base_units_reference.xml]
+
 [endsect]
 
 [section Alphabetical Listing of Base Units]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk