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

   ### What changes were proposed in this pull request?
   
   This PR fixes the rst markup for a link in the documentation for 
`pyspark.sql.SparkSession.sql` and `pyspark.pandas.sql`.
   
   ### Why are the changes needed?
   
   The current markup is incorrect.
   
   Technically, though the markup in this PR is correct, the link target is 
incorrect. We should be linking to page relative to the site root, rather than 
hardcoding a link to `/latest/`. However, I could not figure out how to do that 
in rst, and building the API docs takes a really long time, and I could not 
make it build incrementally.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, the markup goes from looking like this:
   
   
   To looking like this:
   
   
   ### How was this patch tested?
   
   I built the docs as follows:
   
   ```
   SKIP_SCALADOC=1 SKIP_RDOC=1 SKIP_SQLDOC=1 bundle exec jekyll serve
   ```
   
   And reviewed the output in my browser.
   
   ### 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