-
Notifications
You must be signed in to change notification settings - Fork 56
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
Script-style doctests don't appear in the REPL's help?>
when OhMyREPL is loaded
#293
Labels
Comments
navidcy
changed the title
Script style doctests don't appear in the REPL
Script style doctests don't appear in the REPL Mar 1, 2023
help? >
when OhMyREPL is loadedhelp?>
when OhMyREPL is loaded
navidcy
changed the title
Script style doctests don't appear in the REPL
Script-style doctests don't appear in the REPL's Mar 1, 2023
help?>
when OhMyREPL is loadedhelp?>
when OhMyREPL is loaded
The issue here is that you are doing a jldoctest but you do not include the
Makes it work. I'll try fix this nonetheless. |
True. But without OhMyREPL it works both ways. So I was getting confused and puzzled why I wasn't seeing the docstring examples but others could see them. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been struggling with this for a bit and I think it has something to do with OhMyREPL.
I define a function
foo
with a docstring that includes a doctest with a "script" example. Then I ask for thehelp?> foo
and if OhMyREPL is loaded then the doctest does not appear!(Note that if I used a REPL example doctest then all is good!)
Here's a MWE.
Af first I load Julia without OhMyREPL. Everything looks OK. If then I load OhMyREPL and ask again of the docstring of
foo
the example is disappeared!The text was updated successfully, but these errors were encountered: