3 # Copyright (c) 2016 Stefan Seefeld
6 # Distributed under the Boost Software License, Version 1.0.
7 # (See accompanying file LICENSE_1_0.txt or copy at
8 # http://www.boost.org/LICENSE_1_0.txt)
12 env.QuickBook('python.bbk', 'python.qbk',
19 env.QuickBook('tutorial.bbk', 'tutorial.qbk')
20 env.QuickBook('reference.bbk', 'reference.qbk',
21 Glob('reference/*.qbk'))
24 env.BoostBook('python.dbk', 'python.bbk')
25 env.BoostBook('tutorial.dbk', 'tutorial.bbk')
26 env.BoostBook('reference.dbk', 'reference.bbk')
28 images = Glob('images/*.*') + Glob('images/callouts/*.*')
30 env.BoostHTML('html/', 'python.dbk',
31 resources=['boostbook.css'] + images,
32 args=['--stringparam', 'generate.toc', '"library nop; chapter toc; section toc;"',
33 '--stringparam', 'html.stylesheet', 'boostbook.css',
34 '--stringparam', 'boost.image.src', 'images/bpl.png',
35 '--stringparam', 'boost.graphics.root', 'images/',
36 '--stringparam', 'boost.defaults', 'none',
37 '--param', 'toc.max.depth', '3',
38 '--param', 'toc.section.depth' ,'2',
39 '--param', 'chunk.section.depth', '1'])
40 env.BoostHTML('html/tutorial/', 'tutorial.dbk',
41 args=['--stringparam', 'html.stylesheet', '../boostbook.css',
42 '--stringparam', 'boost.image.src', '../images/bpl.png',
43 '--stringparam', 'boost.graphics.root', '../images/'])
44 env.BoostHTML('html/reference/', 'reference.dbk',
45 args=['--stringparam', 'html.stylesheet', '../boostbook.css',
46 '--stringparam', 'boost.image.src', '../images/bpl.png',
47 '--stringparam', 'boost.graphics.root', '../images/'])
49 env.BoostRST('html/article.html', 'article.rst', resources=['rst.css'])
52 env.BoostSphinx('html/numpy', 'numpy/')