FIX make sphinx docs work on Windows #206
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
make
does not exist on Windows in general sospin docs
does not work on Windows.This small patch seems to be a reasonable way to make it more likely than
spin docs
works on Windows. I tested this on a Windows VM and it seems to work fine. The debug information is useful as well (i.e.cd doc
is explicitly mentioned):As noted in scikit-learn/scikit-learn#29012 (comment)
make.bat
is generated bysphinx-quickstart
and some projects still have it. scikit-learn has it and I think it is supposed to work, although we don't have that many developers on Windows.numpy
andmatplotlib
still havemake.bat
as well.Something else that I may take a closer look at one point in scikit-learn would be to actually not use the
Makefile
at all for most useful doc-related functionalities and implement them as spin custom command. This is probably a bit of work (in particulardoc/Makefile
has some quirks related to environment variables in CI and different OS) and not high-priority right now.