Commit Graph

6 Commits

Author SHA1 Message Date
Kasper Fabricius Kristensen
56a1d99a07 fix: the topbar was positioned above the mobile docsearch search input. This fixes the z-index order of components (#371) 2021-09-07 16:59:53 +02:00
Kasper Fabricius Kristensen
cdf9c972c9 fix: formatting of links from production environment (#358) 2021-08-30 14:20:09 +02:00
Kasper Fabricius Kristensen
d89332b91a fix: improvements to Algolia DocSearch (#357)
What

Changes selectors of API references to improve DocSearch results
Implements custom navigation for DocSearch in both API ref and docs. (Uses goTo method for in page navigation, Gatsby navigate for navigation within Gatsby site, changes URL's to API reference to make use of methods implemented to provide better metadata etc.)
Implements a new way to make all HTML available in API reference without need the crawler to have Javascript enabled which should allow Algolia to crawl our site faster.
Why

To provide users with a good search experience within our docs and API reference
Testing

Tested using a local setup of the Algolia crawler
2021-08-27 14:38:35 +02:00
Kasper Fabricius Kristensen
15161bb0e9 feat: Enable API search (#353)
* enabled search in ref and changed from section -> main so Algolia will index ref content

* fix: algolia apu key
2021-08-25 15:51:00 +02:00
Oliver Windall Juhl
f76aa816a5 feat: Documentation and API reference (#348)
Co-authored-by: Vadim Smirnov <smirnou.vadzim@gmail.com>
Co-authored-by: zakariasaad <zakaria.elas@gmail.com>
Co-authored-by: Vilfred Sikker <vilfredsikker@gmail.com>
Co-authored-by: Kasper <kasper@medusa-commerce.com>
Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2021-08-24 18:16:42 +02:00
Kasper Fabricius Kristensen
143f06aa39 feat: Update to API references look and feel (#343)
Co-authored-by: Vadim Smirnov <smirnou.vadzim@gmail.com>
Co-authored-by: zakariasaad <zakaria.elas@gmail.com>
Co-authored-by: Vilfred Sikker <vilfredsikker@gmail.com>
Co-authored-by: olivermrbl <oliver@mrbltech.com>
2021-08-20 10:26:29 +02:00