-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
uri: Updated documentation #10373
uri: Updated documentation #10373
Conversation
Yesterday I removed the deprecated procs from this module — could you rebase your branch against the latest devel? |
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.
I know that some of things I mentioned are in the docs from before, but now is the perfect time to fix all those things.
lib/pure/uri.nim
Outdated
@@ -56,6 +85,10 @@ proc encodeUrl*(s: string, usePlus=true): string = | |||
## | |||
## As a special rule, when the value of ``usePlus`` is true, | |||
## spaces are encoded as ``'+'`` instead of ``'%20'``. |
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.
General remark: I would love to see "See also:" section which will give links to similar procs. Some examples: strutils.indent, tables.getOrDefault, etc.
Here, specifically, a link to decodeUrl
would be useful. (And vice-versa)
See if you can do the same for some other procs too.
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.
Ok? ba767c5
31b0a0f
to
a5cf816
Compare
Updated documentation for uri module:
refs #10330
CC @narimiran