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 docs to better distinguish among getCurrentDir, getProjectPath and currentSourcePath #10477
Comments
just make sure its DRY (ie please don't copy paste that description in all 3 places); hopefully that was your intention indeed; wasn't sure; i don't like when docs do that, it immediately triggers the search for whether there's a subtle difference in the 2 descriptions, eg:
(i don't know whether it's good to remind also in that description that paths (eg (ditto with the subtle |
@kaushalmodi any news on this? Did you send a PR but didn't reference this issue? |
@narimiran No, this fell down the sideways.. I'll find some time this week to submit that PR and close this issue. Thanks for the reminder. I'll be porting stuff from https://scripter.co/notes/nim/#fetching-various-paths in some manual-friendly way. |
…d currentSourcePath Fixes nim-lang#10477.
…d currentSourcePath Fixes nim-lang#10477.
…d currentSourcePath Fixes nim-lang#10477.
…rrentDir and currentSourcePath (nim-lang#12565) Fixes nim-lang#10477. (cherry picked from commit d914e9a)
…rrentDir and currentSourcePath (nim-lang#12565) Fixes nim-lang#10477.
Summary
Update docs so that the different "current path" procs are not confused among each other.
Description
I'll send a PR to attempt the fix the docs for those 3 procs/templates and also point the user to the other 2 procs from each proc doc-string.
.. and with examples.
Additional Information
The text was updated successfully, but these errors were encountered: