Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60391 - in trunk: boost libs/random/doc
From: steven_at_[hidden]
Date: 2010-03-09 18:15:19


Author: steven_watanabe
Date: 2010-03-09 18:15:18 EST (Tue, 09 Mar 2010)
New Revision: 60391
URL: http://svn.boost.org/trac/boost/changeset/60391

Log:
Fix remaining broken links
Text files modified:
   trunk/boost/nondet_random.hpp | 2 +-
   trunk/libs/random/doc/Jamfile.v2 | 14 +++++++++++---
   trunk/libs/random/doc/random.qbk | 2 +-
   3 files changed, 13 insertions(+), 5 deletions(-)

Modified: trunk/boost/nondet_random.hpp
==============================================================================
--- trunk/boost/nondet_random.hpp (original)
+++ trunk/boost/nondet_random.hpp 2010-03-09 18:15:18 EST (Tue, 09 Mar 2010)
@@ -70,7 +70,7 @@
  *
  * <b>Performance</b>
  *
- * The test program <a href="\boost/libs/random/nondet_random_speed.cpp">
+ * The test program <a href="\boost/libs/random/performance/nondet_random_speed.cpp">
  * nondet_random_speed.cpp</a> measures the execution times of the
  * nondet_random.hpp implementation of the above algorithms in a tight
  * loop. The performance has been evaluated on a Pentium Pro 200 MHz

Modified: trunk/libs/random/doc/Jamfile.v2
==============================================================================
--- trunk/libs/random/doc/Jamfile.v2 (original)
+++ trunk/libs/random/doc/Jamfile.v2 2010-03-09 18:15:18 EST (Tue, 09 Mar 2010)
@@ -12,6 +12,7 @@
 import boostbook ;
 import regex ;
 import os ;
+import path ;
 
 doxygen_files =
     additive_combine
@@ -44,10 +45,16 @@
     xor_combine
 ;
 
-# temporary hack for local docs
-local BOOST_ROOT = ../../../.. ;
-
 path-constant here : . ;
+path-constant boost-root : ../../.. ;
+
+# Figure out where the root of the boost tree is relative
+# to the html directory.
+local BOOST_ROOT = [ path.relative-to
+ [ path.join [ path.pwd ] html ]
+ [ path.root
+ [ path.make $(boost-root) ]
+ [ path.pwd ] ] ] ;
 
 doxygen reference :
     $(here)/../../../boost/random/$(doxygen_files).hpp
@@ -60,6 +67,7 @@
         endxmlnote=\"@xmlonly </para></note> @endxmlonly\" \\
         blockquote=\"@xmlonly <blockquote><para> @endxmlonly\" \\
         endblockquote=\"@xmlonly </para></blockquote> @endxmlonly\" \\
+ boost=\"$(BOOST_ROOT)\" \\
         random_distribution=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.random_distribution\\\">random distribution</link> @endxmlonly\" \\
         pseudo_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.pseudo_random_number_generator\\\">pseudo-random number generator</link> @endxmlonly\" \\
         uniform_random_number_generator=\"@xmlonly <link linkend=\\\"boost_random.reference.concepts.uniform_random_number_generator\\\">uniform random number generator</link> @endxmlonly\" \\

Modified: trunk/libs/random/doc/random.qbk
==============================================================================
--- trunk/libs/random/doc/random.qbk (original)
+++ trunk/libs/random/doc/random.qbk 2010-03-09 18:15:18 EST (Tue, 09 Mar 2010)
@@ -84,7 +84,7 @@
 
 You should read the [concepts concepts documentation] for an introduction and the
 definition of the basic concepts. For a quick start, it may be sufficient
-to have a look at [@boost:/libs/random/random_demo.cpp random_demo.cpp].
+to have a look at [@boost:/libs/random/example/random_demo.cpp random_demo.cpp].
 
 For a very quick start, here's an example:
 


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