You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "panbingkun (via GitHub)" <gi...@apache.org> on 2023/08/24 11:46:49 UTC

[GitHub] [spark] panbingkun opened a new pull request, #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

panbingkun opened a new pull request, #42657:
URL: https://github.com/apache/spark/pull/42657

   ### What changes were proposed in this pull request?
   The pr aims to fix bug for `Switch languages consistently across docs for all code snippets`.
   
   ### Why are the changes needed?
   When a user chooses a different language for a code snippet, all code snippets on that page should switch to the chosen language. This was the behavior for, for example, Spark 2.0 doc: https://spark.apache.org/docs/2.0.0/structured-streaming-programming-guide.html
   But it was broken for later docs, for example the Spark 3.4.1 doc: https://spark.apache.org/docs/latest/quick-start.html
   We should fix this behavior change and possibly add test cases to prevent future regressions.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Manually test:
   ```
   cd docs
   SKIP_API=1 bundle exec jekyll serve --watch
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] panbingkun commented on pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "panbingkun (via GitHub)" <gi...@apache.org>.
panbingkun commented on PR #42657:
URL: https://github.com/apache/spark/pull/42657#issuecomment-1691528450

   cc @zhengruifeng @HyukjinKwon @grundprinzip 


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "HyukjinKwon (via GitHub)" <gi...@apache.org>.
HyukjinKwon commented on PR #42657:
URL: https://github.com/apache/spark/pull/42657#issuecomment-1692572053

   cc @sarutak too FYI


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #42657:
URL: https://github.com/apache/spark/pull/42657#issuecomment-1692619623

   @panbingkun thank you so much for helping fix this!


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] zhengruifeng commented on pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #42657:
URL: https://github.com/apache/spark/pull/42657#issuecomment-1691534556

   also cc @gengliangwang @jasonli-db 


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] gengliangwang commented on pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "gengliangwang (via GitHub)" <gi...@apache.org>.
gengliangwang commented on PR #42657:
URL: https://github.com/apache/spark/pull/42657#issuecomment-1692597219

   Thanks, merging to master/branch-3.5


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] gengliangwang closed pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets

Posted by "gengliangwang (via GitHub)" <gi...@apache.org>.
gengliangwang closed pull request #42657: [SPARK-44820][DOCS] Switch languages consistently across docs for all code snippets
URL: https://github.com/apache/spark/pull/42657


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org