Show More
@@ -96,6 +96,9 b' ipython notebook --certfile=mycert.pem # use SSL/TLS certificate' | |||||
96 | ipython notebook --port=5555 --ip=* # Listen on port 5555, all interfaces |
|
96 | ipython notebook --port=5555 --ip=* # Listen on port 5555, all interfaces | |
97 | """ |
|
97 | """ | |
98 |
|
98 | |||
|
99 | # Packagers: modify this line if you store the notebook static files elsewhere | |||
|
100 | DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static") | |||
|
101 | ||||
99 | #----------------------------------------------------------------------------- |
|
102 | #----------------------------------------------------------------------------- | |
100 | # Helper functions |
|
103 | # Helper functions | |
101 | #----------------------------------------------------------------------------- |
|
104 | #----------------------------------------------------------------------------- | |
@@ -416,7 +419,7 b' class NotebookApp(BaseIPythonApplication):' | |||||
416 | @property |
|
419 | @property | |
417 | def static_file_path(self): |
|
420 | def static_file_path(self): | |
418 | """return extra paths + the default location""" |
|
421 | """return extra paths + the default location""" | |
419 | return self.extra_static_paths + [os.path.join(os.path.dirname(__file__), "static")] |
|
422 | return self.extra_static_paths + [DEFAULT_STATIC_FILES_PATH] | |
420 |
|
423 | |||
421 | mathjax_url = Unicode("", config=True, |
|
424 | mathjax_url = Unicode("", config=True, | |
422 | help="""The url for MathJax.js.""" |
|
425 | help="""The url for MathJax.js.""" |
General Comments 0
You need to be logged in to leave comments.
Login now