~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Holger Rapp
  • Date: 2009-03-26 20:25:08 UTC
  • Revision ID: sirver@kallisto.local-20090326202508-k00gr0k1uoxigrxo
Added smileys to wlmarkdown (wiki,forum,news)

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
PYBB_ATTACHMENT_ENABLE = False
114
114
PYBB_DEFAULT_MARKUP = 'markdown'
115
115
 
116
 
#######################
117
 
# Link classification #
118
 
#######################
 
116
##############################################
 
117
# Link classification and other Markup stuff #
 
118
##############################################
119
119
LOCAL_DOMAINS = [
120
120
    "xoops.widelands.org"
121
121
]
 
122
SMILEY_DIR = MEDIA_URL + "img/smileys/"
 
123
# Keep this list ordered by length of smileys
 
124
SMILEYS = [
 
125
    ("O:-)", "face-angel.png"),
 
126
    (":'-(", "face-crying.png"),
 
127
    (">:-)", "face-devilish.png"), # Hack around markdown replacement. see also SMILEY_PREESCAPING
 
128
    (":(|)", "face-monkey.png"),
 
129
    (":-D", "face-grin.png"),
 
130
    ("8-)", "face-glasses.png"),
 
131
    (":-x", "face-kiss.png"),
 
132
    (":-|", "face-plain.png"),
 
133
    (":-(", "face-sad.png"),
 
134
    (":))", "face-smile-big.png"),
 
135
    (":-)", "face-smile.png"),
 
136
    (":-O", "face-surprise.png"),
 
137
    (";-)", "face-wink.png"),
 
138
    (":D", "face-grin.png"),
 
139
    (":(", "face-sad.png"),
 
140
    (":)", "face-smile.png"),
 
141
    (":O", "face-surprise.png"),
 
142
    (";)", "face-wink.png"),
 
143
]
 
144
# This needs to be done to keep some stuff hidden from markdown
 
145
SMILEY_PREESCAPING = [
 
146
    (">:-)", "\>:-)"),
 
147
]
122
148
 
123
149
###############################
124
150
# Sphinx (Search prog) Config #