Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33479

Make apiKey of docsearch configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      After https://github.com/apache/spark/pull/30292, our Spark documentation site supports searching.
      However, the default API key always points to the latest release doc. We have to set different API keys for different releases. Otherwise, the search results are always based on the latest documentation(https://spark.apache.org/docs/latest/) even when visiting the
      documentation of previous releases.

      As per discussion in https://github.com/apache/spark/pull/30292#issuecomment-725613417, we should make the API key configurable and avoid hardcoding in the HTML template.

        Attachments

          Activity

            People

            • Assignee:
              Gengliang.Wang Gengliang Wang
              Reporter:
              Gengliang.Wang Gengliang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: