-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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: Generating docs doesn't work if path has whitespaces #22836
Comments
Hi, I'd like to take this issue if it's still open! |
Sure, thanks for the help @michaela12 |
Is this issue still open? If not, I would like to take a look at it. |
@mbain108 Hi, It's still open! So feel free to take a look at it! |
yes, let us know if you need help @mbain108 |
Hi, can I take a look at this? |
Go for it! |
@jopenmolles and I have investigated this issue and are able to reproduce this error. We have noticed that the parameters are passed correctly during execution (i.e. the spaces are escaped when executing the command). Running The question now is whether to create a workaround for this, or to leave it until |
Can you copy the whole call the |
@datapythonista I am running the following command,:
Note that the |
Thanks, I was getting confused with another issue where docs were failing in windows. If you have time, would be great to try to reproduce the error in a minimal project. I think the bug can be in:
And the first step to fix the problem would be to know who should fix it. |
@datapythonista A minimal example can be constructed by using the config file provided by running
Using this setup in a folder called This creates the following log, in which the error is outputted:
When inspecting the resulting html files, it still seems like the interactive python is rendered correctly, however I do not know whether the same is the case for the complete pandas documentation. I would therefore conclude that this is due to the Sphinx IPython extension, since running the same command on the folder with unedited |
this is useful @MaxVanDeursen, can you create an issue in the ipython project then: https://github.com/ipython/ipython/issues and link it here. |
Explicit xref: ipython/ipython#11606 Do you think that there's anything to be done until the issue is of IPython is ultimately fixed? |
for what I understand, when the ipython directive is fixed, this will be resolved, nothing to do in our side |
I can't reproduce this on latest main on linux. Likely has been fixed? |
Related to #20862
If there are spaces in the path where pandas is installed (e.g.
/home/my user/my code/pandas
), when building the documentation (i.e../doc/make.py html
) seems to generate a long list of usage errors like those:The text was updated successfully, but these errors were encountered: