@@ -120,7 +120,35 @@ class NBViewer(Application):
120
120
'debug' : (
121
121
{'Application' : {'log_level' : logging .DEBUG }},
122
122
"Set log-level to debug, for the most verbose logging."
123
- ),
123
+ ),
124
+ 'generate-config' : (
125
+ {'NBViewer' : {'generate_config' : True }},
126
+ "Generate default config file."
127
+ ),
128
+ 'localfile-any-user' : (
129
+ {'NBViewer' : {'localfile_any_user' : True }},
130
+ "Also serve files that are not readable by 'Other' on the local file system."
131
+ ),
132
+ 'localfile-follow-symlinks' : (
133
+ {'NBViewer' : {'localfile_follow_symlinks' : True }},
134
+ "Resolve/follow symbolic links to their target file using realpath."
135
+ ),
136
+ 'no-cache' : (
137
+ {'NBViewer' : {'no_cache' : True }},
138
+ "Do not cache results."
139
+ ),
140
+ 'no-check-certificate' : (
141
+ {'NBViewer' : {'no_check_certificate' : True }},
142
+ "Do not validate SSL certificates."
143
+ ),
144
+ 'y' : (
145
+ {'NBViewer' : {'answer_yes' : True }},
146
+ "Answer yes to any questions (e.g. confirm overwrite)."
147
+ ),
148
+ 'yes' : (
149
+ {'NBViewer' : {'answer_yes' : True }},
150
+ "Answer yes to any questions (e.g. confirm overwrite)."
151
+ ),
124
152
})
125
153
126
154
# Use this to insert custom configuration of handlers for NBViewer extensions
0 commit comments