]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/doc/Jamfile
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / python / doc / Jamfile
1 # Copyright (c) 2006 Joel de Guzman
2 # Copyright (c) 2015 Stefan Seefeld
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 import boostbook ;
8 import quickbook ;
9 import docutils ;
10 import os ;
11
12 path-constant here : . ;
13 path-constant images : html/images ;
14
15 project python/doc
16 : requirements
17 -<xsl:param>boost.defaults=Boost
18 <format>html:<xsl:param>boost.defaults=none
19 <format>html:<xsl:param>toc.max.depth=3
20 <format>html:<xsl:param>toc.section.depth=2
21 <format>html:<xsl:param>chunk.section.depth=1
22 ;
23
24 make numpy : numpy/index.rst : @sphinx-build ;
25
26 if [ os.name ] = NT
27 {
28 actions sphinx-build { chdir "$(>:D)" && make clean && make html}
29 }
30 else
31 {
32 actions sphinx-build { make -C "$(>:D)" clean html}
33 }
34
35 boostbook python : python.qbk
36 : <format>html:<name>$(here)/html
37 <format>html:<xsl:param>generate.toc="library nop; chapter toc; section toc;"
38 <format>html:<xsl:param>html.stylesheet=boostbook.css
39 <format>html:<xsl:param>boost.image.src=images/boost.png
40 <format>html:<xsl:param>boost.graphics.root=images/
41 ;
42
43 boostbook tutorial : tutorial.qbk
44 : <format>html:<name>$(here)/html/tutorial
45 <format>html:<xsl:param>html.stylesheet=../boostbook.css
46 <format>html:<xsl:param>boost.image.src=../images/boost.png
47 <format>html:<xsl:param>boost.graphics.root=../images/
48 ;
49
50 boostbook reference : reference.qbk
51 : <format>html:<name>$(here)/html/reference
52 <format>html:<xsl:param>html.stylesheet=../boostbook.css
53 <format>html:<xsl:param>boost.image.src=../images/boost.png
54 <format>html:<xsl:param>boost.graphics.root=../images/
55 ;
56
57 html article : article.rst
58 : <location>html
59 <docutils-html>"--link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css"
60 ;
61
62 ###############################################################################
63 alias boostdoc ;
64 explicit boostdoc ;
65 alias boostrelease : python tutorial reference numpy article ;
66 explicit boostrelease ;