Skip to content

Commit

Permalink
SPARK-30823: Set %PYTHONPATH% when building PySpark documentation o…
Browse files Browse the repository at this point in the history
…n Windows.

This ensures that `make2.bat` does not rely on, and build the documentation for, `pyspark` as it is found in the default `%PYTHONPATH%`.
Instead, this makes Sphinx build documentation for the package found at `../pyspark`, as is most likely intended.

This commit is published into the public domain.
  • Loading branch information
DavidToneian committed Feb 13, 2020
1 parent 74cd46e commit bf47971
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/docs/make2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

REM Command file for Sphinx documentation

set PYTHONPATH=..;..\lib\py4j-0.10.8.1-src.zip


if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
Expand Down

0 comments on commit bf47971

Please sign in to comment.