Revert "Use path-constant in Jamfile"

This reverts commit 5ae025b56a46a0046d7b0a6731e1bc04cc16188f.

Reason for revert: This breaks local generation of docs due to broken
links to css and images.
This commit is contained in:
Andrey Semashev 2021-12-09 00:02:37 +03:00
parent c21d2818c7
commit aa0ccfa65e

View File

@ -5,10 +5,47 @@
import doxygen ;
import quickbook ;
project : requirements
# Path for links to Boost:
<xsl:param>boost.root=../../../..
# Some general style settings:
<xsl:param>table.footnote.number.format=1
<xsl:param>footnote.number.format=1
# HTML options first:
# Use graphics not text for navigation:
<xsl:param>navig.graphics=1
# PDF Options:
# TOC Generation: this is needed for FOP-0.9 and later:
<xsl:param>fop1.extensions=0
<xsl:param>xep.extensions=1
# TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
<xsl:param>fop.extensions=0
# No indent on body text:
<xsl:param>body.start.indent=0pt
# Margin size:
<xsl:param>page.margin.inner=0.5in
# Margin size:
<xsl:param>page.margin.outer=0.5in
# Paper type = A4
<xsl:param>paper.type=A4
# Yes, we want graphics for admonishments:
<xsl:param>admon.graphics=1
# Set this one for PDF generation *only*:
# default pnd graphics are awful in PDF form,
# better use SVG's instead:
<format>pdf:<xsl:param>admon.graphics.extension=".svg"
<format>pdf:<xsl:param>"admon.graphics.path=$(boost-images)/"
<format>pdf:<xsl:param>"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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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
:
<location>tmp
<doxygen:param>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/<component>_reference.xml] becomes:
# <xi:include href="$(BOOST_ROOT)/libs/utility/doc/tmp/<component>_reference.xml"/>
# <xi:include href="../../../../libs/utility/doc/tmp/<component>_reference.xml"/>
# in boostbook.
# All of these <xi:include> commands give the reference the id "utility.reference"
boostbook standalone_main
@ -385,7 +422,7 @@ boostbook standalone_main
<dependency>value_init_reference
# File name of HTML output:
# <xsl:param>root.filename=main
<xsl:param>boost.root=$(BOOST_ROOT)
<xsl:param>boost.root=../../../..
<format>pdf:<xsl:param>"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
<xsl:param>chunk.section.depth=2 # 8