#   Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>

#   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)

import boostbook ;
import quickbook ;

xml bind_ : bind.qbk ;
boostbook standalone_bind
    :
        bind_
    :
        <xsl:param>boost.root=../../../..
        # File name of HTML output:
        <xsl:param>root.filename=bind
        # How far down we chunk nested sections, basically all of them:
        <xsl:param>chunk.section.depth=0
        # Don't put the first section on the same page as the TOC:
        <xsl:param>chunk.first.sections=0
        # How far down sections get TOC's
        <xsl:param>toc.section.depth=2
        # Max depth in each TOC:
        <xsl:param>toc.max.depth=2
        # How far down we go with TOC's
        <xsl:param>generate.section.toc.level=0

        <xsl:param>generate.manifest=0
     ;

xml mem_fn_ : mem_fn.qbk ;
boostbook standalone_mem_fn
    :
        mem_fn_
    :
        <xsl:param>boost.root=../../../..
        # File name of HTML output:
        <xsl:param>root.filename=mem_fn
        # How far down we chunk nested sections, basically all of them:
        <xsl:param>chunk.section.depth=0
        # Don't put the first section on the same page as the TOC:
        <xsl:param>chunk.first.sections=0
        # How far down sections get TOC's
        <xsl:param>toc.section.depth=2
        # Max depth in each TOC:
        <xsl:param>toc.max.depth=2
        # How far down we go with TOC's
        <xsl:param>generate.section.toc.level=0

        <xsl:param>generate.manifest=0
     ;

###############################################################################
alias boostdoc ;
explicit boostdoc ;
alias boostrelease : standalone_bind standalone_mem_fn ;
explicit boostrelease ;
