Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72907 - trunk/libs/chrono/doc
From: dnljms_at_[hidden]
Date: 2011-07-04 18:07:34


Author: danieljames
Date: 2011-07-04 18:07:33 EDT (Mon, 04 Jul 2011)
New Revision: 72907
URL: http://svn.boost.org/trac/boost/changeset/72907

Log:
Chrono: fix some broken links

They were relative to the position where standalone documentation would be
built, so they weren't working when the combined documentation is built. This
fixes them so they should work in both locations.

Text files modified:
   trunk/libs/chrono/doc/chrono.qbk | 24 ++++++++++++------------
   1 files changed, 12 insertions(+), 12 deletions(-)

Modified: trunk/libs/chrono/doc/chrono.qbk
==============================================================================
--- trunk/libs/chrono/doc/chrono.qbk (original)
+++ trunk/libs/chrono/doc/chrono.qbk 2011-07-04 18:07:33 EDT (Mon, 04 Jul 2011)
@@ -1129,7 +1129,7 @@
     milliseconds ms;
     std::cout << ms.count() << '\n';
 
-['See the source file [@../../example/i_dont_like_the_default_duration_behavior.cpp example/i_dont_like_the_default_duration_behavior.cpp]]
+['See the source file [@boost:libs/chrono/example/i_dont_like_the_default_duration_behavior.cpp example/i_dont_like_the_default_duration_behavior.cpp]]
 
 [endsect]
 [/
@@ -1192,7 +1192,7 @@
         friend bool operator>=(duration x, duration y) {return !(x < y);}
     };
 
-['See the source file [@../../example/runtime_resolution.cpp here]]
+['See the source file [@boost:libs/chrono/example/runtime_resolution.cpp here]]
 
 [endsect]
 ]
@@ -1201,7 +1201,7 @@
 
 A "saturating" signed integral type is developed. This type has +/- infinity and a NaN (like IEEE floating-point) but otherwise obeys signed integral arithmetic. This class is subsequently used as the template parameter Rep in boost::chrono::__duration to demonstrate a duration class that does not silently ignore overflow.
 
-['See the source file [@../../example/saturating.cpp example/saturating.cpp]]
+['See the source file [@boost:libs/chrono/example/saturating.cpp example/saturating.cpp]]
 
 [endsect]
 
@@ -1282,7 +1282,7 @@
         print(xt);
 
 
-['See the source file [@../../example/xtime.cpp xtime.cpp]]
+['See the source file [@boost:libs/chrono/example/xtime.cpp xtime.cpp]]
 
 [endsect]
 
@@ -1337,7 +1337,7 @@
         }
     };
 
-['See the source file [@../../example/cycle_count.cpp cycle_count.cpp]]
+['See the source file [@boost:libs/chrono/example/cycle_count.cpp cycle_count.cpp]]
 
 [endsect]
 
@@ -1476,7 +1476,7 @@
         std::cout << "paused " << boost::chrono::::nanoseconds(elapsed).count() << " nanoseconds\n";
 
 
-['See the source file [@../../example/timeval_demo.cpp example/timeval_demo.cpp]]
+['See the source file [@boost:libs/chrono/example/timeval_demo.cpp example/timeval_demo.cpp]]
 
 [endsect]
 [endsect]
@@ -1487,7 +1487,7 @@
 [/======================================================]
 [section Howard Hinnant's original demonstration program]
 
-['See the source file [@../../example/time2_demo.cpp example/time2_demo.cpp]]
+['See the source file [@boost:libs/chrono/example/time2_demo.cpp example/time2_demo.cpp]]
 
 [endsect]
 ]
@@ -1512,7 +1512,7 @@
     BOOST_AUTO(t2, system_clock::now() + nanoseconds(3));
     BOOST_AUTO(t3, min(t1, t2));
 
-['See the source file [@../../example/min_time_point.cpp example/min_time_point.cpp]]
+['See the source file [@boost:libs/chrono/example/min_time_point.cpp example/min_time_point.cpp]]
 
 [endsect]
 
@@ -1587,7 +1587,7 @@
 
 
 
-['See the source file [@../../example/await_keystroke.cpp example/await_keystroke.cpp]]
+['See the source file [@boost:libs/chrono/example/await_keystroke.cpp example/await_keystroke.cpp]]
 
 [endsect]
 
@@ -1634,7 +1634,7 @@
       return std::system( s.c_str() );
     }
 
-['See the source file [@../../example/timex.cpp example/timex.cpp]]
+['See the source file [@boost:libs/chrono/example/timex.cpp example/timex.cpp]]
 
 [endsect]
 ]
@@ -1870,7 +1870,7 @@
     this_thread::sleep_until(chrono::__system_clock::now() + chrono::__duration<double>(1.5));
 
 
-['See the source file [@../../example/simulated_thread_interface_demo.cpp example/simulated_thread_interface_demo.cpp]]
+['See the source file [@boost:libs/chrono/example/simulated_thread_interface_demo.cpp example/simulated_thread_interface_demo.cpp]]
 
 [endsect]
 
@@ -1908,7 +1908,7 @@
 
     5 heures, 45 minutes, 15 secondes et 763 millisecondes
 
-['See the source file [@../../example/french.cpp example/french.cpp]]
+['See the source file [@boost:libs/chrono/example/french.cpp example/french.cpp]]
 
 [endsect] [/section:french French Output]
 [endsect] [/section IO]


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