10 Jun
2014
10 Jun
'14
2:44 p.m.
On 10 June 2014 15:33, Peter Dimov
Very nice!
What are the best practices of defining templates in .qbk files that are part of the combined documentation build? Are the templates local to their file?
Since the different libraries' documentation is translated to boostbook separately templates can't affect other libraries, so you don't have to worry about that. The rules for templates depend on the quickbook version of your document, for older versions of quickbook templates are defined globally, in 1.6 templates are scoped to the file they were defined in. In 1.6 they can be imported from another file using [import file.qbk], so that it's still possible to create a template library file.