[boost/Quickbook] Build documentation with several files
Hi, I have several *.qbk files and I want to build documentation of all of them at one time. They are all in the same folder, so I use the same Jamfile for each one: *using quickbook ; import boostbook : boostbook ; # Intro xml intro : src/intro.qbk ; # Libraries xml base_lib : src/libs/base.qbk ; # App xml client : src/app/client.qbk ; boostbook documentation : intro : <dependency>css ; boostbook lib : base_lib : <dependency>css ; boostbook client : client : <dependency>css ; install css : [ glob ./*.css ] : <location>../html ; explicit css ;* However, they have been building at the same root folder. That fact left me only one index file, because the previous one have been overwrite. How can I resolve it? Thanks
However, they have been building at the same root folder. That fact left me only one index file, because the previous one have been overwrite.
How can I resolve it?
Not sure but I think base.dir and root.filename are the xslt params you're looking for, see: http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html John.
On 02-06-2010 17:35, John Maddock wrote:
However, they have been building at the same root folder. That fact left me only one index file, because the previous one have been overwrite.
How can I resolve it?
Not sure but I think base.dir and root.filename are the xslt params you're looking for, see: http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users Thanks John. It is exactly what I need ;)
Hi, I managed to get it working with the xslt params that you give. However, I can't set home and up buttons in navigation to a specific url. I already try these params and nothing work: <xsl:param name = "prev" select = "/foo"/> <xsl:param name = "next" select = "/foo"/> <xsl:param name = "nav.context"/> <xsl:variable name = "home" select = "/*[1]"/> <xsl:variable name = "up" select = "parent::*"/> <xsl:param name="htmlhelp.button.home.url"></xsl:param> <xsl:param name="htmlhelp.button.home" select="0"></xsl:param> *Jamfile:* xml main : src/main.qbk ; xml clientXml : src/app/client.qbk ; boostbook main_base : main : <xsl:param>boost.image.src="./images/logo.png" <xsl:param>boost.image.w=100 <xsl:param>boost.image.h=100 <xsl:param>nav.layout=none <xsl:param>base.dir=../doc/html/ <xsl:param>root.filename=index <xsl:param>html.stylesheet=./boost.css <xsl:param>generate.manifest=0 <xsl:param>htmlhelp.button.home=0 <dependency>.//clientXml <implicit-dependency>.//clientXml ; boostbook client : clientXml : <xsl:param>boost.image.src="./../../images/logo.png" <xsl:param>boost.image.w=100 <xsl:param>boost.image.h=100 <xsl:param>nav.layout=none <xsl:param>navig.graphics.path="./../../images/" <xsl:param>base.dir=../doc/html/app/client/ <xsl:param>root.filename=index <xsl:param>html.stylesheet=./../../boost.css <xsl:param>generate.manifest=0 ; Thanks On 02-06-2010 17:35, John Maddock wrote:
However, they have been building at the same root folder. That fact left me only one index file, because the previous one have been overwrite.
How can I resolve it?
Not sure but I think base.dir and root.filename are the xslt params you're looking for, see: http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html
John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Carlos Guimarães
-
John Maddock