gengliangwang commented on a change in pull request #30409: URL: https://github.com/apache/spark/pull/30409#discussion_r525990772
########## File path: docs/_config.yml ########## @@ -26,3 +26,15 @@ SCALA_VERSION: "2.12.10" MESOS_VERSION: 1.0.0 SPARK_ISSUE_TRACKER_URL: https://issues.apache.org/jira/browse/SPARK SPARK_GITHUB_URL: https://github.com/apache/spark +# Before a new release, we should apply a new `apiKey` for the new Spark documentation +# on https://docsearch.algolia.com/. Otherwise, after release, the search results are always based +# on the latest documentation(https://spark.apache.org/docs/latest/) even when visiting the +# documentation of previous releases. +DOCSEARCH_SCRIPT: | + docsearch({ + apiKey: 'b18ca3732c502995563043aa17bc6ecb', Review comment: Even if we don't set different API keys for different releases, I think it makes sense to avoid hardcoding in the HTML template. ---------------------------------------------------------------- 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]
