-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
47 lines (31 loc) · 1.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
**** 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>