Commit Graph

44 Commits

Author SHA1 Message Date
James Elliott 8588fe5b16
feat: handle homepage for search sections index 2022-06-25 22:03:35 +10:00
James Elliott b532c69bd7
feat: add all method 2022-06-25 13:36:32 +10:00
James Elliott fa01f4ab56
fix: avoid error if unset 2022-06-25 12:20:57 +10:00
James Elliott 00e4a7886e
feat(search): allow complete section customization
This allows configuring the searchable sections and which sections show the search box. In addition the javascript is only included on pages where the search box is visible.
2022-06-25 11:44:10 +10:00
Steven Mathew 10f8c8ea00 fix(flexsearch): separate chain of calls into statements 2022-04-30 12:55:56 -04:00
Henk Verlinde 40dc1b7489 feat: add scroll-lock as separate file 2022-03-30 15:05:00 +02:00
Henk Verlinde 17eb9a6902 ux: add scroll position lock for default docs sidebar 2022-02-02 10:54:55 +01:00
Henk Verlinde 71b2736fdf fix: import statement mermaid 2022-01-14 13:54:01 +01:00
Henk Verlinde 04a5b32ee5 feat: changeable global alert + fix: cumulative layout shift 2022-01-14 12:14:35 +01:00
Michael Schnerring 4d9221d7a4 flexsearch: only display 'no results' message if search query is not empty 2021-10-15 15:42:26 +02:00
Michael Schnerring af6c51f6f2 If flexsearch returns no results, display message 2021-10-15 15:38:04 +02:00
Michael Schnerring 1710b80829 Add descriptive class names for flexsearch result items 2021-10-15 15:34:57 +02:00
Michael Schnerring a409d55365 Use Map instead of object for flat flexsearch results 2021-10-15 15:16:33 +02:00
Michael Schnerring a3a6365817 Remove obsolete query suggestion logic: accept_suggestion (flexsearch) 2021-10-15 15:13:18 +02:00
Michael Schnerring 7debd0ae62 Refactor show_results (flexsearch) to be more descriptive 2021-10-15 15:12:42 +02:00
Michael Schnerring 01d52e8730 Plainify flexsearch index values 2021-10-14 23:56:35 +02:00
Henk Verlinde 6a7df65298
Merge pull request #508 from schnerring/flexsearch-description
Add .Summary as fallback for description
2021-10-14 17:20:43 +02:00
Michael Schnerring 126b3a25ab Fix flexsearch arrow navigation error 2021-10-13 20:13:19 +02:00
Michael Schnerring 434396b612 Add .Summary as fallback for description 2021-10-13 17:17:28 +02:00
Henk Verlinde b290c57d3d feat: add versioning setup 2021-09-28 16:26:15 +02:00
Henk Verlinde 83891d94a5 feat: update for doks 0.3.4 2021-09-07 12:08:46 +02:00
Soichi Hayashi b575ca0eea
Update index.js
doks was displaying only the very last search result.
2021-08-10 09:53:17 -04:00
Henk Verlinde fa2096da39 feat: update mermaid code fences usage 2021-07-01 16:37:59 +02:00
Henk Verlinde 7d6df42519 feat: add mermaid code fences usage 2021-07-01 16:21:03 +02:00
Henk Verlinde 6a87dc6e29 feat: update script loading 2021-07-01 08:48:56 +02:00
Henk Verlinde b7eda85593 feat: update mermaid shortcode 2021-06-30 20:32:28 +02:00
Henk Verlinde f1fa5c5936 feat: add mermaid 2021-06-30 15:16:45 +02:00
Henk Verlinde 1589916e58 feat: update to flexsearch v0.7.1 2021-06-25 13:29:22 +02:00
Henk Verlinde d71ccaa66d feat: auto copy button code 2021-06-17 11:20:48 +02:00
Henk Verlinde b902cb7071 feat: migrate to highlight.js v11.0.1 2021-06-15 16:27:38 +02:00
umatare5 eb5577e435 Replace highlightBlock with highlightElement 2021-04-18 19:59:49 +09:00
Henk Verlinde 10d0b45203 feat: update for netlify dev support 2021-04-02 19:45:05 +02:00
Henk Verlinde 253b938a2e feat: add katex math typesetting 2021-03-16 15:14:45 +01:00
Henk Verlinde ad91b0523e feat: add doks default style + examples 2021-03-16 08:55:07 +01:00
Henk Verlinde 5180bd53c6 feat: add highlight.js as an option 2021-03-15 18:55:49 +01:00
Henk Verlinde 22afec709a feat: update bootstrap to 5.0.0-beta2 2021-03-04 17:53:25 +01:00
Henk Verlinde 226f661966 feat: added options lazySizes, clipBoard, instantPage, flexSearch, and darkMode 2021-03-01 16:34:43 +01:00
Henk Verlinde 82b99e781f config: add search web worker 2020-12-07 08:53:34 +01:00
Henk Verlinde b1de433fb5 config: add search web worker 2020-12-07 08:50:57 +01:00
Henk Verlinde 1aa8b7231f test: update split js 2020-12-06 12:03:41 +01:00
Henk Verlinde 63ca41e107 docs: update content 2020-12-03 16:07:04 +01:00
Henk Verlinde 3482846159 config: update csp 2020-11-05 16:19:35 +01:00
Henk Verlinde 97d8e2c0e2 feat: add flexsearch 2020-11-04 08:26:58 +01:00
Henk Verlinde 67f0a6e623 Initial commit 2020-04-15 15:48:16 +02:00