paul@0 | 1 | # -*- coding: iso-8859-1 -*- |
paul@0 | 2 | # IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a |
paul@0 | 3 | # western country and you don't know that you use utf-8, you probably want to |
paul@0 | 4 | # use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode |
paul@0 | 5 | # encoding) you MUST use: coding: utf-8 |
paul@0 | 6 | # That setting must match the encoding your editor uses when you modify the |
paul@0 | 7 | # settings below. If it does not, special non-ASCII chars will be wrong. |
paul@0 | 8 | |
paul@0 | 9 | """ |
paul@0 | 10 | This is a sample config for a wiki that is part of a wiki farm and uses |
paul@0 | 11 | farmconfig for common stuff. Here we define what has to be different from |
paul@0 | 12 | the farm's common settings. |
paul@0 | 13 | """ |
paul@0 | 14 | |
paul@0 | 15 | # we import the FarmConfig class for common defaults of our wikis: |
paul@0 | 16 | from farmconfig import FarmConfig |
paul@0 | 17 | |
paul@0 | 18 | # now we subclass that config (inherit from it) and change what's different: |
paul@0 | 19 | class Config(FarmConfig): |
paul@0 | 20 | |
paul@0 | 21 | # basic options (you normally need to change these) |
paul@0 | 22 | sitename = u'ep2008' # [Unicode] |
paul@0 | 23 | interwikiname = 'ep2008' |
paul@0 | 24 | |
paul@0 | 25 | # name of entry page / front page [Unicode], choose one of those: |
paul@0 | 26 | |
paul@0 | 27 | # a) if most wiki content is in a single language |
paul@0 | 28 | #page_front_page = u"MyStartingPage" |
paul@0 | 29 | |
paul@0 | 30 | # b) if wiki content is maintained in many languages |
paul@0 | 31 | page_front_page = u"FrontPage" |
paul@0 | 32 | |
paul@0 | 33 | # PB: Specific EP2008 settings. |
paul@0 | 34 | |
paul@0 | 35 | data_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/data' |
paul@0 | 36 | data_underlay_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/underlay' |
paul@0 | 37 | |
paul@0 | 38 | acl_enabled = 1 |
paul@0 | 39 | theme_default = 'ep2008' |
paul@0 | 40 | |
paul@0 | 41 | logo_string = u'<img src="/wiki/ep2008/img/europython.png" alt="EuroPython" />' |
paul@0 | 42 | navi_bar = [ |
paul@0 | 43 | # If you want to show your page_front_page here: |
paul@0 | 44 | #u'%(page_front_page)s', |
paul@0 | 45 | u'Registration', |
paul@0 | 46 | u'Location', |
paul@0 | 47 | u'Places to Stay', |
paul@0 | 48 | u'Talks and Themes', |
paul@0 | 49 | u'Events', |
paul@0 | 50 | u'Sprints', |
paul@0 | 51 | u'Calendar', |
paul@0 | 52 | #u'RecentChanges', |
paul@0 | 53 | #u'FindPage', |
paul@0 | 54 | #u'HelpContents', |
paul@0 | 55 | ] |
paul@0 | 56 | |
paul@0 | 57 | banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />' |
paul@0 | 58 | contact_string = u'<div id="contact"><a href="Contact">Contact Information</a></div>' |
paul@0 | 59 | contribute_string = u'Contribute to this site!' |
paul@0 | 60 | |
paul@0 | 61 | # vim: tabstop=4 expandtab shiftwidth=4 |