You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/10 03:46:19 UTC

[GitHub] [spark] gatorsmile commented on a change in pull request #30292: [SPARK-33166][DOC] Provide Search Function in Spark docs site

gatorsmile commented on a change in pull request #30292:
URL: https://github.com/apache/spark/pull/30292#discussion_r520267913



##########
File path: docs/_layouts/global.html
##########
@@ -172,6 +178,15 @@ <h1 class="title">{{ page.title }}</h1>
         <script src="js/vendor/bootstrap.bundle.min.js"></script>
         <script src="js/vendor/anchor.min.js"></script>
         <script src="js/main.js"></script>
+        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
+        <script type="text/javascript"> docsearch({
+            apiKey: 'b18ca3732c502995563043aa17bc6ecb',

Review comment:
       For other reviewers, this API key was applied by me. Below is the basic descriptions sent by DocSearch 
   
   > DocSearch is built in two parts:
   > – a crawler which we run on our own infrastructure every 24 hours. It follows every link in your website and extract content from every page it traverses. It then pushes this content to an Algolia index.
   > – a JavaScript snippet to be inserted in your website that will bind this Algolia index to your search input and display its results in a dropdown UI.
   > If you want to find more details on how works DocSearch, check [our docs](https://docsearch.algolia.com/docs/what-is-docsearch/).
   




----------------------------------------------------------------
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:
users@infra.apache.org



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