Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50847 - in trunk: doc libs/scope_exit libs/scope_exit/doc
From: daniel_james_at_[hidden]
Date: 2009-01-28 10:17:35


Author: danieljames
Date: 2009-01-28 10:17:34 EST (Wed, 28 Jan 2009)
New Revision: 50847
URL: http://svn.boost.org/trac/boost/changeset/50847

Log:
Fix some documentation issues with scope_exit.

Added:
   trunk/libs/scope_exit/index.html (contents, props changed)
Text files modified:
   trunk/doc/Jamfile.v2 | 2 --
   trunk/libs/scope_exit/doc/Jamfile.v2 | 12 +++++++++++-
   trunk/libs/scope_exit/doc/scope_exit.qbk | 26 +++++++++++++-------------
   3 files changed, 24 insertions(+), 16 deletions(-)

Modified: trunk/doc/Jamfile.v2
==============================================================================
--- trunk/doc/Jamfile.v2 (original)
+++ trunk/doc/Jamfile.v2 2009-01-28 10:17:34 EST (Wed, 28 Jan 2009)
@@ -30,7 +30,6 @@
     <dependency>../libs/mpi/doc//mpi_autodoc.xml
     #<dependency>../libs/proto/doc//protodoc.xml
     <dependency>../libs/proto/doc//proto
- <dependency>../libs/scope_exit/doc//scope_exit
     <dependency>../libs/typeof/doc//typeof
     <dependency>../libs/xpressive/doc//autodoc.xml
     <dependency>../libs/xpressive/doc//xpressive
@@ -57,7 +56,6 @@
     <implicit-dependency>../libs/tr1/doc//tr1
     <implicit-dependency>../libs/foreach/doc//foreach
     <implicit-dependency>../libs/proto/doc//proto
- <implicit-dependency>../libs/scope_exit/doc//scope_exit
     <implicit-dependency>../libs/typeof/doc//typeof
     <implicit-dependency>../libs/xpressive/doc//xpressive
     <implicit-dependency>../tools/jam/doc//bjam

Modified: trunk/libs/scope_exit/doc/Jamfile.v2
==============================================================================
--- trunk/libs/scope_exit/doc/Jamfile.v2 (original)
+++ trunk/libs/scope_exit/doc/Jamfile.v2 2009-01-28 10:17:34 EST (Wed, 28 Jan 2009)
@@ -5,4 +5,14 @@
 
 using quickbook ;
 
-boostbook standalone : scope_exit.qbk ;
+xml scope_exit : scope_exit.qbk ;
+boostbook standalone : scope_exit
+ :
+ # Path for links to Boost:
+ <xsl:param>boost.root=../../../..
+ # Path for libraries index:
+ <xsl:param>boost.libraries=../../../../libs/libraries.htm
+ # Use the main Boost stylesheet:
+ <xsl:param>html.stylesheet=../../../../doc/html/boostbook.css
+ ;
+

Modified: trunk/libs/scope_exit/doc/scope_exit.qbk
==============================================================================
--- trunk/libs/scope_exit/doc/scope_exit.qbk (original)
+++ trunk/libs/scope_exit/doc/scope_exit.qbk 2009-01-28 10:17:34 EST (Wed, 28 Jan 2009)
@@ -20,18 +20,18 @@
 
 [/ Links ]
 
-[def _scope_exit_ [@index.html ScopeExit]]
-[def _Tutorial_ [@scope_exit/tutorial.html Tutorial]]
-[def _Reference_ [@scope_exit/ref.html Reference]]
-[def _lambda_ [@../../libs/lambda/index.html Boost.Lambda]]
-[def _typeof_ [@../../libs/typeof/index.html Boost.Typeof]]
-[def _typeof_emulation_ [@../../libs/typeof/index.html typeof emulation]]
-[def _typeof_REGISTER_TYPE_ [@../../libs/typeof/refe.html#typeof.regtype BOOST_TYPEOF_REGISTER_TYPE]]
-[def _typeof_REGISTER_TEMPLATE_ [@../../libs/typeof/refe.html#typeof.regtemp BOOST_TYPEOF_REGISTER_TEMPLATE]]
-[def _pp_ [@../../libs/preprocessor/index.html Boost.Preprocessor]]
-[def _pp_seq_ [@../../libs/preprocessor/index.html Boost.Preprocessor sequence]]
-[def _ptr_container_ [@../../libs/ptr_container/doc/ptr_container.html Boost Pointer Container Library]]
-[def _multi_index_ [@../../libs/multi_index/doc/index.html Boost Multi-Index Containers Library]]
+[def _scope_exit_ [link scope_exit ScopeExit]]
+[def _Tutorial_ [link scope_exit.tutorial Tutorial]]
+[def _Reference_ [link scope_exit.ref Reference]]
+[def _lambda_ [@../../../../libs/lambda/index.html Boost.Lambda]]
+[def _typeof_ [@../../../../libs/typeof/index.html Boost.Typeof]]
+[def _typeof_emulation_ [@../../../../libs/typeof/index.html typeof emulation]]
+[def _typeof_REGISTER_TYPE_ [@../../../../doc/html/typeof/refe.html#typeof.regtype BOOST_TYPEOF_REGISTER_TYPE]]
+[def _typeof_REGISTER_TEMPLATE_ [@../../../../doc/html/typeof/refe.html#typeof.regtemp BOOST_TYPEOF_REGISTER_TEMPLATE]]
+[def _pp_ [@../../../../libs/preprocessor/index.html Boost.Preprocessor]]
+[def _pp_seq_ [@../../../../libs/preprocessor/index.html Boost.Preprocessor sequence]]
+[def _ptr_container_ [@../../../../libs/ptr_container/doc/ptr_container.html Boost Pointer Container Library]]
+[def _multi_index_ [@../../../../libs/multi_index/doc/index.html Boost Multi-Index Containers Library]]
 [def _scope_guard_ [@http://www.ddj.com/dept/cpp/184403758 ScopeGuard]]
 [def _D_ [@http://www.digitalmars.com/d/index.html D]]
 [def _D_scope_exit_ [@http://www.digitalmars.com/d/2.0/statement.html#ScopeGuardStatement scope(exit)]]
@@ -150,7 +150,7 @@
             checkpoint = ++person.m_evolution;
         }
 
-Full code listing can be found in [@../example/world.cpp world.cpp].
+Full code listing can be found in [@../../example/world.cpp world.cpp].
 
 [endsect]
 

Added: trunk/libs/scope_exit/index.html
==============================================================================
--- (empty file)
+++ trunk/libs/scope_exit/index.html 2009-01-28 10:17:34 EST (Wed, 28 Jan 2009)
@@ -0,0 +1,16 @@
+
+<!--
+Copyright 2009 Alexander Nasonov.
+Distributed under the Boost Software License, Version 1.0. (See accompanying
+file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+-->
+
+<html>
+<head>
+ <meta http-equiv="refresh" content="0; URL=doc/html/index.html">
+</head>
+<body>
+Automatic redirection failed, please go to
+doc/html/index.html
+</body>
+</html>


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