summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/docca/example/Jamfile
blob: 61d564f0761d0bc2fca3e7ccaae522bbb070a4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot 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 os ;

local broot = [ os.environ BOOST_ROOT ] ;

project docca/doc ;

using boostbook ;
using quickbook ;
using doxygen ;

xml docca_bb : main.qbk ;

path-constant out : . ;

install stylesheets
    :
        $(broot)/doc/src/boostbook.css
    :
        <location>$(out)/html
    ;

explicit stylesheets ;

install images
    :
        [ glob $(broot)/doc/src/images/*.png ]
    :
        <location>$(out)/html/images
    ;

explicit images ;

install callouts
    :
        [ glob $(broot)/doc/src/images/callouts/*.png ]
    :
        <location>$(out)/html/images/callouts
    ;

explicit callout ;

boostbook doc
    :
        docca_bb
    :
        <xsl:param>chapter.autolabel=0
        <xsl:param>boost.root=$(broot)
        <xsl:param>chapter.autolabel=0
        <xsl:param>chunk.first.sections=1               # Chunk the first top-level section?
        <xsl:param>chunk.section.depth=8                # Depth to which sections should be chunked
        <xsl:param>generate.section.toc.level=1         # Control depth of TOC generation in sections
        <xsl:param>toc.max.depth=2                      # How many levels should be created for each TOC?
        <xsl:param>toc.section.depth=2                  # How deep should recursive sections appear in the TOC?
    :
        <location>temp
        <dependency>stylesheets
        <dependency>images
    ;