d1ac25ba33
### What changes were proposed in this pull request? This PR proposes to switch `pygments.rb`, which only support Python 2 and seems inactive for the last few years (https://github.com/tmm1/pygments.rb), to Rouge which is pure Ruby code highlighter that is compatible with Pygments. I thought it would be pretty difficult to change but thankfully Rouge does a great job as the alternative. ### Why are the changes needed? We're moving to Python 3 and drop Python 2 completely. ### Does this PR introduce any user-facing change? Maybe a little bit of different syntax style but should not have a notable change. ### How was this patch tested? Manually tested the build and checked the documentation. Closes #26521 from HyukjinKwon/SPARK-28752. Authored-by: HyukjinKwon <gurwls223@apache.org> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
24 lines
613 B
YAML
24 lines
613 B
YAML
highlighter: rouge
|
|
markdown: kramdown
|
|
gems:
|
|
- jekyll-redirect-from
|
|
|
|
# For some reason kramdown seems to behave differently on different
|
|
# OS/packages wrt encoding. So we hard code this config.
|
|
kramdown:
|
|
entity_output: numeric
|
|
|
|
include:
|
|
- _static
|
|
- _modules
|
|
|
|
# These allow the documentation to be updated with newer releases
|
|
# of Spark, Scala, and Mesos.
|
|
SPARK_VERSION: 3.0.0-SNAPSHOT
|
|
SPARK_VERSION_SHORT: 3.0.0
|
|
SCALA_BINARY_VERSION: "2.12"
|
|
SCALA_VERSION: "2.12.10"
|
|
MESOS_VERSION: 1.0.0
|
|
SPARK_ISSUE_TRACKER_URL: https://issues.apache.org/jira/browse/SPARK
|
|
SPARK_GITHUB_URL: https://github.com/apache/spark
|