diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 465d624..983af0c 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -5,10 +5,47 @@ import doxygen ; import quickbook ; +project : requirements + # Path for links to Boost: + boost.root=../../../.. + + # Some general style settings: + table.footnote.number.format=1 + footnote.number.format=1 + + # HTML options first: + # Use graphics not text for navigation: + navig.graphics=1 + # PDF Options: + # TOC Generation: this is needed for FOP-0.9 and later: + fop1.extensions=0 + xep.extensions=1 + # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9! + fop.extensions=0 + # No indent on body text: + body.start.indent=0pt + # Margin size: + page.margin.inner=0.5in + # Margin size: + page.margin.outer=0.5in + # Paper type = A4 + paper.type=A4 + # Yes, we want graphics for admonishments: + admon.graphics=1 + # Set this one for PDF generation *only*: + # default pnd graphics are awful in PDF form, + # better use SVG's instead: + pdf:admon.graphics.extension=".svg" + pdf:"admon.graphics.path=$(boost-images)/" + pdf:"boost.url.prefix=http://www.boost.org/doc/libs/release/libs/utility/doc/html" +; + +path-constant boost-images : ../../../doc/src/images ; + # Generate XML doxygen reference for base_from_member component in base_from_member_reference.xml doxygen base_from_member_reference : - $(BOOST_ROOT)/boost/utility/base_from_member.hpp + ../../../boost/utility/base_from_member.hpp : tmp ENABLE_PREPROCESSING=YES @@ -52,7 +89,7 @@ doxygen base_from_member_reference # Generate XML doxygen reference for boost_binary component in boost_binary_reference.xml doxygen boost_binary_reference : - $(BOOST_ROOT)/boost/utility/binary.hpp + ../../../boost/utility/binary.hpp : tmp ENABLE_PREPROCESSING=YES @@ -96,8 +133,8 @@ doxygen boost_binary_reference # Generate XML doxygen reference for call_traits component in call_traits_reference.xml doxygen call_traits_reference : - $(BOOST_ROOT)/boost/call_traits.hpp - $(BOOST_ROOT)/boost/detail/call_traits.hpp + ../../../boost/call_traits.hpp + ../../../boost/detail/call_traits.hpp : tmp ENABLE_PREPROCESSING=YES @@ -141,8 +178,8 @@ doxygen call_traits_reference # Generate XML doxygen reference for compressed_pair component in compressed_pair_reference.xml doxygen compressed_pair_reference : - $(BOOST_ROOT)/boost/compressed_pair.hpp - $(BOOST_ROOT)/boost/detail/compressed_pair.hpp + ../../../boost/compressed_pair.hpp + ../../../boost/detail/compressed_pair.hpp : tmp ENABLE_PREPROCESSING=YES @@ -186,8 +223,8 @@ doxygen compressed_pair_reference # Generate XML doxygen reference for in_place_factory component in in_place_factory_reference.xml doxygen in_place_factory_reference : - $(BOOST_ROOT)/boost/utility/in_place_factory.hpp - $(BOOST_ROOT)/boost/utility/typed_in_place_factory.hpp + ../../../boost/utility/in_place_factory.hpp + ../../../boost/utility/typed_in_place_factory.hpp : tmp ENABLE_PREPROCESSING=YES @@ -234,7 +271,7 @@ doxygen in_place_factory_reference # Generate XML doxygen reference for result_of component in result_of_reference.xml doxygen result_of_reference : - $(BOOST_ROOT)/boost/utility/result_of.hpp + ../../../boost/utility/result_of.hpp : tmp ENABLE_PREPROCESSING=YES @@ -278,7 +315,7 @@ doxygen result_of_reference # Generate XML doxygen reference for string_view component in string_view_reference.xml doxygen string_view_reference : - $(BOOST_ROOT)/boost/utility/string_view.hpp + ../../../boost/utility/string_view.hpp : tmp ENABLE_PREPROCESSING=YES @@ -322,7 +359,7 @@ doxygen string_view_reference # Generate XML doxygen reference for value_init component in value_init_reference.xml doxygen value_init_reference : - $(BOOST_ROOT)/boost/utility/value_init.hpp + ../../../boost/utility/value_init.hpp : tmp ENABLE_PREPROCESSING=YES @@ -368,7 +405,7 @@ xml main : main.qbk ; # Generate ./html documentation from main.xml boostbook documentation # Each doxygen reference in quickbook files with [xinclude tmp/_reference.xml] becomes: -# +# # in boostbook. # All of these commands give the reference the id "utility.reference" boostbook standalone_main @@ -385,7 +422,7 @@ boostbook standalone_main value_init_reference # File name of HTML output: # root.filename=main - boost.root=$(BOOST_ROOT) + boost.root=../../../.. pdf:"boost.url.prefix=http://www.boost.org/doc/libs/release/libs/utility/doc/html" # How far down we chunk nested sections: no more than two so utility component pages include their reference chunk.section.depth=2 # 8