Skip to content

Follow-up from "Add schema.org microdata to the docs site"

The following discussion from !189 (merged) should be addressed:

@axil this is what I used as reference: search this page for "SearchAction", you'll understand the context.

From the search result snippet ^^, we can search the docs site, but the search engine is Google itself in this case, isn't it? So I'm not sure this has to do with Algolia.

    "potentialAction": {
      "@type": "SearchAction",
      "target": "https://docs.gitlab.com/?s={search_term}",
      "query-input": "required name=search_term"
    }

Note that I'm not sure if this will work without a dedicated search page. To create one, it seems we need to follow this guide for implementing Algolia InstantSearch page.

Edited by Marcia Ramos