2013-06-20 22:17:08 +08:00
|
|
|
"""The IPython HTML Notebook"""
|
|
|
|
|
|
|
|
import os
|
|
|
|
# Packagers: modify this line if you store the notebook static files elsewhere
|
|
|
|
DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static")
|
2014-11-06 02:29:31 +08:00
|
|
|
|
|
|
|
# Packagers: modify the next line if you store the notebook template files
|
|
|
|
# elsewhere
|
|
|
|
|
|
|
|
# Include both IPython/html/ and IPython/html/templates/. This makes it
|
|
|
|
# possible for users to override a template with a file that inherits from that
|
|
|
|
# template.
|
|
|
|
#
|
|
|
|
# For example, if you want to override a specific block of notebook.html, you
|
2014-11-07 03:59:44 +08:00
|
|
|
# can create a file called notebook.html that inherits from
|
2014-11-06 02:29:31 +08:00
|
|
|
# templates/notebook.html, and the latter will resolve correctly to the base
|
|
|
|
# implementation.
|
|
|
|
DEFAULT_TEMPLATE_PATH_LIST = [
|
|
|
|
os.path.dirname(__file__),
|
|
|
|
os.path.join(os.path.dirname(__file__), "templates"),
|
|
|
|
]
|
2013-06-20 22:17:08 +08:00
|
|
|
|
|
|
|
del os
|
2014-01-10 09:36:43 +08:00
|
|
|
|
2014-11-05 13:19:17 +08:00
|
|
|
from .nbextensions import install_nbextension
|