![]() |
Boost Docs : |
From: Stjepan Rajko (stipe_at_[hidden])
Date: 2007-07-03 01:41:02
On 6/21/07, John Maddock <john_at_[hidden]> wrote:
> Stjepan Rajko wrote:
> >
> > My question is, should the boost.root parameter by default also be
> > applied as a prefix to the boostbook.css location, as well as the
> > "Libraries" link in the navbar?
>
> I believe it already does apply to the .css in cvs HEAD, we should fix it so
> that "Libraries" is found as well though.
>
I double checked and it doesn't seem to apply boost.root as a prefix
to the .css.
> > The latter would require something similar in the definition of the
> > boost.libraries xsl:param in navbar.xsl.
> >
> > Does this sound reasonable to add? I can post the diffs here for
> > verification, since this is the first time I've looked at an xsl
> > sheet.
>
> Sure go ahead.
>
Patches attached. Since navbar.xsl defines boost.root as ../.. by
default, the patches have the following effects when boost.root is not
defined in the Jamfile, and neither are boost.libraries and
html.stylesheet:
* instead of using 'boostbook.css', it will use '../../doc/html/boostbook.css'
* instead of Libraries pointing to 'libraries.html', it will point to
../../libs/libraries.htm'
Of course, if boost.libraries and/or html.stylesheet are defined
explicitly then those values are used instead.
Should I apply these to CVS HEAD then?
Stjepan