You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working within a technical computing environment (Matlab, Numpy/IPython, R..) it's important to explore code interactively. One very useful feature is being able to quickly bring up the documentation for some function/object.
In IPython, entering obj? at the prompt will output the doc-string for that object.
In Julia it should be possible to use this, or some other syntax, to display the documentation comment (I realise the syntax for this may not yet be decided).
If the underlying implementation is just a function call on the object returning a string, it might also prove useful in non-interactive tasks such as in the automatic generation of documentation for a module.
The text was updated successfully, but these errors were encountered:
So at the moment the help strings are generated from the sphinx documentation and stored in a file helpdb.jl.
I don't know if my suggestion (a language mechanism for retrieving inline documentation) is something you may still want to consider at a later date...
When working within a technical computing environment (Matlab, Numpy/IPython, R..) it's important to explore code interactively. One very useful feature is being able to quickly bring up the documentation for some function/object.
In IPython, entering
obj?
at the prompt will output the doc-string for that object.In Julia it should be possible to use this, or some other syntax, to display the documentation comment (I realise the syntax for this may not yet be decided).
If the underlying implementation is just a function call on the object returning a string, it might also prove useful in non-interactive tasks such as in the automatic generation of documentation for a module.
The text was updated successfully, but these errors were encountered: