diff options
author | Daniel James <daniel@calamity.org.uk> | 2009-02-15 19:31:37 +0000 |
---|---|---|
committer | Daniel James <daniel@calamity.org.uk> | 2009-02-15 19:31:37 +0000 |
commit | 975670b17f9335af8a133cd041f60e6c878bf911 (patch) | |
tree | 425f729b7cf2f7e6f429cac76084407a3bfd15fc /doc/test | |
parent | 6b3b24b162dabadae361dea83cede49c447fe30c (diff) | |
download | boost-975670b17f9335af8a133cd041f60e6c878bf911.tar.gz |
Implement the 'boost:' for links relative to boost root. Also, optionally
replace links within the boost distribution with links to the the boost site,
which is useful for generating pdfs and standalone documentation.
Implemented with John Maddock. Fixes #1166.
[SVN r51261]
Diffstat (limited to 'doc/test')
-rw-r--r-- | doc/test/Jamfile.v2 | 1 | ||||
-rw-r--r-- | doc/test/test.qbk | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/test/Jamfile.v2 b/doc/test/Jamfile.v2 index aa8709a1d5..35a21dab56 100644 --- a/doc/test/Jamfile.v2 +++ b/doc/test/Jamfile.v2 @@ -164,6 +164,7 @@ boostbook standalone # PDF Options: #====================================================================== <format>pdf:<xsl:param>img.src.path=$(images_location)/ + <xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/test/html ; diff --git a/doc/test/test.qbk b/doc/test/test.qbk index 2181aed2e5..d4bd667572 100644 --- a/doc/test/test.qbk +++ b/doc/test/test.qbk @@ -375,6 +375,15 @@ The code should be syntax highlighted. Try this: [@http://www.boost.org this is [*boost's] website....] it should be visible as a link. +This is [@../../../boost/math/distributions.hpp a link to a header file (boost/math/distributions.hpp)], +it should be rewritable and point to the website when built as a PDF. + +This is [@boost:libs/regex/index.html a link to another library's documentation (Boost.Regex)], using the boost: protocol, +it should be rewritten to point to the website when building a PDF. + +This is [@boost:/libs/regex/index.html a link to another library's documentation (Boost.Regex)], using the boost:/ protocol, +it should be rewritten to point to the website when building a PDF. + [endsect] [section Footnotes] |