~/.publican.cfg
. Currently, Publican supports the following values:
Note
publican.cfg
that is used to build a book. It does not accept the same parameters.
Example 2.1. Setting formats and lang
$ echo 'formats: "html,html-single,pdf,txt"' >> ~/.publican.cfg $ echo 'langs: "en-US"' >> ~/.publican.cfg $ publican build Setting up en-US [...] Finished txt
~/.publican.cfg
.
Example 2.2. Setting user details
$ echo 'firstname: "Dude"' >> ~/.publican.cfg $ echo 'surname: "McPants"' >> ~/.publican.cfg $ echo 'email: "dude.mcpants@awesome.com"' >> ~/.publican.cfg $ publican add_revision --member "Updated examples in chapter 2." \ --member "Removed obsolete example in sect 4.1"