# Convert documentation Jamfile # Copyright (c) Vladimir Batov 2009-2014 # Distributed under the Boost Software License, Version 1.0. # See copy at http://www.boost.org/LICENSE_1_0.txt. using quickbook ; using doxygen ; path-constant here : . ; # convenient to refer to files in the same directory as this jamfile.v2 path-constant boost-images : ../../../doc/src/images ; import modules ; if --enable-index in [ modules.peek : ARGV ] { ECHO "Building the convert docs with automatic index generation enabled." ; using auto-index ; project convert_doc : requirements on index.idx . on html:on html:generate.index=0 pdf:on pdf:index.on.type=1 enable_index ; } else { project convert_doc ; ECHO "Building the convert docs with automatic index generation disabled. Try building with --enable-index." ; } doxygen convert_reference : [ glob $(here)/../include/boost/convert.hpp $(here)/../include/boost/make_default.hpp $(here)/../include/boost/convert/*.hpp ] : PROJECT_NAME="CONVERT" PROJECT_NUMBER=3 SORT_MEMBER_DOCS=NO SHOW_INCLUDE_FILES=NO MAX_INITIALIZER_LINES=0 VERBATIM_HEADERS=NO WARNINGS=NO # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings for undocumented members. # If EXTRACT_ALL is set to YES then this flag will automatically be disabled. WARN_IF_UNDOCUMENTED=NO # If WARN_IF_UNDOCUMENTED is set to YES, # then doxygen will generate warnings for undocumented members. WARN_IF_DOC_ERROR=YES # If WARN_IF_DOC_ERROR is set to YES, Doxygen will generate warnings for # potential errors in the documentation. #"Reference" "boost.doxygen.reftitle=Boost.Convert C++ Reference" ; xml convert : 00_main.qbk : convert_reference ; boostbook standalone : convert : boost.root=../../../.. chunk.section.depth=8 toc.section.depth=8 # How far down sections get TOCs. toc.max.depth=4 # Max depth in each TOC. # 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=1 # 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)/ ; install pdfinstall : standalone : .. PDF convert.pdf ; explicit css ; explicit images ;