-
Notifications
You must be signed in to change notification settings - Fork 41
Update literate.jl #318
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
Update literate.jl #318
Conversation
correctly set name when run from same directory as script
|
This is not how |
|
I may have misunderstood your comment then, I thought your suggestion was to use |
seems to me to be the simplest way of locally building an example?
Could you clarify why you think it shouldn't be used manually? |
|
It just was not supposed to be used in this way, it was designed on purpose for cases where you provide a full path to script.jl. So the setup is designed for julia path/to/literate.jl path/to/script.jl path/to/output |
|
And why not merge this tiny change which would allow it to be just as easily called without full path? |
|
I am completely fine with this change but I am confused by the fact that it would be merged before and independently of #303. As I see it, currently there is nothing to fix since literate.jl is not documented and one is supposed to provide the full path (this was a design choice). Only with the documentation and different use case in #303 this is something that could possibly be fixed. |
|
Maybe just merge this into #303? |
|
(You can change the base branch in the Github interface above) |
|
So it seems we can
The end result is the same. If it makes a big difference to you what the intermediate statuses of |
|
There were just some discussions and improvements needed in #303 so it took some time until it was approved 🤷 I don't think it's bad if one has to iterate and wait until PRs are approved, in fact, I think usually one has to fix and discuss different things 🙂 If you don't want to touch #303 anymore, I'd suggest merging #303 and updating this PR afterwards. Even though my personal feeling is that this belongs into #303 and would not add any additional delay. |
devmotion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if tests pass 🙂
correctly set name when run from same directory as script