Bug 800252 - publican should support a directory path for brand packages
Summary: publican should support a directory path for brand packages
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
Depends On:
Blocks: 820023
TreeView+ depends on / blocked
Reported: 2012-03-06 07:06 UTC by Peter Hutterer
Modified: 2012-10-31 03:11 UTC (History)
5 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-10-31 03:11:02 UTC

Attachments (Terms of Use)

Description Peter Hutterer 2012-03-06 07:06:57 UTC
Description of problem:
publican requires the brand package to be installed system-wide. For single-project documentation generated through publican this isn't necessary, a simple commandline flag to specify the brand directory during the documentation build process would make integration easier.

Comment 1 Jeff Fearn 🐞 2012-03-14 02:32:45 UTC
Added brand_dir option and publican XSL name space.

Need to add docs to the PUG explaining that when using brand_dir for a brand with XSL overrides that the include path for Publican XSL files needs to be changed from a relative path to a URI.


<xsl:import href="../../../xsl/html.xsl"/>


<xsl:import href="https://fedorahosted.org/released/publican/xsl/docbook4/html.xsl"/>

Also need to document how to add the publican name space to the local catalog. publican.spec in the publican repo has been modified to update the catalog in %post and %postun.

Brands not supplying XSL files do not need to worry about the XSL path.

Pushed To ssh://git.fedorahosted.org/git/publican.git
   28f73d8..4700cf5  master -> master

Comment 2 Michael Hideo 2012-06-08 01:55:51 UTC
build publican website, build a book that uses the new brand directory option, build the book, install the book, verify that the brand specific content goes into the directory we have specified.

Comment 3 Zac Dover 2012-06-16 02:49:27 UTC
Build publican website - build
build a book that uses the brand directory option - built
install the book - installed
verify that the brand-specific content goes into the directory we have specified - verified

Note You need to log in before you can comment on or make changes to this bug.