##// END OF EJS Templates
Merge pull request #3539 from minrk/nbconvert_paths...
Jonathan Frederic -
r11190:77487ddf merge
parent child Browse files
Show More
@@ -93,11 +93,11 b' class Exporter(Configurable):'
93 93 )
94 94
95 95 template_path = Unicode(
96 "/../templates/", config=True,
96 os.path.join("..", "templates"), config=True,
97 97 help="Path where the template files are located.")
98 98
99 99 template_skeleton_path = Unicode(
100 "/../templates/skeleton/", config=True,
100 os.path.join("..", "templates", "skeleton"), config=True,
101 101 help="Path where the template skeleton files are located.")
102 102
103 103 #Jinja block definitions
@@ -288,11 +288,11 b' class Exporter(Configurable):'
288 288 """
289 289 Create the Jinja templating environment.
290 290 """
291
291 here = os.path.realpath(__file__)
292 292 self.environment = Environment(
293 293 loader=FileSystemLoader([
294 os.path.dirname(os.path.realpath(__file__)) + self.template_path,
295 os.path.dirname(os.path.realpath(__file__)) + self.template_skeleton_path,
294 os.path.join(here, self.template_path),
295 os.path.join(here, self.template_skeleton_path),
296 296 ]),
297 297 extensions=JINJA_EXTENSIONS
298 298 )
General Comments 0
You need to be logged in to leave comments. Login now