docs: searchable documentation & seo (#911)

* create search field

* search trigger, show field on interaction

* update deps, fix emitter

* crop out html, filtered search, i18h, layout

* i18n

* catch crtl f

* create combindes result store

* fix search query, remove store

* fixed search on side

* fix preload

* improve mobile layout, assets

* layout optimisations

* header

* doc nav bar, mobile, new dashboard

* toolbar

* fix modal

* z-index issue, header

* hl param

* fix lang switch, nav

* home, sub section, 18n, layout, assets

* develope, docs sublinks

* update home, mobile first

* fix language switcher

* add home seo

* fix flex search, dashboard

* seo embed, fix docs dropdown

* mouse navigation in search

* jsonld

* seo

* fix link

* rm section if none

* rm unused segment

* update lock

* remove combined slug

* Apply suggestions from code review

Co-authored-by: Florian Forster <florian@caos.ch>
This commit is contained in:
Max Peintner
2020-11-04 20:02:17 +01:00
committed by GitHub
parent 202aae4954
commit 1fc4034373
35 changed files with 1493 additions and 1562 deletions

View File

@@ -9,7 +9,8 @@
*/
:root {
--nav-h: 6rem;
--top-offset: 6rem;
--top-offset: 10rem;
--searchbar-space: 140px;
--sidebar-w: 30rem;
--sidebar-mid-w: 36rem;
--sidebar-large-w: 48rem;
@@ -32,11 +33,12 @@
/* theme vars */
.theme-default {
--back: #1a1f36;
--back-hover: #242b4b;
--back-light: transparent;
--back-api: #1a1f36;
--prime: #5282c1;
--prime: #6c8eef;
--second: #ff2069;
--flash: #72a2e0;
--flash: #8fa6e7;
--nav-back: #1a1f36;
--side-nav-back: #1a1f36;