From b0eae61579a47d3fedeeb660c52b440ae534bcd5 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 27 Jul 2005 19:28:30 +0000 Subject: [PATCH] Change the way stylesheets are handled [SVN r30266] --- doc/Jamfile.v2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 6a0d83e..42c7740 100755 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,15 +1,19 @@ import docutils ; -path-constant docutils-css : ../../iterator/doc/default.css ; - import path ; sources = [ path.glob . : *.rst ] ; bases = $(sources:S=) ; +# This is a path relative to the html/ subdirectory where the +# generated output will eventually be moved. +stylesheet = "--stylesheet=../../../../rst.css" ; + for local b in $(bases) { html $(b) : $(b).rst : - "-gdt --traceback --trim-footnote-reference-space --footnote-references=superscript --embed-stylesheet --stylesheet-path="$(docutils-css) + + # + "-gdt --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet) ; }