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

Fixing path to '_sources' directory when using builders besides 'html' #339

Merged
merged 1 commit into from
May 31, 2021

Conversation

dfm
Copy link
Contributor

@dfm dfm commented May 30, 2021

Moments after opening #338, I found the fix. When copying the .ipynb files, the destination path was hard coded as html, but should depend on the builder setting in context. I've tested that this fixes my use case, but let me know if it would be good to explicitly include a test!

Closes #338

@welcome
Copy link

welcome bot commented May 30, 2021

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.

Welcome to the EBP community! 🎉

@choldgraf
Copy link
Member

Ah beautiful, thanks for catching this one. I think that reworking the tests for a non html builder would actually require a decent amount of reworking our test infrastructure, so I won’t ask you to do that 🙂 thanks for this fix!

@choldgraf choldgraf merged commit cf5338c into executablebooks:master May 31, 2021
@welcome
Copy link

welcome bot commented May 31, 2021

Congrats on your first merged pull request in this project! 🎉
congrats

Thank you for contributing, we are very proud of you! ❤️

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.

dirhtml builder doesn't copy executed ipynb to sources, resulting in broken source download link
2 participants