Commit Graph

603 Commits

Author SHA1 Message Date
squidfunk
aacb5ca5a7 Added more inline comments and simplified component mounting 2021-02-13 17:03:15 +01:00
squidfunk
96797b471f Moved form styles and inline clipboard from overrides to main 2021-02-12 18:30:47 +01:00
squidfunk
ed61f60970 Always close drawer on navigation 2021-02-12 17:08:58 +01:00
squidfunk
e7850ca184 Added back keyboard handlers 2021-02-12 16:41:33 +01:00
squidfunk
44751785a0 Added back patched 2021-02-12 16:22:06 +01:00
squidfunk
28d507ecfe Refactored header autohiding and split overrides 2021-02-12 15:44:53 +01:00
squidfunk
2c23f066ea Merge branch 'master' into refactor/architecture 2021-02-12 13:22:32 +01:00
squidfunk
9c9ea8a64d Refactored instant loading and some other components 2021-02-12 12:12:49 +01:00
squidfunk
884330da3b Centralized fetch methods 2021-02-11 19:41:34 +01:00
squidfunk
4808b46dfb Fixed build 2021-02-07 18:14:43 +01:00
squidfunk
4744d5f3f0 Refactored search initialization 2021-02-07 17:18:10 +01:00
squidfunk
ae867d484b Squashed commit of the following:
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 16:25:06 2021 +0100

    Refactored more stuff

commit 5a2108254f1222db7de08690e13c24e972ea19c0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 13:48:16 2021 +0100

    Refactored more stuff

commit b3a112f4bddefebcf9dbd1d0ffe240d86fc9aa08
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 12:02:42 2021 +0100

    Refactored more stuff

commit bff323b6b81571021c0ac9be6f637de7728447a5
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 18:14:52 2021 +0100

    Refactored search result list

commit 27b7e7e2da3b725797ad769e4411260ffd35b9f8
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 17:12:36 2021 +0100

    Refactored more components

commit 3747e5ba6d084ed513a2659f48f161449b760076
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 18:56:26 2021 +0100

    Implemented new architecture for several components

commit ea2851ab0f27113b080c2539a94a88dc0332be84
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 14:53:42 2021 +0100

    Removed unnecessary height declaration for sidebars

commit 3c3f83ab4ef392dbabf1a11afba2556e529b1674
Merge: 91d239d8 13024179
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 13:04:49 2021 +0100

    Merge branch 'master' into refactor/observable-architecture

commit 91d239d86649b9571b376011669bc73a7865b186
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Jan 9 13:11:04 2021 +0100

    Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
squidfunk
0116f636f2 Prototyped icon search 2021-02-06 12:35:19 +01:00
squidfunk
08340e42a1 Simplified font configuration CSS 2021-02-06 09:57:40 +01:00
squidfunk
e3c608ace6 Fixed auto-closing print dialog when using instant loading 2021-02-02 20:51:42 +01:00
squidfunk
c9f7440663 Added new Material icons 2021-01-24 11:52:30 +01:00
squidfunk
be1f9c113e Fixed search not being shown when using header autohiding 2021-01-24 11:51:10 +01:00
squidfunk
7c0ccd4bff Added documentation for native Mermaid integration (experimental) 2021-01-02 15:55:31 +01:00
squidfunk
9203255595 Removed ResizeObserver polyfill due to decent browser support 2021-01-01 17:16:24 +01:00
squidfunk
b825d222a4 Refactored resize observer 2020-12-30 18:40:34 +01:00
squidfunk
45aff3cfc5 Fixed table of contents highlighting for active anchor links 2020-12-30 11:05:23 +01:00
squidfunk
82b16bb6ad Added distribution files 2020-12-22 12:45:19 +01:00
squidfunk
d754bd9a71 Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00:21 +01:00
squidfunk
ca05a2d342 Fixed stats for private GitHub repositories 2020-12-06 11:15:13 +01:00
squidfunk
a9c782768e Fixed sidebar jitter when scrolling footer into view 2020-11-07 12:26:31 +01:00
squidfunk
68c04f8298 Updated dependencies 2020-10-31 15:01:19 +01:00
squidfunk
87b706f19e Fixed instant loading not correctly updating page title 2020-10-31 14:29:20 +01:00
squidfunk
b3271bab9f Fixed search result placeholder not resetting correctly 2020-10-04 15:40:58 +02:00
squidfunk
e277ad635b Removed placeholder when search input is focused 2020-10-04 15:24:21 +02:00
squidfunk
bf9f9bf16e Fixed search replacing %20 with + in document URLs 2020-10-01 09:28:16 +02:00
squidfunk
ff5ac56f1a Enabled compilation to ES2015, yielding huge savings 2020-09-27 23:42:17 +02:00
squidfunk
da7b209978 Refactored search result templates 2020-09-27 23:26:51 +02:00
squidfunk
baeb4cc5bd Fixed source integrations after refactoring 2020-09-27 22:58:33 +02:00
squidfunk
9c4009f608 Removed SVG factories to further reduce size 2020-09-27 22:35:28 +02:00
squidfunk
ab513f036e Replaced operators: ajax -> fetch, pluck -> map 2020-09-27 22:19:38 +02:00
squidfunk
0c4ddfcd70 Reverted addEventListener for media query (hello iOS Safari, I'm looking at you) 2020-09-27 21:01:16 +02:00
squidfunk
588813e67b Removed ramda dependency to save another 2-3kb 2020-09-27 20:36:18 +02:00
squidfunk
0de55b3cf8 Moved search result icon to CSS for deduplication 2020-09-27 20:23:28 +02:00
squidfunk
723d040609 Fixed tabbing behavior when search query is not empty 2020-09-27 19:28:15 +02:00
squidfunk
9fe00ec0af Added stemmer support for file:// protocol through iframe-worker 2020-09-27 19:09:09 +02:00
squidfunk
ee808c769e Fixed header title component 2020-09-27 18:07:48 +02:00
squidfunk
7820d85949 Removed inapproriately used fromEventPattern factories 2020-09-27 17:27:14 +02:00
squidfunk
ca0b6a93b1 Updated Material icons and removed hero logic 2020-09-27 12:01:28 +02:00
squidfunk
085117ef82 Prefixed tabs and instant feature flags with 'navigation.*' 2020-09-27 10:13:41 +02:00
squidfunk
ce802a4913 Added missing distribution files 2020-09-27 09:48:59 +02:00
squidfunk
5be0004bcc Fixed errors in merge 2020-09-27 09:47:23 +02:00
squidfunk
8f61fd3b56 Funding goal reached: merged back new search UI/UX from Insiders 2020-09-27 09:40:05 +02:00
squidfunk
6725ec1aaa Added tooltip for abbreviations on touch devices 2020-09-19 15:16:24 +02:00
squidfunk
9b88f712ba Updated dependencies 2020-09-04 09:17:38 +02:00
squidfunk
0a0fee34d2 Fixed 404s on instant loading due to race condition 2020-08-30 14:26:07 +02:00
squidfunk
935c384789 Fixed sequential execution of scripts when using instant loading 2020-08-30 13:37:59 +02:00
squidfunk
9ab9508f9b Fixed sequential execution of scripts when using instant loading 2020-08-30 13:32:38 +02:00
squidfunk
89a60c39e7 Moved clipboard icon to CSS to reduce size of large projects 2020-08-30 12:23:34 +02:00
squidfunk
8ee168954f Removed focus outlines for details and tabs for pointer devices 2020-08-23 11:31:56 +02:00
squidfunk
9480cb3b4c Added distriution files 2020-08-23 10:57:22 +02:00
squidfunk
e9795f382d Removed unnecessary share replays 2020-08-22 18:36:37 +02:00
squidfunk
989b8597c5 Fixed #1877: 404 on search index when search is disabled 2020-08-22 17:36:27 +02:00
squidfunk
4639ff8313 Fixed #1864: GitHub organisation stats not loading 2020-08-12 10:43:11 +02:00
squidfunk
0b331956ab Fixed distribution files 2020-08-11 09:09:55 +02:00
squidfunk
5e934cde47 Prepare 5.5.4 release 2020-08-11 08:54:30 +02:00
squidfunk
610fc6846c Prepare 5.5.3 release 2020-08-04 12:50:26 +02:00
squidfunk
1341200829 Fixed search for languages other than English (5.5.1 regression) 2020-08-04 12:47:07 +02:00
squidfunk
34b61cc395 Added distriution files for removed outline 2020-08-02 12:02:20 +02:00
squidfunk
4b2c0e5a88 Removed modular-scale and made typography entirely relative 2020-08-01 15:22:03 +02:00
squidfunk
cb974e5bd4 Switched expose-loader with ProvidePlugin 2020-07-27 09:57:24 +02:00
squidfunk
5f57f23af3 Added distribution files 2020-07-24 10:59:57 +02:00
squidfunk
b0bb26ec99 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:54:48 +02:00
squidfunk
6d6811451b Fixed race condition in instant loading 2020-07-24 10:47:26 +02:00
squidfunk
fed4146fa0 Added site search guide 2020-07-20 15:18:09 +02:00
squidfunk
8602969890 Finished syntax highlighter docs and moved overrides to CSS 2020-07-19 22:23:26 +02:00
squidfunk
45735bebfe Updated distribution files 2020-07-16 20:32:47 +02:00
squidfunk
3a94b968fc Merge branch 'master' into feature/search-with-quotes 2020-06-29 11:02:23 +02:00
squidfunk
759f2b9e36 Fixed consecutive searches with quotes 2020-06-29 10:57:56 +02:00
squidfunk
83bba6bee4 Implemented support for AND search with quotation marks 2020-06-28 12:05:15 +02:00
Michael
899c5ecf9c
Added distribution files (#1777)
* Further updates for #1773

* Update search.9b3611bd.min.js
2020-06-26 20:30:01 +02:00
squidfunk
a3c03aefb9 Fixed search transform removing numbers from query 2020-06-23 08:45:49 +02:00
squidfunk
e6e7536356 Improved search experience in many languages 2020-06-21 13:22:48 +02:00
squidfunk
f32778cda2 Fixed duplication of search worker when subscribing to observable 2020-06-20 12:21:34 +02:00
squidfunk
feda4ff29a Fixed custom search separator not being set 2020-06-13 11:35:19 +02:00
squidfunk
0eedfbb3f6 Fixed #1755: custom search separator not set 2020-06-13 11:14:31 +02:00
squidfunk
36e1e3db8b Fixed search in German, French and other languages 2020-06-07 13:56:45 +02:00
squidfunk
76e4998859 Updated dependencies 2020-05-29 13:51:25 +02:00
Isaac Muse
59e851a4c1
Added styles for scrollbars on Firefox (#1731)
Closes #1717
2020-05-27 06:57:53 +02:00
squidfunk
1d7651aca6 Updated dependencies, as depandabot doesn't seem to merge automatically 2020-05-18 08:42:22 +02:00
squidfunk
c6e2e3a780 Added support for focusable code blocks on overflow 2020-05-16 15:08:39 +02:00
squidfunk
900c113e59 Fixed #1696: infinite loop when using instant loading 2020-05-16 14:28:16 +02:00
squidfunk
32d57e66c7 Announced accepting of sponsorships in docs 2020-05-14 09:27:16 +02:00
squidfunk
62abdd1517 Added distribution files 2020-05-09 13:59:03 +02:00
squidfunk
bf43fa3ca6 Fixed whitelisting for instant loading on localhost and Netlify previews 2020-05-09 13:54:03 +02:00
squidfunk
252db1334e Added loading of sitemap to filter instant loading requests 2020-05-09 12:39:55 +02:00
squidfunk
5ebaee9d14 Updated dependencies, as depandabot doesn't seem to merge automatically 2020-04-27 09:19:54 +02:00
squidfunk
ab5535ca61 Added distribution files 2020-04-26 19:29:33 +02:00
squidfunk
dac469eace Added support for graceful recovery of failing search initialization on file:// protocol 2020-04-26 19:20:51 +02:00
squidfunk
0145f6d278 Added note when search is initializing 2020-04-26 18:29:13 +02:00
squidfunk
62fcc9b86e Added re-emission of latest query when search is ready 2020-04-26 17:41:00 +02:00
squidfunk
7eb6cb6536 Fixed sidebar jitter by switching to sticky positioning 2020-04-26 16:33:07 +02:00
squidfunk
e96657cc1e Fixed instant loading not honoring target=_blank 2020-04-17 21:10:04 +02:00
squidfunk
387970c611 Fixed GitLab star count 2020-04-17 14:32:27 +02:00
squidfunk
80a6e33a72 Added new FontAwesome icons 2020-04-17 14:28:05 +02:00
squidfunk
6f5271bb3a Removed invalid CSS property from landing page 2020-04-17 12:02:06 +02:00
squidfunk
a96fa1c3aa Fixed rounding errors in GitHub stars 2020-04-13 16:12:26 +02:00
squidfunk
524aeb6d88 Ensure source maps are built for stylesheets 2020-04-10 12:26:44 +02:00
squidfunk
15961dffa8 Fixed overflow scrolling behavior 2020-04-08 16:25:25 +02:00
squidfunk
6ae8c907bb Switched to touch-action (previously -webkit-overflow-scrolling) 2020-04-08 16:05:23 +02:00
Isaac Muse
89b474bf33
Added emoji icon integration (#1575)
* Add emoji icons

* Generate new build and ensure build is sane on WSL (windows)

Normalize line endings to ensure when building in Windows Subsystem
for Linux that the results are sane.
Build new JS and CSS.

* Attempt to fix netlify issue
2020-04-08 16:00:20 +02:00
squidfunk
34b7d6502c Removed unnecessary box shadows on inline code blocks 2020-04-06 14:36:41 +02:00
squidfunk
85fc057b2f Fixed linting errors 2020-04-05 13:22:41 +02:00
squidfunk
bb36045973 Improved rendering of inline code blocks in Admonitions 2020-04-05 13:20:36 +02:00
squidfunk
00ad2d74d6 Fixed broken link after history change 2020-04-05 11:33:41 +02:00
squidfunk
dff96cbf62 Fixed color of link-embedded code blocks 2020-04-03 09:44:05 +02:00
squidfunk
b9d44e04c1 Fixed details marker showing on Firefox 2020-04-02 10:09:02 +02:00
squidfunk
cfebec40e8 Fixed Firefox only printing the first page 2020-04-02 09:57:55 +02:00
squidfunk
e5f20b540d Improved rendering performance by omitting unnecessary emits for hero and tabs 2020-03-29 14:41:52 +02:00
squidfunk
eb0e8ac85d Refactored element creation (now centralized) 2020-03-29 14:18:18 +02:00
squidfunk
7b6ce2a913 Fixed incorrect active table of contents item when main size changes 2020-03-29 14:00:53 +02:00
squidfunk
908d34b853 Fixed replacement of skip link and announcement bar on instant load 2020-03-28 18:10:08 +01:00
squidfunk
edc9d6fc61 Refactored instant loading setup 2020-03-28 17:40:46 +01:00
squidfunk
4d370fe903 Fixed restoration of scroll offset on page refresh 2020-03-28 13:56:58 +01:00
squidfunk
f81ae11d59 Fixed linting errors and enabled instant loading 2020-03-28 13:48:39 +01:00
squidfunk
63a3481bc2 Fixed bug where a popstate event triggered history.pushState again 2020-03-28 13:25:26 +01:00
squidfunk
0e80ab45b6 Refactored document into subject and moved switching into instant loading 2020-03-28 12:37:51 +01:00
squidfunk
1cd1a056f8 Documentation 2020-03-27 17:16:03 +01:00
squidfunk
64caf62835 Added support for pass custom search transform 2020-03-27 16:59:25 +01:00
squidfunk
635343544e Refactored search configuration 2020-03-27 16:51:27 +01:00
squidfunk
9e74bb7a32 Cleaned up search worker integration 2020-03-27 15:29:17 +01:00
squidfunk
42524ae124 Fixed disappearing sidebars when nested content is expanded 2020-03-26 16:13:53 +01:00
squidfunk
05114b9f2a Added main template override for official docs 2020-03-26 11:19:20 +01:00
squidfunk
17fae53f31 Fixed header ellipsis when title equals site name 2020-03-25 17:13:48 +01:00
squidfunk
035225d6d3 Removed required attribute on search input 2020-03-21 17:13:38 +01:00
squidfunk
0b622b3333 Fixed hover states of search input for black and white palette 2020-03-21 16:20:06 +01:00
squidfunk
08d89aeca2 Improved copy-to-clipboard button sizing in Admonitions 2020-03-21 14:21:59 +01:00
squidfunk
d4051c9bb5 Enable color customization of details arrow icon 2020-03-21 13:42:57 +01:00
Taylor Steinberg
9adf66475a
Added mkdocs-awesome-pages-plugin to Dockerfile (#1519)
* Adds mkdocs-awesome-pages-plugin to Dockerfile and adds plugins documentation

* Adds additional usage documentation for the awesome-pages plugin

* Update mkdocs.yml
2020-03-20 16:15:55 +01:00
squidfunk
30f7c15368 Fixed rendering error for details 2020-03-19 12:13:06 +01:00
squidfunk
83a6b8b63c Reverted Admonitions back to mask-image 2020-03-19 09:52:00 +01:00
squidfunk
1801f2f2b9 Replaced mask-image wherever possible to improve print styles 2020-03-18 12:46:50 +01:00
squidfunk
37f2208ef0 Reverted Admonition flex layout 2020-03-18 11:00:43 +01:00
squidfunk
71b2f5a591 Fixed some errors for print media 2020-03-17 18:19:03 +01:00
squidfunk
153aaabbaa Ensure event listeners are passive 2020-03-17 16:43:49 +01:00
squidfunk
dd2f2c879a Improved rendering performance by combining upstream observables 2020-03-17 11:10:51 +01:00
squidfunk
06f71804c2 Improved default fonts 2020-03-16 16:39:55 +01:00
squidfunk
b1fde7a82c Refactored announcement bar styles 2020-03-16 16:26:58 +01:00
squidfunk
0f116bab03 Fixed precedence of search results in title 2020-03-16 15:13:09 +01:00
squidfunk
653d535a22 Improved flow of observables/emissions 2020-03-16 14:59:59 +01:00
squidfunk
47aa47ee4c Adjustments for right-to-left languages 2020-03-16 12:22:11 +01:00
squidfunk
1b07bef1c5 Adjustments for right-to-left languages 2020-03-16 12:01:20 +01:00
squidfunk
825eeae70c Replaced getComputedStyle with bounding box values 2020-03-15 16:19:36 +01:00
squidfunk
df1c7e5590 Inlined icons referenced from JavaScript 2020-03-15 15:20:48 +01:00
squidfunk
278a40e8d7 Improved alignment of social links and copyright notice 2020-03-15 14:21:54 +01:00
squidfunk
b9fd6086a5 Fixed showing of wrong version in deployment preview 2020-03-15 13:55:06 +01:00