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: [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]

Reply via email to