1 # Copyright (c) 2006 Joel de Guzman
2 # Copyright (c) 2015 Stefan Seefeld
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)
12 path-constant here : . ;
13 path-constant images : html/images ;
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
24 make numpy : numpy/index.rst : @sphinx-build ;
28 actions sphinx-build { chdir "$(>:D)" && make clean && make html}
32 actions sphinx-build { make -C "$(>:D)" clean html}
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/
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/
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/
57 html article : article.rst
59 <docutils-html>"--link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css"
62 ###############################################################################
65 alias boostrelease : python tutorial reference numpy article ;
66 explicit boostrelease ;