Skip to content

Docs: search fails with "Please activate javaScript" #433

@shirriff

Description

@shirriff

Expected Behavior

The SkyWater-PDK search page should work without errors.

Actual Behavior

The page displays "Please activate JavaScript to enable the search functionality."
The console shows errors:

search.html:173 Uncaught SyntaxError: Unexpected identifier 'versions'
search.html?q=GDSII:2764 Uncaught ReferenceError: $ is not defined
    at search.html?q=GDSII:2764:34

The problem appears to be this line of the search.html page, which has two quotation marks instead of one:
var json_loc = ""versions.json"",

Steps to Reproduce the Problem

  1. Go to the search page https://skywater-pdk.readthedocs.io/en/main/search.html

Specifications

  • Version: Chrome Version 117.0.5938.149 (Official Build) (arm64)
  • Platform: Macbook Air

The problem also happens on Safari and on my phone, so it's not a browser issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions