Show More
@@ -1,25 +1,25 b'' | |||||
1 | """The IPython HTML Notebook""" |
|
1 | """The IPython HTML Notebook""" | |
2 |
|
2 | |||
3 | import os |
|
3 | import os | |
4 | # Packagers: modify this line if you store the notebook static files elsewhere |
|
4 | # Packagers: modify this line if you store the notebook static files elsewhere | |
5 | DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static") |
|
5 | DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static") | |
6 |
|
6 | |||
7 | # Packagers: modify the next line if you store the notebook template files |
|
7 | # Packagers: modify the next line if you store the notebook template files | |
8 | # elsewhere |
|
8 | # elsewhere | |
9 |
|
9 | |||
10 | # Include both IPython/html/ and IPython/html/templates/. This makes it |
|
10 | # Include both IPython/html/ and IPython/html/templates/. This makes it | |
11 | # possible for users to override a template with a file that inherits from that |
|
11 | # possible for users to override a template with a file that inherits from that | |
12 | # template. |
|
12 | # template. | |
13 | # |
|
13 | # | |
14 | # For example, if you want to override a specific block of notebook.html, you |
|
14 | # For example, if you want to override a specific block of notebook.html, you | |
15 |
# can create a file called notebook.html that inherits from |
|
15 | # can create a file called notebook.html that inherits from | |
16 | # templates/notebook.html, and the latter will resolve correctly to the base |
|
16 | # templates/notebook.html, and the latter will resolve correctly to the base | |
17 | # implementation. |
|
17 | # implementation. | |
18 | DEFAULT_TEMPLATE_PATH_LIST = [ |
|
18 | DEFAULT_TEMPLATE_PATH_LIST = [ | |
19 | os.path.dirname(__file__), |
|
19 | os.path.dirname(__file__), | |
20 | os.path.join(os.path.dirname(__file__), "templates"), |
|
20 | os.path.join(os.path.dirname(__file__), "templates"), | |
21 | ] |
|
21 | ] | |
22 |
|
22 | |||
23 | del os |
|
23 | del os | |
24 |
|
24 | |||
25 | from .nbextensions import install_nbextension |
|
25 | from .nbextensions import install_nbextension |
General Comments 0
You need to be logged in to leave comments.
Login now