]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/python/doc/SConscript
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / python / doc / SConscript
CommitLineData
7c673cae
FG
1# -*- python -*-
2#
3# Copyright (c) 2016 Stefan Seefeld
4# All rights reserved.
5#
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)
9
10Import('env')
11
12env.QuickBook('python.bbk', 'python.qbk',
13 ['building.qbk',
14 'configuration.qbk',
15 'support.qbk',
16 'faq.qbk',
17 'glossary.qbk'])
18
19env.QuickBook('tutorial.bbk', 'tutorial.qbk')
20env.QuickBook('reference.bbk', 'reference.qbk',
21 Glob('reference/*.qbk'))
22
23
24env.BoostBook('python.dbk', 'python.bbk')
25env.BoostBook('tutorial.dbk', 'tutorial.bbk')
26env.BoostBook('reference.dbk', 'reference.bbk')
27
28images = Glob('images/*.*') + Glob('images/callouts/*.*')
29
30env.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'])
40env.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/'])
44env.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/'])
48
49env.BoostRST('html/article.html', 'article.rst', resources=['rst.css'])
50
51if env['NUMPY']:
52 env.BoostSphinx('html/numpy', 'numpy/')