You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nbviewer/app.py
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,9 +80,14 @@ class NBViewer(Application):
80
80
# Use this to insert custom configuration of handlers for NBViewer extensions
81
81
handler_settings=Dict().tag(config=True)
82
82
83
+
create_handler=Unicode(default_value="nbviewer.handlers.CreateHandler", help="The Tornado handler to use for creation via frontpage form.").tag(config=True)
84
+
custom404_handler=Unicode(default_value="nbviewer.handlers.Custom404", help="The Tornado handler to use for rendering 404 templates.").tag(config=True)
85
+
faq_handler=Unicode(default_value="nbviewer.handlers.FAQHandler", help="The Tornado handler to use for rendering and viewing the FAQ section.").tag(config=True)
83
86
gist_handler=Unicode(default_value="nbviewer.providers.gist.handlers.GistHandler", help="The Tornado handler to use for viewing notebooks stored as GitHub Gists").tag(config=True)
84
87
github_blob_handler=Unicode(default_value="nbviewer.providers.github.handlers.GitHubBlobHandler", help="The Tornado handler to use for viewing notebooks stored as blobs on GitHub").tag(config=True)
85
88
github_tree_handler=Unicode(default_value="nbviewer.providers.github.handlers.GitHubTreeHandler", help="The Tornado handler to use for viewing directory trees on GitHub").tag(config=True)
89
+
github_user_handler=Unicode(default_value="nbviewer.providers.github.handlers.GitHubUserHandler", help="The Tornado handler to use for viewing all of a user's repositories on GitHub.").tag(config=True)
90
+
index_handler=Unicode(default_value="nbviewer.handlers.IndexHandler", help="The Tornado handler to use for rendering the frontpage section.").tag(config=True)
86
91
local_handler=Unicode(default_value="nbviewer.providers.local.handlers.LocalFileHandler", help="The Tornado handler to use for viewing notebooks found on a local filesystem").tag(config=True)
87
92
url_handler=Unicode(default_value="nbviewer.providers.url.handlers.URLHandler", help="The Tornado handler to use for viewing notebooks accessed via URL").tag(config=True)
88
93
user_gists_handler=Unicode(default_value="nbviewer.providers.gist.handlers.UserGistsHandler", help="The Tornado handler to use for viewing directory containing all of a user's Gists").tag(config=True)
0 commit comments