panbingkun commented on PR #47214: URL: https://github.com/apache/spark/pull/47214#issuecomment-2211504848
> Thanks for the fix! Two comments: > > 1. Can we show `4.0.0-preview1` instead of `4.0.0` in the version dropdown? > 2. (Not related to this PR) This dropdown is super helpful. Can we consider adding it to earlier docs? For example, it would allow users to easily switch to the latest documentation on this page: https://spark.apache.org/docs/3.1.1/api/python/reference/api/pyspark.sql.DataFrame.groupBy.html. 1.Of course, I am only here for convenience testing. I simulated the content of the file `versions.json` when the official 4.0.0 version was released locally, just giving an example (Additionally, based on previous discussions, temporary previews like `4.0.0-preview1` will not ultimately appear in the dropdown menu) 2.For previously released versions, we need to manually (or through some tool code) update the files already published in the code repository `spark-website` under path `site/docs/{spark version}/api/python`. I can try it out later. 😄 -- 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]
