gatorsmile opened a new pull request #28914:
URL: https://github.com/apache/spark/pull/28914


   ### What changes were proposed in this pull request?
   This PR is to add a redirect to sql-ref.html. 
   
   ### Why are the changes needed?
   Before Spark 3.0 release, we are using sql-reference.md, which was replaced 
by sql-ref.md instead. A number of Google searches I’ve done today have turned 
up https://spark.apache.org/docs/latest/sql-reference.html, which does not 
exist any more. Thus, we should add a redirect to sql-ref.html. 
   
   ### Does this PR introduce _any_ user-facing change?
   
   https://spark.apache.org/docs/latest/sql-reference.html will be redirected 
to https://spark.apache.org/docs/latest/sql-ref.html
   
   ### How was this patch tested?
   
   Build it in my local environment. It works well. The sql-reference.html file 
was generated. The contents are like: 
   
   ```
   <!DOCTYPE html>
   <html lang="en-US">
     <meta charset="utf-8">
     <title>Redirecting&hellip;</title>
     <link rel="canonical" href="http://localhost:4000/sql-ref.html";>
     <script>location="http://localhost:4000/sql-ref.html";</script>
     <meta http-equiv="refresh" content="0; 
url=http://localhost:4000/sql-ref.html";>
     <meta name="robots" content="noindex">
     <h1>Redirecting&hellip;</h1>
     <a href="http://localhost:4000/sql-ref.html";>Click here if you are not 
redirected.</a>
   </html>
   ```
   
   


----------------------------------------------------------------
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.

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