1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/ep2008.py Sun Nov 25 19:00:45 2007 +0100
1.3 @@ -0,0 +1,61 @@
1.4 +# -*- coding: iso-8859-1 -*-
1.5 +# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
1.6 +# western country and you don't know that you use utf-8, you probably want to
1.7 +# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
1.8 +# encoding) you MUST use: coding: utf-8
1.9 +# That setting must match the encoding your editor uses when you modify the
1.10 +# settings below. If it does not, special non-ASCII chars will be wrong.
1.11 +
1.12 +"""
1.13 +This is a sample config for a wiki that is part of a wiki farm and uses
1.14 +farmconfig for common stuff. Here we define what has to be different from
1.15 +the farm's common settings.
1.16 +"""
1.17 +
1.18 +# we import the FarmConfig class for common defaults of our wikis:
1.19 +from farmconfig import FarmConfig
1.20 +
1.21 +# now we subclass that config (inherit from it) and change what's different:
1.22 +class Config(FarmConfig):
1.23 +
1.24 + # basic options (you normally need to change these)
1.25 + sitename = u'ep2008' # [Unicode]
1.26 + interwikiname = 'ep2008'
1.27 +
1.28 + # name of entry page / front page [Unicode], choose one of those:
1.29 +
1.30 + # a) if most wiki content is in a single language
1.31 + #page_front_page = u"MyStartingPage"
1.32 +
1.33 + # b) if wiki content is maintained in many languages
1.34 + page_front_page = u"FrontPage"
1.35 +
1.36 + # PB: Specific EP2008 settings.
1.37 +
1.38 + data_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/data'
1.39 + data_underlay_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/underlay'
1.40 +
1.41 + acl_enabled = 1
1.42 + theme_default = 'ep2008'
1.43 +
1.44 + logo_string = u'<img src="/wiki/ep2008/img/europython.png" alt="EuroPython" />'
1.45 + navi_bar = [
1.46 + # If you want to show your page_front_page here:
1.47 + #u'%(page_front_page)s',
1.48 + u'Registration',
1.49 + u'Location',
1.50 + u'Places to Stay',
1.51 + u'Talks and Themes',
1.52 + u'Events',
1.53 + u'Sprints',
1.54 + u'Calendar',
1.55 + #u'RecentChanges',
1.56 + #u'FindPage',
1.57 + #u'HelpContents',
1.58 + ]
1.59 +
1.60 + banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />'
1.61 + contact_string = u'<div id="contact"><a href="Contact">Contact Information</a></div>'
1.62 + contribute_string = u'Contribute to this site!'
1.63 +
1.64 +# vim: tabstop=4 expandtab shiftwidth=4