publican create_brand --name=brand --lang=language_code command creates a directory structure and the required files. The brand directory initially contains:
COPYING
defaults.cfg
overrides.cfg
publican.cfg
publican-brand.spec, where brand is the name of the brand.
README
en-US). These files are:
Feedback.xml
Legal_Notice.xml
css subdirectory, which contains:
overrides.css
images subdirectory, which contains 43 images in both raster (PNG) and vector (SVG) formats.
publican.cfg file in a brand serves a similar purpose to the publican.cfg file in a document — it configures a number of basic options that define your brand.
versionpublican create_brand, the version number is set to 1.0. Update the version number here in the brand publican.cfg file and in the brand publican.spec file when you prepare a new version of the brand.
12 in its publican.cfg file, but might be built with version 1.0 of the publican-fedora brand.
xml_langen-US, as set by the --lang option for publican create_brand.
releasepublican create_brand, the release number is set to 0. Update the version number here in the brand publican.cfg file and in the brand publican.spec file when you prepare a new release of an existing version of the brand.
typetype=brand, this parameter identifies the contents of this directory as a brand, rather than a book, article, or set.
brand--name option for publican create_brand.
publican.cfg file in its root directory, which configures build options for the document. Refer to Section 3.1.1, “The publican.cfg file” for a full description of these options. The defaults.cfg file and overrides.cfg file in a brand supply default values for any of the parameters that you can otherwise set with a document's publican.cfg file.
defaults.cfg file before it applies the values in the document's publican.cfg file. Values in the document's publican.cfg file therefore override those in the brand's defaults.cfg file.
overrides.cfg file, which therefore override any values in the brand's defaults.cfg file and the document's publican.cfg file.
defaults.cfg file to set values that you routinely apply to your brand but want to allow writers to change in particular books; use the overrides.cfg file for values that you do not want to allow writers to change.
brand.spec fileREADME file in an SRPM package includes a brief description of the package.
COPYING file in an SRPM package contains details of the copyright license for the package.
--lang option when you created the brand. This subdirectory contains XML and image files that override the default Common Content provided with Publican. Customizing these files provides your brand with its distinctive appearance, including its color scheme and logos.
Feedback.xmlFeedback.xml file is included by default in the preface of every book produced in Publican. It invites readers to leave feedback about the document. Customize this file with the contact details of your project. If your project uses a bug tracking system such as Bugzilla, JIRA, or Trac, you could include this information here.
Legal_Notice.xmlLegal_Notice.xml file contains the legal notice that appears at the beginning of every document produced by Publican. Insert the details of your chosen copyright license into this file. Typically, this might include the name of the license, a short summary of the license, and a link to the full details of the license.
css subdirectorycss subdirectory contains a single file: overrides.css.
overrides.css file sets the visual style for your brand. Values in this file override those in Publican's Common_Content/common/xml_lang/css/common.css file.
images subdirectoryimages subdirectory contains 43 images in both portable network graphics (PNG) and scalable vector graphics (SVG) format. These images are placeholders for various navigation icons, admonition graphics, and brand logos. They include:
image_leftprod_url in the publican.cfg file for the document. Consider setting prod_url in the brand's defaults.cfg or overrides.cfg file.
image_rightdoc_url in the publican.cfg file for the document. If all the documentation for this brand is produced by the same team, consider setting doc_url in the brand's defaults.cfg or overrides.cfg file.
title_logonote, important, warning<note>, <important>, and <warning>.
dot, dot2<listitem>s in <itemizedlist>s.
stock-go-back, stock-go-forward, stock-go-up, stock-homeh1-bgwatermark_draft