# # Copyright (c) 2015-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 rippled/doc ; using boostbook ; using quickbook ; using doxygen ; path-constant out : . ; install stylesheets : $(broot)/doc/src/boostbook.css : $(out)/html ; explicit stylesheets ; install images : [ glob $(broot)/doc/src/images/*.png ] : $(out)/html/images ; explicit images ; install callouts : [ glob $(broot)/doc/src/images/callouts/*.png ] : $(out)/html/images/callouts ; explicit callout ; xml doc : main.qbk : temp $(broot)/tools/boostbook/dtd ; boostbook boostdoc : doc : chapter.autolabel=0 boost.root=$(broot) chunk.first.sections=1 # Chunk the first top-level section? chunk.section.depth=8 # Depth to which sections should be chunked generate.section.toc.level=1 # Control depth of TOC generation in sections toc.max.depth=2 # How many levels should be created for each TOC? toc.section.depth=2 # How deep should recursive sections appear in the TOC? generate.toc="chapter toc section toc" : temp stylesheets images ;