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
The signature says :
> sleep (duration) ...rest
and parameters are:
duration: time to sleep
...rest: additional time
with example:
> sleep 1sec
> sleep 1sec 1sec 1sec
I tried to do sleep 1hour and that doesn't work, then I realize that 'duration' might be
some kind of datatypes of nu, so why not leave a hyperlink to the datatype in the docs?
I think this would improve the readability so much if we can link all datatypes to their definition.
The text was updated successfully, but these errors were encountered:
@fdncred
I am thinking about if we can make this possible step by step,
like add docs to data types that dont have doc yet first,
then linked the type to the doc like the rustdoc did.
or we go straight to add hyperlink for exisiting docs first,
then we fix other that missing docs.
If we can come up with a plan, then we might be able to achieve it!
sure, i'm fine with doing it step by step. you should feel free to look around to see if we have docs on datatypes and add them if they don't exist via PR.
As an example, I am reading the doc for the
sleep
command right now.aka. https://www.nushell.sh/commands/docs/sleep.html
The signature says :
> sleep (duration) ...rest
and parameters are:
with example:
I tried to do
sleep 1hour
and that doesn't work, then I realize that 'duration' might besome kind of datatypes of nu, so why not leave a hyperlink to the datatype in the docs?
I think this would improve the readability so much if we can link all datatypes to their definition.
The text was updated successfully, but these errors were encountered: