Skip to content

bertocco/opencadc_doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

**** Github repository AC_UsersGuide content:

README this file with installation and usage instructions.
ACUsersGuide 	directory containing the AC User's Guide brand
Makefile 	used to install brand and compile different formats and languages
publican.cfg 	this guide specific configuration
en-US  		english version
fr-FR  		french version
pot   		directory containing pot files used to obtain french version

**** Usage instructions in CentOS7:

** Install publican. 

$ yum install publican publican-doc publican-brand
Replace brand with a known brand, for example, redhat, fedora, jboss, ovirt, or gimp.


** Clone the repository.
git clone https://github.com/bertocco/opencadc_doc

** Install the brand. 
The brand files must be placed in a subdirectory of the Publican Common Content
directory (in CentOS7 the AC custom brand directory must be placed in
/usr/share/publican/Common_Content). 

sudo cp -r ${MY_REPO}/ACUsersGuide /usr/share/publican/Common_Content

** Compile the book.

* In a single html page:
publican build --formats html-single --langs en-US --config publican.cfg

* In html:
publican build --formats html --langs en-US --config publican.cfg

* In pdf:
publican build --formats pdf --langs en-US --config publican.cfg

* In a single .txt file:
publican build --formats txt --langs en-US --config publican.cfg

* In more formats:
publican build --formats txt,html,html-single,pdf --langs en-US --config publican.cfg

The compilation output will be located in ${MY_REPO}/ACUsersGuide/tmp/<lang_code>/<format>