File: arch.conf

package info (click to toggle)
archmage 0.0.7-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 304 kB
  • ctags: 73
  • sloc: python: 389; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 1,412 bytes parent folder | download
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
# Directory for templates, all files in that directory will be parsed
# and <%.+%> occurencies will be replaced with values from that
# file. For example, <%title%>, will be substituted by value of title
# variable.
# There is also some special variables, which have default values:
# contents - list, which represents chm file contents and deftopic -
# name of default page.

templates_dir='/usr/share/archmage/templates/'

# List of auxillary files, stored inside chm. 
# Those files would not be extracted.

auxes=('/#IDXHDR', '/#ITBITS', '/#STRINGS', '/#SYSTEM', '/#TOPICS',
       '/#URLSTR', '/#URLTBL', '/#WINDOWS', '/$FIftiMain', '/$OBJINST',
       '/$WWAssociativeLinks', '/$WWKeywordLinks', ':')

# Title. That is value, which you want to see in browser title.
# 'sourcename' is the name of source file.
from os.path import basename
title=basename(sourcename)

# Background and foreground colors for header.
bcolor='#63baff'
fcolor='white'

# Filenames inside chm stored in utf-8, but links can be in some
# national codepage. If you set fs_encoding such links would be
# converted to it.
fs_encoding='utf-8'

# If your filesystem is case-sensitive, links in the html can point to
# files that have differences in the case you need to set
# filename_case to 1 in that case :-)
filename_case=1

# If you want to add javascript code for restore framing to every
# page, set addframing.
restore_framing=1