summaryrefslogtreecommitdiffstats
path: root/data/doc/sisu/markup-samples/manual/_sisu/sisurc.yml
blob: 3cb498946fda42cb9f7ce8e6e5cee242ba95cf6a (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# Name: SiSU - Simple information Structuring Universe
# Author: ralph@amissah.com
# Description: Site wide environment defaults set here
# system environment info / resource configuration file, for sisu
# License: GPL v3 or later
#   site environment configuration file
#   this file should be configured and live in
#      /etc/sisu     #per environment settings, overridden by:
#      ~/.sisu       #per user settings, overridden by:
#     ./_sisu        #per local markup directory settings
#% #image source directory, main path and subdirectories
#image:
#  path:         'sisu_working'
#  public:       '_sisu/image'
#  #all:           'image'
#% presentation/web directory, main path and subdirectories (most subdirectories are created automatically based on markup directory name)
#webserv:
#  url_root:     'http://www.your.url' #url to document root, without dir stub
#  path:         '/srv/www' #'/var/www' '/srv/www.sisudoc.org/web' #either (i) / [full path from root] or (ii) ~/ [home] or (iii) ./ [pwd] or (iv) will be made from home
#  url_root:     'http://www.sisudoc.org' #without dir stub, e.g. this dir would map to http://www.sisudoc.org/samples
#  images:       '_sisu/image'
#  man:          'man'
#  cgi:          '/usr/local/lib/sisu-cgi'
#  feed:         'feed'
#  sqlite:       'sisu/sqlite'
#  webrick_url:  true
#show_output_on: 'filesystem' #for -v and -u url information, alternatives: 'filesystem','webserver','remote_webserver','local:8111','localhost','localhost:8080','webrick','path'
#show_output_on: 'local:8111'
#webserv_cgi:
#  host:         localhost
#  base_path:    ~
#  port:         '8081'
#  user:         ~
#  file_links:   www.sisudoc.org

#show_output_on: 'filesystem_url'
#texinfo display output
#texinfo:
#  stub:         'texinfo'

#% output_dir_structure_by:
#  language (language and filetype directories);
#  filetype (filetype directories, language code added to filename includes language code);
#  filetype_mono or monolingual (filetype drectories, no language codes in filenames)
#  filename (directory output similar to original v1 v2, filename includes language code);
#  filename_mono (directory output similar to original v1 v2, filename without language code);
output_dir_structure_by: language # language filetype filetype_mono filename filename_mono
#% language_default: lng_lst: %w[am bg bn br ca cs cy da de el en eo es et eu fi fr ga gl he hi hr hy ia is it ja ko la lo lt lv ml mr nl nn no oc pl pt pt_BR ro ru sa se sk sl sq sr sv ta te th tk tr uk ur us vi zh] ('en' default)
#language_default: 'en'

##% processing directories, main path and subdirectories (appended to $HOME), using defaults set in sysenv
#processing:
#  path:         'sisu_processing'
#  metaverse:    'metaverse'
#  tune:         'tune'
#  latex:        'tex'
#  texinfo:      'texinfo'
#  concord_max:  400000

#% flag - set (non-default) processing flag shortcuts -1, -2 etc. (here adding colour and verbosity as default)
flag:
  color:        true                        # making colour default -c is toggle, and will now toggle colour off
#  act0:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite --verbose'
#  act1:      '--manifest --text --html'
#  act2:      '--manifest --text --html --epub --pdf'
#  act3:      '--manifest --qrcode --text --html --epub --concordance --pdf'
#  act4:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook'
#  act5:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --sqlite'
#  act6:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite'
#  act7:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite --source --sisupod'
#  act8:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --pg --update'
#  act9:      '--manifest --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --pg --update --source --sisupod'

#% papersize, (LaTeX/pdf) available values: A4, US_letter, book_b5, book_a5, US_legal
default:
  papersize:    'a4,letter' #'a4,letter,b5,a5,legal'
  #language:      'en'
  #texpdf_font:       'Liberation Sans' # 'Liberation Sans' 'Liberation Serif'
  #texpdf_font_mono:  'Liberation Mono' #'Inconsolata'
  #text_wrap:    78
  #emphasis:     'bold' #make *{emphasis}* 'bold', 'italics' or 'underscore', default if not configured is 'bold'
  #digest:       'sha' #sha is sha256, default is md5
  #language:     'English'
  #emphasis:     'italics'

#% settings used by ssh scp
#remote:
#  -
#    user:         '[usrname]'
#    host:         '[remote.hostname]'
#    path:         '.' #no trailing slash eg 'sisu/www'
#  -
#    user:         '[usrname]'
#    host:         '[remote.hostname]'
#    path:         '.' #no trailing slash eg 'sisu/www'

#% webrick information
#webrick:
#  port:         '8081'

#sql database info, postgresql and sqlite
db:
  postgresql:
    port:       '5432' # '5432'
   #host:       # '[if not localhost, provide host tcp/ip address or domain name]''
   #user:       # '[(if different from user) provide username]'
   #password:   # '[password if required]'
#  sqlite:
#    path:       ~ # './sisu_sqlite.db'
#    port:       "**"

permission_set:
  zap:               true
  css_modify:        true
  remote_base_site:  true

program_set:
  rmagick:           true
#  wc:           true
#  editor:       true
#  postgresql:   true
#  sqlite:       true
#  tidy:         true
#  rexml:        true
#  pdflatex:     true

#program_select:
#  editor:              'vim' #'gvim -c :R'
#  pdf_viewer:          'evince'
#  web_browser:         'iceweasel'
#  console_web_browser: 'w3m' #'links2' #'elinks' #'w3m' #'lynx' #'links'
#  odf_viewer:          'lowriter' #'oowriter' #'abiword'
#  xml_viewer:          'xml-viewer'
#  epub_viewer:         'ebook-viewer' #'calibre' #'fbreader' #'okular'
#  info_viewer:         'pinfo -f'
#  man:                 'man' #'groff -man -Tascii' # 'nroff -man'

#search:
#  sisu:
#    flag:              true
#    action:            http://www.sisudoc.org/cgi-bin/sisu_v6c_sqlite.cgi
#    action:            http://search.sisudoc.org
#    db:                manual
#    title:             'SiSU search form (sample)'

#promo:                 sisu_search_libre, sisu_icon, sisu, open_society, fsf, ruby

#omit: minitoc