-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-28752][BUILD][DOCS] Documentation build to support Python 3 #26521
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,8 +36,7 @@ You need to have [Ruby](https://www.ruby-lang.org/en/documentation/installation/ | |
| installed. Also install the following libraries: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want to mention Python 3 is required here? or does it still work with Python 2?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it still works with Python 2 because it seems not using Python at all. But I guess we should better stick to Python 3 .. |
||
|
|
||
| ```sh | ||
| $ sudo gem install jekyll jekyll-redirect-from pygments.rb | ||
| $ sudo pip install Pygments | ||
| $ sudo gem install jekyll jekyll-redirect-from rouge | ||
| # Following is needed only for generating API docs | ||
| $ sudo pip install sphinx pypandoc mkdocs | ||
| $ sudo Rscript -e 'install.packages(c("knitr", "devtools", "rmarkdown"), repos="https://cloud.r-project.org/")' | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| highlighter: pygments | ||
| highlighter: rouge | ||
| markdown: kramdown | ||
| gems: | ||
| - jekyll-redirect-from | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sphinx still needs
pygmentsbut it's in sphinx's dependency. I don't think we should explicitly list since Spark doesn't directly use it (but sphinx uses it).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @vanzin too