Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbconvert: Add cwd to default templates search path. #3750

Merged
merged 2 commits into from Jul 24, 2013

Conversation

jdfreder
Copy link
Member

'nuff said

@@ -102,12 +102,14 @@ class Exporter(Configurable):
help="Extension of the file that should be written to disk"
)

template_path = Unicode(
os.path.join("..", "templates"), config=True,
template_paths = List(['.'], config=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the notion of singular 'path' as a list of directories is normal, so this probably doesn't need to be plural.

@jdfreder
Copy link
Member Author

^ Apparently the e key on my keyboard is faulty

minrk added a commit that referenced this pull request Jul 24, 2013
nbconvert: Add cwd to default templates search path.
@minrk minrk merged commit 23c75e8 into ipython:master Jul 24, 2013
@jdfreder jdfreder deleted the add_cwd_templ_path branch March 10, 2014 18:41
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
nbconvert: Add cwd to default templates search path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants