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
|
# Resource file used by the Document class of the HTML module
from HTMLcolors import *
author = 'M. Python'
email = 'monty@flying.circus.comb'
bgcolor = WHITE
textcolor = BLACK
linkcolor = RED
vlinkcolor = RED6
banner = None # ('./quasars.gif', 472, 50)
logo = ('./Gendoc/formatters/python.gif', 100, 63)
logo = ('/image/www_icon.gif', 40, 40)
blank = ('/image/blank.gif', 71, 19)
prev = ('/image/BTN_PrevPage.gif', 71, 19)
next = ('/image/BTN_NextPage.gif', 71, 19)
top = ('/image/BTN_ManualTop.gif', 74, 19)
home = ('/image/BTN_HomePage.gif', 74, 19)
gohome = 'index.html'
# Read overriding .rc files
from os import environ, path
# Execute HTML.rc in $(HOME)
try:
file = path.join(environ['HOME'], 'HTML.rc')
execfile(file)
print "Read %s" % file
except:
pass
# Execute HTML.rc in current directory
try:
file = './HTML.rc'
execfile(file)
print "Read %s" % file
except:
pass
|