• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
3#
4# Distributed under the Boost Software License, Version 1.0. (See accompanying
5# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6#
7
8import os ;
9
10local broot = [ os.environ BOOST_ROOT ] ;
11
12project docca/doc ;
13
14using boostbook ;
15using quickbook ;
16using doxygen ;
17
18xml docca_bb : main.qbk ;
19
20path-constant out : . ;
21
22install stylesheets
23    :
24        $(broot)/doc/src/boostbook.css
25    :
26        <location>$(out)/html
27    ;
28
29explicit stylesheets ;
30
31install images
32    :
33        [ glob $(broot)/doc/src/images/*.png ]
34    :
35        <location>$(out)/html/images
36    ;
37
38explicit images ;
39
40install callouts
41    :
42        [ glob $(broot)/doc/src/images/callouts/*.png ]
43    :
44        <location>$(out)/html/images/callouts
45    ;
46
47explicit callout ;
48
49boostbook doc
50    :
51        docca_bb
52    :
53        <xsl:param>chapter.autolabel=0
54        <xsl:param>boost.root=$(broot)
55        <xsl:param>chapter.autolabel=0
56        <xsl:param>chunk.first.sections=1               # Chunk the first top-level section?
57        <xsl:param>chunk.section.depth=8                # Depth to which sections should be chunked
58        <xsl:param>generate.section.toc.level=1         # Control depth of TOC generation in sections
59        <xsl:param>toc.max.depth=2                      # How many levels should be created for each TOC?
60        <xsl:param>toc.section.depth=2                  # How deep should recursive sections appear in the TOC?
61    :
62        <location>temp
63        <dependency>stylesheets
64        <dependency>images
65    ;
66