-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinkyconfig.py
44 lines (41 loc) · 1.66 KB
/
inkyconfig.py
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
40
41
42
43
44
inky = {
'name_re': '^[\w\-\s\(\)]{1,50}$',
're_title': 'Must contain only letters, numbers, underscores, & spaces',
'locked_files': ['main','about','inky_markup'],
'delete_ok': False,
'edit_ok': True,
'rename_ok': False,
'num_ok': 3
}
#################################################################################
########################## Inky - Config Definitions ############################
#################################################################################
##
# 1) name_re => (String)
# -- The regEx pattern for allowable article names.
##
# 2) re_title => (String)
# -- Client-side notification if the user supplies a bad form entry.
##
# 3) locked_files => (List of Strings)
# -- Articles that can never be modified client-side regardless of
# -- other settings.
##
# 4) delete_ok => (True/False)
# -- Enable/Disable client-side deletion of articles globally.
##
# 5) edit_ok => (True/False)
# -- Enable/disable client-side editing of articles globally.
##
# 6) rename_ok => (True/False)
# -- Enable/disable client-side renaming of articles globally.
# -- This can be a dangerous option that is not recommended to turn on.
# -- Renaming will make any references to the page no longer valid as a
# -- recursive search through other pages is not performed.
##
# 7) num_ok => (Integer)
# -- Used for proper list display of edit, rename, and delete options.
# -- The number should be equal tot he number of True values in config
# -- items 4 - 6.
##
#################################################################################