-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
DOC: Handle whitespace in pathnames #20880
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20880 +/- ##
==========================================
+ Coverage 92.19% 92.19% +<.01%
==========================================
Files 169 169
Lines 50821 50825 +4
==========================================
+ Hits 46852 46857 +5
+ Misses 3969 3968 -1
Continue to review full report at Codecov.
|
@datapythonista @jorisvandenbossche how does this look? |
I was taking a look at it yesterday, as I'm not sure in windows the single quotes will handle backslashes well. But unrelated to the ticket I'm getting a segmentation fault when running sphinx-built. Will comment on the ticket with feedback when I manage to test it. |
Can't test on Windows at the moment, but for linux this patch works nicely and fixes the problem for me. |
@ThiviyanThanapalasingam seems like in Windows the paths need to be escaped with double quotes (the backlash is interpreted as an escape character like in Besides that, I personally find it's not very readable to use backslashes to escape the quotes. Meaning that instead of Also, I see that there are several paths that are built like |
@ThiviyanThanapalasingam do you have time to update the PR based on the feedback I provided? |
Yes, I can do that. @datapythonista Have you opened another issue for making the script work in Windows? |
No, I think it should be just the one you opened. |
@ThiviyanThanapalasingam can you update the PR based on the previous feedback? |
Hello @ThiviyanThanapalasingam! Thanks for updating the PR.
|
Made the updates to this PR. But seems like there is a new unrelated problem when the path contains whitespaces: #22836 I think that can be addressed in a separate PR. I would merge this on green, but happy to close this and take care of both problems in a new PR. |
Let's do that in a separate PR @ThiviyanThanapalasingam thanks for the original PR! |
Fixed make.py - Now should be able to run make.py in paths with whitespaces (#20862)