HyukjinKwon commented on code in PR #37066: URL: https://github.com/apache/spark/pull/37066#discussion_r912686025
########## docs/README.md: ########## @@ -59,9 +59,14 @@ See also https://github.com/sphinx-doc/sphinx/issues/7551. TODO(SPARK-35375): Jinja2 3.0.0+ causes error when building with Sphinx. See also https://issues.apache.org/jira/browse/SPARK-35375. --> +Run the following command from $SPARK_HOME +```sh +$ sudo pip install -r dev/requirements.txt +``` +Alternatively, for packages strictly related to documentation: ```sh -$ sudo pip install 'sphinx<3.1.0' mkdocs numpy pydata_sphinx_theme ipython nbsphinx numpydoc sphinx-plotly-directive 'jinja2<3.0.0' +$ sudo pip install 'sphinx<3.1.0' mkdocs numpy pydata_sphinx_theme ipython nbsphinx numpydoc sphinx-plotly-directive pyarrow 'jinja2<3.0.0' 'markupsafe==2.0.1' 'docutils<0.18.0' Review Comment: Let's just remove this. I think it's fine. We also have some comments in dev/requirements.txt file too. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
