Commit Graph

1492 Commits

Author SHA1 Message Date
squidfunk
0f116bab03 Fixed precedence of search results in title 2020-03-16 15:13:09 +01:00
squidfunk
f300a82014 Removed unnecessary CSS properties 2020-03-16 15:00:19 +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
b7c3798fd7 Documentation 2020-03-16 12:03:04 +01:00
squidfunk
1b07bef1c5 Adjustments for right-to-left languages 2020-03-16 12:01:20 +01:00
squidfunk
6bf47b537f Refactored Admonitions with flex layout 2020-03-16 11:42:46 +01:00
squidfunk
f3cca38f64 Merge branch 'refactor/rxjs-typescript' of github.com:squidfunk/mkdocs-material into refactor/rxjs-typescript 2020-03-16 10:05:12 +01:00
squidfunk
4a8adb8143 Corrected spacing for single code blocks in tabbed containers 2020-03-16 10:05:04 +01:00
Ofek Lev
0de3f60af3
Added forward slash to list of keyboard shortcuts that open search (#1509) 2020-03-16 09:35:24 +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
squidfunk
f7a79edbd8 Fixed hover states for nested items in mobile navigation 2020-03-15 13:27:30 +01:00
squidfunk
bcb8b4a498 Reverted hyphenation 2020-03-14 19:29:48 +01:00
squidfunk
56bd2b10c5 Reduced amount of created layers 2020-03-14 18:08:09 +01:00
squidfunk
c0abaf5692 Fixed closing of search results on anchor jump 2020-03-12 17:13:31 +01:00
squidfunk
566b1363ee Added distribution files 2020-03-12 16:49:08 +01:00
Isaac Muse
4044ce14ba
Fixed inline line highlight padding, wrapping, and gutter background (#1501)
* Fix inline line highlight padding, wrapping, and gutter background
- Line highlight pad should match the parent
- Float the gutter left to force code and numbers not to wrap
- Provide a background for the gutter

* Use opaque color for code background

* Fix for root level stretched code blocks

* Normalize code block padding

* Revert normalization
2020-03-12 16:39:35 +01:00
squidfunk
335b50d0a5 Adjusted spacing for nested tabbed content 2020-03-11 15:01:07 +01:00
squidfunk
447d409b81 Fixed scroll bar on tables inside admonitions 2020-03-11 14:55:13 +01:00
squidfunk
fcbd47c2cb Fixed error when only setting a single icon 2020-03-11 11:24:40 +01:00
squidfunk
4d386df1e9 Fixed margin collapse on tables inside tabbed containers 2020-03-11 10:44:10 +01:00
squidfunk
77987485af Prepare 5.0.0rc1 release 2020-03-10 17:37:51 +01:00
squidfunk
e3127489ca Slight facelifting of tabbed blocks 2020-03-10 16:56:17 +01:00
squidfunk
b6657bccda Refactored code blocks 2020-03-10 16:42:23 +01:00
squidfunk
3f678c048f Visual formatting 2020-03-10 12:10:53 +01:00
squidfunk
d470f89056 Updated documentation 2020-03-10 11:55:25 +01:00
squidfunk
bfea33154f Added title to social footer links 2020-03-09 21:14:47 +01:00
squidfunk
ea29135841 Fixed JavaScript and CSS evaluation on instant loading 2020-03-09 16:46:22 +01:00
squidfunk
6daac21f65 Moving inlined icon SVGs to CSS variables to reduce payload 2020-03-09 16:39:59 +01:00
squidfunk
6a4ee551fc Fixed overflowing code block in tabbed content inside admonition 2020-03-09 15:34:00 +01:00
squidfunk
d71dd2e8a6 Reduced pressure on browser with ResizeObserver 2020-03-06 18:57:27 +01:00
Benjamin Staneck
d3ed86e4a7
Added aria-label to search reset button (#1489) 2020-03-06 16:52:48 +01:00
Benjamin Staneck
2c56acbf14
Added preconnect + dns-prefetch for Google Analytics (#1487)
According to Lighthouse this will save 260ms
2020-03-06 16:49:13 +01:00
squidfunk
7840e207f9 Removed IE compatibility meta tag 2020-03-06 15:50:11 +01:00
squidfunk
9ffcc05752 Switched to stylelint-config-rational-order 2020-03-06 15:21:08 +01:00
squidfunk
3a25eb46d4 Fixed initialization of index for localsearch 2020-03-06 12:02:38 +01:00
squidfunk
184e5f24e2 Prepare 5.0.0b3-2 release 2020-03-06 10:37:28 +01:00
squidfunk
584eac86ee Fixed direction=None in base.html 2020-03-06 10:28:54 +01:00
squidfunk
80f1d3e37b Fixed race condition in instant loading 2020-03-06 10:12:20 +01:00
squidfunk
abec4824bd Fixed intercepting of link clicks when instant loading is disabled 2020-03-05 21:03:51 +01:00
squidfunk
012cd24f06 Fixed linting 2020-03-05 19:18:10 +01:00
squidfunk
1fdc92ae29 Prepare 5.0.0b3 release 2020-03-05 19:16:25 +01:00
squidfunk
081d540127 Added missing skip-to-content link titles 2020-03-05 17:36:01 +01:00
squidfunk
9738c12cc9 Unified components and observable structure 2020-03-05 17:17:15 +01:00
squidfunk
6e6868b8cd Refactored feature flags 2020-03-05 16:44:55 +01:00
squidfunk
3b9225c6a1 Refactored configuration format 2020-03-05 16:43:29 +01:00
squidfunk
d9d47040c7 Added missing skip-to-content link titles 2020-03-05 14:24:14 +01:00
squidfunk
030a67a162 Replaced default logo with 'library' 2020-03-05 11:35:55 +01:00
squidfunk
85c498951f Fixed icon logo in navigation 2020-03-05 11:35:35 +01:00
squidfunk
ef3dc7fdc4 Refactored search configuration via localization 2020-03-05 11:35:19 +01:00
squidfunk
bef1ac4923 Moved source link and date to partials 2020-03-05 10:13:28 +01:00
squidfunk
bc6a0b5060 Improved layer promotion and reduced jitter 2020-03-05 09:27:32 +01:00
squidfunk
3242ca974e Refactored template localization 2020-03-04 22:06:05 +01:00
squidfunk
66376bbe8c Added skip link component 2020-03-04 21:44:22 +01:00
squidfunk
dbb5b2e8c3 Refactored search pipeline configuration 2020-03-04 21:42:19 +01:00
squidfunk
af9505293b Fixed color transitions on search input 2020-03-04 15:17:02 +01:00
squidfunk
f79075223f Restructured components and observables 2020-03-03 18:19:33 +01:00
squidfunk
301582cc76 Fixed scroll snapping for 2nd+ level items using tabs 2020-03-03 14:59:57 +01:00
squidfunk
89d8d6c5ac Reduced jitter during header animation 2020-03-01 00:11:30 +01:00
squidfunk
067df2f6cf Improved anchor jumps after instant loading and fixed Google Analytics 2020-02-29 20:57:11 +01:00
squidfunk
ab3ef19498 Evaluate script elements upon load when using instant loading 2020-02-29 19:25:42 +01:00
squidfunk
c201b3de5f Fixed hero component not being mounted with instant loading 2020-02-29 19:20:28 +01:00
squidfunk
a17c30c3ac Fixed scrollfix being applied more than once for search 2020-02-29 16:26:28 +01:00
squidfunk
a1393fdbc3 Fixed copy-to-clipboard re-appearing after document switch 2020-02-29 12:38:11 +01:00
squidfunk
6029122f96 Fixed first tab not showing for use_directory_urls: false 2020-02-29 12:23:52 +01:00
squidfunk
8556912bb4 Fixed wrong URLs in search when instant loading is enabled 2020-02-29 11:30:37 +01:00
squidfunk
c98e2d39c7 Fixed search on 404 pages 2020-02-29 11:11:43 +01:00
squidfunk
29ad8177fe Improved table styles 2020-02-29 11:03:13 +01:00
squidfunk
c388c5ce20 Fixed content not stretching to viewport height (regression) 2020-02-29 11:02:00 +01:00
squidfunk
68c9cb6dac Fixed search for use_directory_urls: false 2020-02-29 10:47:01 +01:00
squidfunk
ff9ef6a4a7 Added back light shadows to admonitions 2020-02-27 12:27:05 +01:00
squidfunk
eaeac798b1 Refactored icon options for mkdocs.yml 2020-02-27 11:37:02 +01:00
squidfunk
f5222e03f3 Fixed palette colors in HTML templates to match new shades 2020-02-27 11:34:57 +01:00
squidfunk
1e0b168570 Reverted 'extra_css with media' feature 2020-02-27 10:32:42 +01:00
squidfunk
2de1608079 Added nicer scaling for reset button 2020-02-26 10:03:15 +01:00
squidfunk
4b745d0027 Added nicer scaling for reset button 2020-02-26 09:58:25 +01:00
squidfunk
3300d3ec76 Fixed double semicolon 2020-02-26 09:48:09 +01:00
squidfunk
cd74147fca Fixed 2nd level navigation spacing on dir=rtl for screen 2020-02-26 09:45:14 +01:00
squidfunk
4f2fc18fbd Adjusted dialog for right-to-left languages 2020-02-26 09:40:13 +01:00
squidfunk
2a63915a3e Added active state for parent section in mobile navigation 2020-02-26 09:33:24 +01:00
squidfunk
63a309bd72 Added accent colors to new palette integration 2020-02-26 09:08:50 +01:00
squidfunk
9590cc1c2b Partially ported palette for CSS variables 2020-02-26 08:47:53 +01:00
squidfunk
1da7195993 Dropped unnecessary 'only' from media queries 2020-02-26 07:13:53 +01:00
squidfunk
590612939a Improved pymdownx.tabbed styles and palettes 2020-02-25 22:17:23 +01:00
squidfunk
913e9f4369 Fixed missing border in search metadata 2020-02-25 21:04:57 +01:00
squidfunk
309c2b7c03 Refactored CSS variables integration 2020-02-25 20:25:05 +01:00
squidfunk
b623010993 Allow media queries for custom CSS 2020-02-25 16:19:43 +01:00
Benjamin Staneck
ca50ed8200
Refactored CSS to use CSS Variables (#1409)
* First stab at using CSS variables

* Port color-black to CSS variables and fix SCSS compile

* add hex2rgb helper function

* Port md-color-white to CSS variables

* Port code color and background

* Fix a rebase mistake

* Fix lint

* adopt upstream changes

Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
2020-02-25 15:04:58 +01:00
squidfunk
446e55767b Fixed sizing of icons and images in nav and header 2020-02-25 15:02:54 +01:00
squidfunk
43f2a71f03 Fixed incorrect calculation of anchors, huge performance gain 2020-02-25 13:59:57 +01:00
squidfunk
63d4e327e6 Reduced pressure on GC 2020-02-25 00:18:36 +01:00
squidfunk
dd2ea3fe1c Fixed no-js styles 2020-02-24 22:44:12 +01:00
squidfunk
b65bda08a7 Fixed unnecessary nesting in SCSS, reducing final CSS by 20kb 2020-02-24 21:48:30 +01:00
squidfunk
11d1b839a1 Refactored Material icon integration - bye bye webfonts 2020-02-24 18:07:50 +01:00
squidfunk
b345a0b650 Prototyped material icon SVG integration 2020-02-23 13:36:51 +01:00
squidfunk
c79b786ea6 Refactored to use URLs at all times 2020-02-22 15:56:08 +01:00
squidfunk
eb82c8d586 Fixed edge case in scroll restoration 2020-02-22 15:24:15 +01:00
squidfunk
c362179234 Improved scroll restoration implementation 2020-02-22 13:35:26 +01:00
squidfunk
674e3456f8 Improved browser history navigation in conjunction with instant loading 2020-02-21 17:36:04 +01:00
squidfunk
1020953fa5 Fixed header shadow appearing after document switch 2020-02-21 11:36:32 +01:00
squidfunk
c7e4063d86 Refactored instant loading setup 2020-02-21 10:18:49 +01:00
squidfunk
58175137e2 Provided fallback for failing instant load 2020-02-21 09:44:25 +01:00
squidfunk
71758b41b4 Prepare 5.0.0b2-1 release 2020-02-20 19:57:02 +01:00
squidfunk
ae1ed3d924 Implemented instant loading 2020-02-20 17:42:46 +01:00
squidfunk
3aa251fb03 Improved overall structure 2020-02-20 14:44:41 +01:00
squidfunk
9b0410962d Improved keyboard handlers and added prev/next hotkeys 2020-02-20 10:07:50 +01:00
squidfunk
297a63313d Improved observable flows 2020-02-19 17:29:18 +01:00
squidfunk
03010ddbcd Removed packer worker implementation 2020-02-19 16:57:32 +01:00
squidfunk
577ad4ccc4 Fixed multi-language search 2020-02-19 15:45:52 +01:00
squidfunk
8171fc0ecd Moved keyboard handlers to separate module 2020-02-19 15:09:49 +01:00
squidfunk
b0ebcc8d5b Added support for variable sized header 2020-02-19 14:19:11 +01:00
squidfunk
a6bc272778 Moved source integration into patches 2020-02-19 11:42:51 +01:00
squidfunk
ae05805124 Refactored location observables 2020-02-19 11:07:34 +01:00
squidfunk
74b02ad382 Refactored cache observable factory and documented utilities 2020-02-19 10:18:33 +01:00
squidfunk
57817eac99 Refactored patches by making them self-contained 2020-02-19 10:14:59 +01:00
squidfunk
d1afa51726 Restructured observables 2020-02-19 08:57:36 +01:00
Isaac Muse
46ecf3b055
Added support for pymdownx-inline (#1468)
* Add support for pymdownx-inline

* Build assets

* Fix rem lint error
2020-02-19 08:55:44 +01:00
squidfunk
d4f5b1377c Fixed invalid anchor list offset for hidden anchors 2020-02-18 17:07:20 +01:00
squidfunk
dee75ccfbb Jump to anchor inside details tag and refactor tablet styles 2020-02-18 15:39:36 +01:00
squidfunk
b2654777b8 Added dialog for copy-to-clipboard action 2020-02-18 14:30:06 +01:00
squidfunk
fdff60e33d Link header to viewport resizes 2020-02-18 10:17:57 +01:00
squidfunk
ac7c8e20a8 Refactored repository integration and added GitLab support 2020-02-18 10:10:40 +01:00
squidfunk
af50d5b177 Fixed unnecessary rerender of search results on focus 2020-02-18 09:11:57 +01:00
squidfunk
d21da8d522 Merge branch 'master' into refactor/rxjs-typescript 2020-02-17 18:10:08 +01:00
squidfunk
40d52a727d Fixed linting errors and re-enabled workflow 2020-02-17 17:25:40 +01:00
squidfunk
14df716e63 Prepare 5.0.0b1 release 2020-02-17 17:20:08 +01:00
squidfunk
dd40bc2fcf Refactored header title component 2020-02-17 16:25:49 +01:00
squidfunk
7876148fbd Improved documentation and fixed search reset 2020-02-17 14:37:12 +01:00
squidfunk
fdffefd536 Improved search implementation to allow for alternative index sources 2020-02-17 11:36:29 +01:00
squidfunk
95c66b99e3 Refactored search lock 2020-02-17 11:35:36 +01:00
squidfunk
2c0177ab56 Fixed search reset button not hiding for empty input 2020-02-17 10:47:52 +01:00
squidfunk
c9d2e7774e Refactored all <time> units to use ms instead of s 2020-02-17 10:04:12 +01:00
squidfunk
a41037da5f Fixed disappearance of navigation upon section title click 2020-02-17 09:51:40 +01:00
squidfunk
44f0ec604d Fixed flashing of table of contents in navigation on screen upon load 2020-02-17 09:49:12 +01:00
squidfunk
ca260e0faf Fixed permalink characters being part of textContent 2020-02-16 00:53:45 +01:00
squidfunk
a399540940 Fixed anchor jump from mobile search 2020-02-16 00:23:50 +01:00
squidfunk
a539eab0b5 Fixed header shadow on older Safari 2020-02-15 23:24:29 +01:00
squidfunk
a6b22a4461 Fixed wrapping code blocks on iOS Safari 2020-02-15 22:59:29 +01:00
squidfunk
29021a55dc Fixed unreachable toc title on screen after scrolling 2020-02-15 22:04:08 +01:00
squidfunk
694eaca889 Fixed disappearance of header shadow on iOS 2020-02-15 21:52:47 +01:00
squidfunk
a55554f90d Removed unnecessary data attributes 2020-02-15 21:51:15 +01:00
squidfunk
67406d26eb Added scroll snap on navigation and table of contents 2020-02-15 21:34:14 +01:00
squidfunk
9fe7c62d77 Added scroll snap for better UX on search 2020-02-15 11:49:19 +01:00
squidfunk
b883f212a7 Added protoypiical implementation of header title swap 2020-02-14 19:15:21 +01:00
squidfunk
b094573287 Migrated tabs and hero and renamed refactored components 2020-02-14 18:48:46 +01:00
squidfunk
32d6df4cc9 Added minification transform for tinyseg.js 2020-02-14 17:59:09 +01:00
squidfunk
0f77194c23 Cleaned up main entrypoint 2020-02-14 17:45:32 +01:00
squidfunk
2c11f0f36c Moved configuration to utilities 2020-02-14 17:36:31 +01:00
squidfunk
29d15a2e22 Added possibility to set viewport offset 2020-02-14 15:30:06 +01:00
squidfunk
6f0efca4a4 Removed background color for debugging on navigation layer 2020-02-14 15:11:06 +01:00
squidfunk
adc35b1109 Removed default announcement bar from main template 2020-02-14 15:07:41 +01:00
squidfunk
77ede9b2eb Refactored opening of details before print 2020-02-14 15:00:56 +01:00
squidfunk
a4473e893d Fixed search integration imports 2020-02-14 14:50:11 +01:00
squidfunk
864f612005 Refactored Clipboard.js integration and table patching 2020-02-14 14:47:44 +01:00
squidfunk
8dcbbf2e84 Renamed modules into integrations 2020-02-14 12:33:15 +01:00
squidfunk
d934bb37c0 Refactored table of contents component 2020-02-14 12:27:13 +01:00
squidfunk
f150a6c9b5 Refactored search keyboard handlers 2020-02-14 11:33:59 +01:00
squidfunk
8c92565b7b Added method to retrieve element or throw 2020-02-14 09:52:22 +01:00
squidfunk
0d9fbcceb4 Simplified pymdownx.tabbed selectors 2020-02-14 08:20:48 +01:00
Isaac Muse
a348663566
Added support for pymdownx.tabbed via pymdown-extensions 7.0b1 (#1459)
* Add support pymdownx.tabbed via pymdown-extensions 7.0b1

* Rebuild theme

* Use :only-child
2020-02-14 08:16:04 +01:00
squidfunk
c035df94fd Fixed bug in main area observable 2020-02-13 23:42:12 +01:00
squidfunk
1f64cd481d Added header component and fixed search on 404 page (again) 2020-02-13 20:48:21 +01:00
squidfunk
189473867c Refactored navigation observables 2020-02-13 18:50:39 +01:00
squidfunk
ca27f23674 Refactored main and header observables 2020-02-13 18:29:44 +01:00
squidfunk
f4de690712 Improved subscription architecture 2020-02-13 17:48:53 +01:00
squidfunk
e0e559b429 Refactored search observable integration 2020-02-13 16:49:08 +01:00
squidfunk
d8829769f8 Better naming for helper types 2020-02-13 16:34:20 +01:00
squidfunk
d41cf2f785 Added block for tabs navigation 2020-02-13 10:10:04 +01:00
squidfunk
306530f668 Separated observables from components 2020-02-12 19:13:03 +01:00
squidfunk
a018ed0297 Small facelifting of Admonitions 2020-02-12 12:15:47 +01:00
squidfunk
76258ee65f Dropped table layout hacks for flexbox 2020-02-12 11:21:24 +01:00
squidfunk
b891fe90fb Simplified search result templates 2020-02-11 22:04:16 +01:00
squidfunk
6dba046eae Fixed active layer reset 2020-02-11 17:14:28 +01:00
squidfunk
653426257e Restructured actions 2020-02-11 15:57:37 +01:00
squidfunk
786b21039d Fixed invalid whitespace in navigation from mobile to screen when tabs are active 2020-02-11 12:49:30 +01:00
squidfunk
de73cac7b8 Fixed emission of active layer element 2020-02-11 12:13:42 +01:00
squidfunk
ec9ad27251 Updated copyright year in docs 2020-02-11 11:05:21 +01:00
squidfunk
6d497517a5 Inlined Material Icons CSS 2020-02-11 11:04:12 +01:00
squidfunk
286ace2eaf Inlined Material Icons CSS 2020-02-11 11:02:46 +01:00
squidfunk
5ce6597d09 Moved FontAwesome icons to the top-level 2020-02-11 08:37:36 +01:00
squidfunk
b486d0beec Switched build process back to Webpack 2020-02-10 18:32:28 +01:00
squidfunk
8c072448eb Added *.html suffix to FontAwesome icons so MkDocs doesn't bundle them 2020-02-10 15:42:44 +01:00
squidfunk
42540dae9b Fixed spacing of search on tablet and screen 2020-02-10 14:05:39 +01:00
squidfunk
41dc846753 Merge branch 'master' into refactor/rxjs-typescript 2020-02-10 12:34:58 +01:00
squidfunk
0730aae9c2 Added Romanian translations 2020-02-08 22:15:47 +01:00
squidfunk
5b7b3571ad Fixed margin of superfences code on top-level and mobile 2020-02-08 22:05:31 +01:00
squidfunk
c177506550 Fixed code block highlighting issues with superfences 2020-02-08 21:50:25 +01:00
Reece Dunham
eab7148337
Updated copyright year (#1449) 2020-02-08 10:33:01 +01:00
squidfunk
92bfb148ed Fixed code blocks after Markdown 3.2 release 2020-02-08 10:16:59 +01:00
squidfunk
be2525f55f Added overflow scrolling fixes for iOS 2020-02-02 18:28:58 +01:00
squidfunk
4cc07912df Added clipboard integration 2020-02-02 17:18:18 +01:00
squidfunk
18c8c4c2ba Close drawer and search on hash change 2020-02-02 16:51:42 +01:00
squidfunk
4e76da9647 Removed title from search results 2020-02-02 16:35:47 +01:00
squidfunk
c1f0d4ab9a Improved JSX factory typings 2020-02-02 16:33:09 +01:00
squidfunk
a074005b41 Added support for keyboard handlers 2020-02-02 16:19:01 +01:00
squidfunk
24c58d8fd4 Removed platform detection from repository markup 2020-02-01 13:59:12 +01:00
squidfunk
980054a0d1 Always render repo icon, no matter what kind of repository 2020-02-01 13:54:34 +01:00
squidfunk
e1c5953ae6 Fixed #1418: set background color to white 2020-01-30 20:47:34 +01:00
squidfunk
018e38e9ac Added support for lunr-languages 2020-01-26 16:03:49 +01:00
squidfunk
1fdb65b88f Added loading logic for lunr-languages 2020-01-26 15:42:22 +01:00
squidfunk
d329b6921f Added styles for announcement bar 2020-01-25 15:09:27 +01:00
squidfunk
4196de39a9 Merge branch 'refactor/rxjs-typescript' of github.com:squidfunk/mkdocs-material into refactor/rxjs-typescript 2020-01-25 14:26:14 +01:00
squidfunk
a5858e4694 Added support for announcement bar 2020-01-25 14:26:06 +01:00
squidfunk
eb968dfec0 Added support for announcement bar 2020-01-25 14:25:50 +01:00
Benjamin Staneck
656c76f933 Remove unnecessary CSS properties (#1437)
Property is ignored due to the display. With 'display: block', vertical-align should not be used.
2020-01-23 22:59:34 +01:00
squidfunk
68272079c3 Added before print hooks and search keyboard handlers 2020-01-08 18:17:19 +01:00
Roy
9ed1f0bff2 Fixed Japanese translations (#1413) 2020-01-01 11:39:19 -03:00
squidfunk
bad16638c4 Formatting 2019-12-25 15:14:02 +01:00
Benjamin Staneck
9c6a4ca64f Merge branch 'master' into refactor/rxjs-typescript (#1406)
* Improved Lighthouse score (#1391)

* a few accessibility fixes from lighthouse report

* add rel="noopener" to external links

* add title attribute to social links

* add mimetype to manifest link and allow it to work behind auth

* add font-display: swap to all the places where external fonts are used

* remove font-display: swap from icon fonts

* removed font-display from style blocks in base

* add target="_blank" to social links

* switch base fonts grabbed from Google back to display:fallback

As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback

* add target="_blank" to the footer links as well

* Set `tabindex` to `0` for skip to content link (#1393)

see https://web.dev/control-focus-with-tabindex/

* Added diff to CI build

* Added built files

* Bump @babel/cli from 7.7.5 to 7.7.7

Bumps [@babel/cli](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump css-loader from 3.3.2 to 3.4.0

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.7.2 to 6.8.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump mini-css-extract-plugin from 0.8.0 to 0.9.0

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/plugin-transform-react-jsx from 7.7.4 to 7.7.7

Bumps [@babel/plugin-transform-react-jsx](https://github.com/babel/babel) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump style-loader from 1.0.1 to 1.1.1

Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump webpack from 4.41.2 to 4.41.4

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/core from 7.7.5 to 7.7.7

Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @babel/preset-env from 7.7.6 to 7.7.7

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix makefile

* Update packages

* build

* "Fix" lint

* Revert icon and makefile change

Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-25 15:09:36 +01:00
Benjamin Staneck
8c7b2f3f90 Removed first filter from meta name content (#1407)
Fixes #1324
2019-12-25 09:15:18 +01:00
squidfunk
abc851b64c Added support for repository information on mobile 2019-12-24 18:06:09 +01:00
squidfunk
74c458d559 Implemented repository information 2019-12-24 17:59:26 +01:00
squidfunk
48817cfb18 Fixed wrong search result locations 2019-12-24 16:52:26 +01:00
squidfunk
9d67cdfe4a Added support for custom repository icons 2019-12-23 20:24:24 +01:00
squidfunk
bd712ca794 Fixed author in metadata only showing first character 2019-12-23 19:54:01 +01:00
squidfunk
581d7c017c Reduced content shift when icons are loading 2019-12-23 19:39:40 +01:00
squidfunk
c736cd9939 Fixed blurry table of contents 2019-12-22 18:43:30 +01:00
squidfunk
704a7c507d Updated FontAwesome to v5 and switched to inline SVGs 2019-12-22 18:21:19 +01:00
squidfunk
6e29fc3723 Moved FontAwesome back into footer 2019-12-22 17:42:58 +01:00
squidfunk
a18d0a58e4 Refactored search result component 2019-12-22 17:32:51 +01:00
squidfunk
f39c9f9e68 Fixed unmapped components 2019-12-22 17:30:55 +01:00
squidfunk
37b3870133 Renamed components 2019-12-22 17:18:20 +01:00
squidfunk
e04387902c Restructured project 2019-12-22 16:52:28 +01:00
squidfunk
d1928cc31f Fixed inline JavaScript minification 2019-12-22 16:15:22 +01:00
Benjamin Staneck
98b11c1ad9 Set tabindex to 0 for skip to content link (#1393)
see https://web.dev/control-focus-with-tabindex/
2019-12-21 17:45:00 +01:00
squidfunk
fe86225ff9 Temporarily fixed linting errors 2019-12-20 18:08:04 +01:00
squidfunk
6863aeb4a4 Finished search and moved components to setup functions 2019-12-20 18:03:31 +01:00
squidfunk
c7dfcb87cc Fixed position of details icon 2019-12-20 11:08:29 +01:00
squidfunk
fc16b41d96 Added anchor list implementation 2019-12-20 10:47:30 +01:00
squidfunk
1bbd179c55 Catch errors in search worker 2019-12-20 10:24:50 +01:00
squidfunk
b31061dbeb Catch errors in search worker 2019-12-20 10:24:06 +01:00
squidfunk
2fa347aaae Fixed excessive repaints on non-retina devices 2019-12-19 18:25:13 +01:00
squidfunk
87e3bc2410 Added search result metadata 2019-12-19 14:44:22 +01:00
squidfunk
a18ac26f59 Implemented lazy rendering of search results 2019-12-19 14:05:00 +01:00
squidfunk
6b1ff5ef1d Fixed element typings 2019-12-19 09:48:16 +01:00
squidfunk
63c8544371 Added type guards for worker messages 2019-12-18 22:06:59 +01:00
squidfunk
68b1e44d1a Documentation 2019-12-18 21:26:52 +01:00
squidfunk
40120a6241 Fixed highlighting of search terms 2019-12-18 21:24:33 +01:00
squidfunk
60330fd18d Merge 2019-12-18 20:58:31 +01:00
Benjamin Staneck
72891b8bcb Improved Lighthouse score (#1391)
* a few accessibility fixes from lighthouse report

* add rel="noopener" to external links

* add title attribute to social links

* add mimetype to manifest link and allow it to work behind auth

* add font-display: swap to all the places where external fonts are used

* remove font-display: swap from icon fonts

* removed font-display from style blocks in base

* add target="_blank" to social links

* switch base fonts grabbed from Google back to display:fallback

As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback

* add target="_blank" to the footer links as well
2019-12-18 20:42:40 +01:00
squidfunk
29a34d19a8 Added built files + documentation 2019-12-18 17:14:20 +01:00
squidfunk
c32c7a8a20 Added path mappings 2019-12-18 16:38:36 +01:00
squidfunk
13ffcb490f Added search templates + filtered rogue quantifiers 2019-12-18 16:18:09 +01:00
squidfunk
82fddbad77 Refactored JSX factory and added typings 2019-12-18 14:57:37 +01:00
squidfunk
2f3e7e4515 Fixed module resolution to allow for tree shaking 2019-12-18 12:22:42 +01:00
squidfunk
6c7db82ccd Moved compression to separate worker + added JSX factory 2019-12-18 11:47:52 +01:00
squidfunk
c62d3050ad Restructured project 2019-12-18 10:06:03 +01:00
squidfunk
745cb39c3e Renamed ui into agent 2019-12-17 17:21:55 +01:00
squidfunk
4e4e086af7 Added observable for web worker communication 2019-12-17 15:59:13 +01:00
squidfunk
d439142f0f Merge branch 'master' into refactor/rxjs-typescript 2019-12-17 09:59:59 +01:00
squidfunk
1ee9e74bc7 Commit before merging master back in 2019-12-17 09:53:16 +01:00
squidfunk
afe1d65b15 Updated built files and fixed revision date integration 2019-12-11 17:47:48 +01:00
Tim Vink
f08f2fbf65 Added support for mkdocs-git-revision-date-localized-plugin (#1373)
* #1350 update base template to include git revision date

* #1350 add localized revision date

* #1350 support for v0.3 of mkdocs-git-revision-date-localized-plugin

* #1350 add translations for source.revision.date
2019-12-11 10:46:03 +01:00
squidfunk
9b85c980ac Update badge in README 2019-12-06 15:58:27 +01:00
XhmikosR
54bd366a71 Fixe invalid character in Google Fonts URL (#1366)
Escape `|` in the Google Fonts URL.
2019-12-04 20:23:14 +01:00
squidfunk
51cf93518b Added Thai translations 2019-12-02 15:50:04 +01:00
squidfunk
c409fe3953 Fixed Travis and added more components 2019-11-27 19:12:49 +01:00
squidfunk
a70a42cdd1 Refactored entrypoint and observable setup 2019-11-26 17:56:45 +01:00
squidfunk
62ead4092f Documentation 2019-11-26 10:36:04 +01:00
squidfunk
e1cab27714 Fixed L10N JSON format 2019-11-26 10:19:10 +01:00
squidfunk
b5ad4ac339 Reformatted HTML templates and moved L10N to inline JSON 2019-11-26 10:03:53 +01:00
squidfunk
0cfd796598 Prototypical implementation of instant loading 2019-11-22 18:42:25 +01:00
squidfunk
f422c8f90e Added prerequisites for instand loading 2019-11-22 17:55:00 +01:00
squidfunk
4fc4876fc8 Optimized HTML structure 2019-11-22 17:53:12 +01:00
squidfunk
aeded5b844 Added component map observables 2019-11-22 16:46:22 +01:00
squidfunk
526c663af9 Removed commented out and unused code 2019-11-20 21:56:14 +01:00
squidfunk
04e3fc5884 Added operator functions for painting 2019-11-20 21:46:46 +01:00
squidfunk
5894b28571 Moved re-painting logic to anchor component 2019-11-20 17:47:51 +01:00
squidfunk
b711d15dac Documentation 2019-11-20 15:37:04 +01:00
squidfunk
89214b1897 Moved header to observable 2019-11-20 15:13:42 +01:00
squidfunk
e457d901b2 Added navigation component 2019-11-20 10:09:23 +01:00
squidfunk
919fccd238 Reduced repaints for admonitions on scroll 2019-11-19 13:11:21 +01:00
squidfunk
b49ae6f679 Inverted toggle logic and fixed ref counting of subscriptions 2019-11-18 21:24:56 +01:00
Isaac Muse
401dfd9e20 Switched to Twemoji due to license issues (#1338) 2019-11-16 20:47:02 +01:00
squidfunk
a03fa479b8 Refactored anchor blurring 2019-10-29 17:48:57 +01:00
squidfunk
5a90f92bb7 Added further utility functions 2019-10-28 18:01:47 +01:00
squidfunk
4e14ff285e Refactored sidebar and container components 2019-10-28 16:13:13 +01:00
squidfunk
7a3d28b1ff Removed unnecessary stuff from index.ts for now 2019-10-27 18:25:12 +01:00
squidfunk
edf7484d98 Added sidebar component implementation 2019-10-27 18:02:05 +01:00
squidfunk
b9be2ee875 Added container component implementation 2019-10-27 16:21:49 +01:00
squidfunk
4b6e0808d1 Make UI observables hot 2019-10-27 15:55:10 +01:00
squidfunk
85a18c64fa Restructued UI observables 2019-10-27 10:26:54 +01:00
Bastian Diehl
6b869f1d74 Fixed exception on GitHub rate limit error (#1303)
this is caused by too many request to github
2019-10-11 17:13:31 +02:00
Samuel Colvin
6ac6fa4a9e Reduced number of GitHub requests (#1298) 2019-10-09 15:34:20 +02:00
Kristjan Tärk
0826b9243b Added Estonian translations (#1286) 2019-10-03 11:14:32 +02:00
squidfunk
a633f4fec7 Migrated first features to RxJS 2019-09-29 00:30:56 +02:00
squidfunk
34cc56bf28 Fixed development environment 2019-09-28 20:39:07 +02:00
squidfunk
cb1acef1df Improved build dependency resolution 2019-09-28 19:55:08 +02:00
Christian Oliff
44196408a3 Removed unnecessary title tags from table of contents (#1240) 2019-09-05 07:05:16 +02:00
squidfunk
d9a51e2c03 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2019-08-27 17:42:02 +02:00
squidfunk
af81591cce Prepare 4.4.2 release 2019-08-27 17:41:51 +02:00
Christian Oliff
4f41b9aa52 Removed unneeded title attributes from text links in nav and sidebar (#1224) 2019-08-23 17:32:44 +02:00
Timothy Pharo
422406bed3 Fixed issue where HTML tags were shown in page title (#1220)
* Strip tags from page tile when displaying in header <title> tag

* Build resources for stripping html tags from header <title>
2019-08-23 11:02:28 +02:00
Christian Oliff
ec9a9a62b0 Improved accessibility for IE users (#1222)
> The <main> element is widely supported. For Internet Explorer 11 and lower, it's suggested that an ARIA role of "main" be added to the <main> element to ensure it is accessible (screen readers like JAWS, used in combination with older versions of Internet Explorer, understand the semantic meaning of the <main> element when this role attribute is included).

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main#Browser_compatibility
2019-08-23 10:59:23 +02:00
squidfunk
6b7535b8cc Added black as a primary color 2019-08-22 16:11:51 +02:00
Timothy Pharo
a47f1efe6d Fixed issue where HTML elements in H1's cause footer layout to be broken (#1217)
* Add striptags to next/previous links to eascape invalid html tags

* Add generated built files for escaped titles in footer
2019-08-22 15:52:49 +02:00
squidfunk
9d1390f318 Fixed disappearance of tabs for smaller font sizes 2019-06-15 15:54:50 +02:00
squidfunk
e24f2a3d7e Removed remaining whitespace control tags 2019-06-15 15:23:03 +02:00
squidfunk
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +02:00
squidfunk
fb981cf92a Fixed search for Slovak and Slovenian 2019-06-15 14:30:34 +02:00
squidfunk
f6e08ef4a3 Added Slovenian translations 2019-06-15 14:26:34 +02:00
Christian Oliff
6182414ae5 Improved Google Font display experience (#1134)
This fixes: #1133
This change prevents the font changing if the Google font loads within 100ms.
2019-06-14 09:26:51 +02:00
zaxayn
2a8fd8c414 Improved Chinese translations
I am Chinese, which is more in line with Chinese habits. If you have Chinese friends, you can check with him:)
2019-05-29 08:08:17 +02:00
Janus
6b90dea369 Fixed spelling error in danish translation
It should be indtast not indtask.
2019-05-23 09:15:25 +02:00
squidfunk
631846394e Prepare 4.3.0 release 2019-05-17 21:52:14 +02:00
squidfunk
76eebf53c2 Added support for changing header through metadata 'title' property 2019-05-17 21:42:02 +02:00
squidfunk
b36a725d30 Removed all whitespace from compiled files - saving 700 bytes per page (gzip) 2019-05-17 21:37:21 +02:00
squidfunk
157c929faa Fixed alignment of repository link on tablet and desktop 2019-05-17 21:35:11 +02:00
squidfunk
94d6f2c68b Added font-display: swap to Google Font loading 2019-05-17 18:57:11 +02:00
squidfunk
b245e9f769 Fixed search hotkey stealing focus from non-form textarea 2019-04-28 11:49:40 +02:00
squidfunk
611dc9718f Added Norwegian Nynorsk translations 2019-04-28 11:37:56 +02:00
squidfunk
8049185aa8 Fixed search hotkeys to trigger for smaller screen sizes 2019-04-28 10:34:27 +02:00
squidfunk
bcc8552876 Fixed linter errors 2019-04-28 10:23:46 +02:00
squidfunk
50ea834759 Fixed search field alignment in tablet landscape mode 2019-04-28 10:20:55 +02:00
squidfunk
185147684c Inlined regex escaping from dependency 2019-04-17 10:40:41 +02:00
squidfunk
13a4c9172d Removed unnecessary Babel plugin 2019-04-17 10:19:55 +02:00
Lars
bd8eaf4a09 Removed HTML tags from nav item titles (#1073) 2019-04-16 11:29:16 +02:00
squidfunk
6e43b874f6 Fixed CSS errors detected during validation 2019-03-28 17:16:26 +01:00
squidfunk
1aa8aeb252 Fixed content editable elements losing focus on control keys 2019-03-12 16:51:22 +01:00
squidfunk
9a16b9c6ea Fixed Asian search after lunr-languages upgrade 2019-03-12 16:33:58 +01:00
squidfunk
8a01e0cc8c Fixed HTML entities appearing in search result titles 2019-03-01 13:17:13 +01:00
squidfunk
4ca20f1b8b Fixed glitch in sidebar when collapsing items 2019-02-13 18:04:13 +01:00
squidfunk
71fc5d1d37 Added support for automatic expansion of details when printing 2019-02-13 17:22:27 +01:00
squidfunk
2b2d908d6e Added background on hover for table rows 2019-02-13 16:14:20 +01:00
squidfunk
74c473e2d7 Added Greek translations 2019-02-13 15:59:56 +01:00
squidfunk
9a4b142e10 Removed FastClick 2019-02-13 15:49:10 +01:00
squidfunk
163438a425 Fixed stylelint errors 2019-02-12 19:41:13 +01:00
squidfunk
946f4f1509 Reset font-size on body for correct inline spacing 2019-02-12 19:21:14 +01:00
squidfunk
2007484306 Added helper function for rem calculation and set base font size to 20px 2019-02-12 19:13:08 +01:00
squidfunk
1b45a24113 Fixed loading method for Google Analytics 2019-02-12 18:11:40 +01:00
squidfunk
a27372eee3 Removed blocks in partials - Jinja doesn't support them 2019-02-09 18:02:46 +01:00
squidfunk
9d46c27a9e Removed Google Tag Manager and reverted to Google Analytics 2019-02-09 17:54:08 +01:00
squidfunk
a182314a15 Fixed too unspecific selector for table of contents blur on scroll 2019-01-29 10:56:27 +01:00
squidfunk
5ec6ad2828 Moved Google Analytics block into head 2019-01-28 11:18:22 +01:00
squidfunk
2f31618d60 Use asynchronous Google Analytics tracking 2019-01-28 11:13:26 +01:00
squidfunk
ee0371d026 Fixed Unicode slugifier breaking table of contents blur on scroll 2019-01-28 09:48:05 +01:00
squidfunk
cc47bb7464 Updated copyright year 2019-01-01 18:42:00 +01:00
squidfunk
59ce603ed8 Moved redirect code into main template 2018-12-28 15:09:11 +01:00
squidfunk
afd2787fea Merge branch 'master' of git://github.com/kcgthb/mkdocs-material into kcgthb-master 2018-12-28 15:01:21 +01:00
squidfunk
635f74686d Formatting 2018-12-28 14:59:45 +01:00
Christian Oliff
f9b4a63ebc Added support for Google Analytics async snippet loading (#921)
Snippet from Google: https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet

Recommended by HTML5Boilerplate:
https://github.com/h5bp/html5-boilerplate/blob/master/dist/index.html
2018-12-28 14:46:24 +01:00
Martin Donath
4e72119d20
Upgraded to webpack 4 (#941)
* Upgrade to webpack 4 - partly working

* Upgraded to webpack 4

* Fixed error with webpack ProvidePlugin

* Fixed ESLint errors
2018-12-28 14:44:41 +01:00
Christian Oliff
2712a85b38 Lowercased doctype to shave of 2 byte of gzipped response
* lowercase doctype in HTMLtemplate

This gzip compresses slightly better (can save 2 bytes!)

REF: https://encode.ru/threads/1889-gzthermal-pseudo-thermal-view-of-Gzip-Deflate-compression-efficiency

* lowercase doctype in src
2018-12-20 12:14:03 +01:00
Kilian Cavalotti
05673a2de6 redirect: add metatag to prevent robot indexing 2018-12-04 08:38:28 -08:00
Kilian Cavalotti
6d713cb8f5 redirect: add support to redirect anchors
eg. if url.md contains: "redirect: newurl/"
       //domain.tld/url#foo redirects to //domain.tld/newurl#foo
2018-11-26 15:22:35 -08:00
squidfunk
226cb9f4d9 Added support for Progressive Web App Manifest 2018-11-13 22:24:17 +01:00
squidfunk
fe42b2f7e1 Prepare 3.0.6 release 2018-10-26 13:15:41 +02:00
squidfunk
61dcde1dda Fixed JavaScript code block evaluation in search results 2018-10-26 12:55:36 +02:00
squidfunk
d72e46b65d Removed unnecessary overrides of search tokenizer 2018-10-23 08:58:03 +02:00
squidfunk
793263f40f Added Indonesian translations 2018-10-23 08:56:37 +02:00
squidfunk
330229fdbc Added Croatian translations 2018-10-23 08:47:09 +02:00
squidfunk
13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk
15e604f797 Fixed missing URL filter in footer for FontAwesome link 2018-10-23 08:35:56 +02:00
Kilian Cavalotti
dcf6c34284 redirect: use document.location.replace instead of location.href to
avoid storing old URL in browser history
2018-10-18 08:38:41 -07:00
Kilian Cavalotti
0c17ca3a52 add support for redirects via metadata extension 2018-10-17 14:53:48 -07:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
Ronald Ligteringen
b04972ebbe Updated Dutch translations
The correct translation for Table of Contents in Dutch is 'Inhoudsopgave'
2018-09-03 09:33:15 +02:00
Richard Körber
7d20ae8561 Removed preconnect meta tag if Google Fonts are disabled 2018-09-03 09:32:48 +02:00
squidfunk
7f08e2849a Fixed #841: Additional path levels for extra CSS and JS 2018-08-07 11:10:19 +02:00
Waldinar Oliveira Neto
cc46c9e5fb Fixed lunr.js import scripts 2018-08-06 09:37:43 +02:00
Waldinar Oliveira Neto
679aa64310 Fixed broken search result links 2018-08-05 21:41:19 +02:00
squidfunk
fd75fa8eb7 Added Serbian and Serbo-Croatian translations 2018-08-04 20:35:14 +02:00
squidfunk
159575bbe9 Fixed path concatenation in templates 2018-08-04 20:22:49 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
squidfunk
4bc97f1f36 Fixed build error after MkDocs upgrade 2018-07-29 16:55:17 +02:00
squidfunk
7f3c72bff2 Added link to home for logo in mobile navigation 2018-07-29 16:19:04 +02:00
squidfunk
65cefb835a Added Hindi and Czech translations 2018-06-29 11:14:23 +02:00
squidfunk
602de62ae3 Added support for different spellings for theme color 2018-06-18 10:19:07 +02:00
squidfunk
4d7f77e88b Formatting and documentation 2018-06-18 10:14:10 +02:00
Isaac Muse
31e561201e Added ".highlighttable" as an alias for ".codehilitetable" (#800)
When codehilite is disabled, or if pymdownx.highlight is used instead of codehilite, the default class "highlight" is used instead of "codehilite".  This also applies to the number table format that, and will use "highlighttable" instead of "codehilitetable".
2018-06-18 10:11:11 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +02:00
squidfunk
87f9a3a25b Fixed rendering of nested tabbed code blocks 2018-06-13 09:51:04 +02:00
squidfunk
05e4d17cbf Added support for code tabs 2018-06-10 18:11:36 +02:00
Ed Morley
ca773de86c Fixed: Changed links to mkdocs.org to HTTPS
To prevent the unnecessary HTTP 301 (and reduce the redirects noise
when running the W3C link checker tool against generated pages).

Also fixes the anchor fragment for `#using-the-theme-custom_dir`.
2018-06-10 15:30:26 +02:00
squidfunk
c90c57d2b4 Fixed missing material icons 2018-06-10 15:21:49 +02:00
squidfunk
2163f58447 Bundled Material icons with theme 2018-06-10 14:52:46 +02:00
Isaac Muse
a42fdb33ed Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates

* Revert disqus id change
2018-06-10 14:45:16 +02:00
squidfunk
2fbeb28d9d Packaged Material icons with theme (GDPR) 2018-06-10 13:52:51 +02:00
squidfunk
416fd474b4 Added Slovak translations 2018-06-02 15:23:48 +02:00
squidfunk
3523c89610 Added temporary scripts for testing 2018-04-26 15:20:34 +02:00
squidfunk
bdecff9736 Added temporary scripts for testing 2018-04-26 15:14:25 +02:00
squidfunk
59a208cc64 Added Finnish translations 2018-04-26 10:38:26 +02:00
Isaac Muse
a3642c779f Fixed rendering issue for details on MS Edge (#753)
Fixes issue where details are not rendered properly in MS Edge due to the fact that details tags are not styled as block elements.
2018-04-09 09:35:18 +02:00
squidfunk
bdaf043039 Reset drawer and search upon back button invocation 2018-03-21 20:21:49 +01:00
squidfunk
34afab9fd6 Added Galician translations 2018-03-21 20:11:06 +01:00
squidfunk
6ecf71ee8d Fixed JavaScript error on home page if Disqus is enabled 2018-03-21 20:05:27 +01:00
squidfunk
ef9cfdd076 Added Hebrew translations 2018-03-06 17:53:25 +01:00
squidfunk
1d5817e919 Added ability to set absolute URL for logo 2018-03-06 17:50:54 +01:00
squidfunk
060a5df1f5 Fixed sidebar disappearing if JavaScript is not available and tabs are enabled 2018-02-22 19:53:44 +01:00
squidfunk
36ec35c2e4 Added preconnect for Google Fonts for faster loading 2018-02-22 19:15:32 +01:00
squidfunk
75d924d4fa Added Catalan translations 2018-02-21 23:08:20 +01:00
squidfunk
468c1a7543 Fixed incorrect margins for buttons in Firefox and Safari 2018-02-21 21:23:37 +01:00
squidfunk
323f83808a Reverted GitHub stars rounding method 2018-02-21 21:12:04 +01:00
squidfunk
b96c7380f8 Added Vietnamese translations 2018-02-18 23:29:11 +01:00
squidfunk
165218646d Fixed incorrect rounding of amount of GitHub stars 2018-02-12 21:43:31 +01:00
squidfunk
bf9b652eca Fixed double-layered borders for tables 2018-02-12 21:43:31 +01:00
squidfunk
b3e293ece9 Fixed duplicate slashes in source file URLs 2018-02-11 20:01:00 +01:00
squidfunk
e55a82b96c Added ability to override Disqus integration using metadata 2018-02-11 20:01:00 +01:00
squidfunk
c0dbdcd688 Improved prev/next German translations 2018-02-11 20:01:00 +01:00
squidfunk
94acf18d5d Fixed active page highlight not working with default palette 2018-02-11 20:01:00 +01:00
squidfunk
3c8f12a41a Prepare 2.6.0 release 2018-02-02 00:28:32 +01:00
squidfunk
c002cc2881 Fixed search for languages without stemmers 2018-02-02 00:28:32 +01:00
squidfunk
9b717440cc Added Persian translations 2018-02-02 00:28:32 +01:00
squidfunk
189d688852 Added Hungarian translations 2018-01-31 18:03:45 +01:00
Balázs Györkös
6984baa16d Create hu.html
Adding hungarian language
2018-01-31 17:24:17 +01:00
squidfunk
3132cee3dd Added Ukrainian translations 2018-01-25 19:43:59 +01:00
squidfunk
4f5677d584 Fixed uncaught reference error when search plugin is disabled 2018-01-22 19:00:40 +01:00
squidfunk
4b5c45c656 Refactored search language handling 2018-01-21 23:02:04 +01:00
squidfunk
0edbfdc8aa Added translations for skip-to-content link 2018-01-20 12:16:59 +01:00
Alicia Perez
cb6c3e9541 Add new translation in Spanish (#670)
Added Spanish translations for "skip-to-content" link
2018-01-20 11:34:33 +01:00
Odd Christer Brovig
57209497d2 Updated no with skip.link.title 2018-01-19 09:28:02 +01:00
squidfunk
b6fc85f68a Added German translation for skip link 2018-01-18 22:36:23 +01:00
squidfunk
9c59f5ebe0 Increased h1 anchor offset 2018-01-18 21:33:22 +01:00
squidfunk
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +01:00
squidfunk
c3cdb945a6 Updated copyright notice 2018-01-13 17:36:13 +01:00
squidfunk
01c9aa5e11 Added support for right-to-left languages 2018-01-13 17:24:30 +01:00
squidfunk
f99f6956be Prepare 2.4.0 release 2018-01-11 23:20:49 +01:00
squidfunk
b1d8a79471 Removed commented out code 2018-01-11 23:20:49 +01:00
squidfunk
1020185c82 Improved tabbing behavior in tabs mode 2018-01-11 23:20:49 +01:00
squidfunk
4026513889 Improved reset of tabbing behavior 2018-01-11 23:20:49 +01:00
squidfunk
3217754daa Fixed odd behavior in navigation tab behavior 2018-01-11 23:20:49 +01:00
squidfunk
7a0c464ed6 Fixed lost tab focus on collapsible navigation 2018-01-11 23:20:49 +01:00
squidfunk
809f943240 Fixed search bar stealing tab focus 2018-01-11 23:20:49 +01:00
squidfunk
b10e058906 Prepare 2.3.0 release 2018-01-09 22:56:48 +01:00
squidfunk
6d9a48fc80 Prepare 2.2.6 release 2017-12-27 13:50:58 +01:00
gurolg
468bbe9c1b Added Turkish translations 2017-12-21 10:26:33 +01:00
squidfunk
b7f1ab665d Prepare 2.2.5 release 2017-12-18 19:24:23 +01:00
squidfunk
1c4b3683df Prepare 2.2.4 release 2017-12-18 08:48:26 +01:00
Joshua Avalon
93223df6a2
Merge branch 'master' into master 2017-12-13 09:11:45 +08:00
squidfunk
4246913d25 Upgraded stylelint 2017-12-12 22:04:31 +01:00
squidfunk
96678bd30f Fixed margin issues on admonition 2017-12-12 21:43:04 +01:00
joshuaavalon
6d8d6fc24d squidfunk/mkdocs-material#632 2017-12-12 17:56:27 +08:00
Bart Van Hooydonck
996e5b5e31 Update nl.html
Better translation for clipboard.copied
2017-12-08 09:39:42 +01:00
Bart Van Hooydonck
6130e46f32 Update nl.html
Added missing translation for clipboard.copied
2017-12-08 09:39:42 +01:00
Bart Van Hooydonck
c6b2d1acd0 Added dutch translations 2017-12-08 09:39:42 +01:00
squidfunk
17fb20ddf0 Simplified Admonition styles and fixed padding bug 2017-12-08 09:39:26 +01:00
squidfunk
507d44f264 Adjusted targeted link and footnote offsets 2017-12-02 15:30:18 +01:00
squidfunk
0457aa1f95 Added note on ligatures in theme configuration 2017-12-02 15:01:52 +01:00
squidfunk
d014b21bd5 Prepare 2.2.1 release 2017-12-02 15:01:52 +01:00
squidfunk
e81054ceb6 Fixed minor styling error with title-only admonition blocks 2017-12-02 15:01:52 +01:00
squidfunk
5305cfcd53 Removed border for table of contents and improved spacing 2017-12-02 14:38:22 +01:00
squidfunk
decdbef787 Replaced teaser image with new look 2017-11-22 21:37:12 +01:00
squidfunk
6cabf6d457 Fixed footnote backref target offsets regression 2017-11-22 20:23:31 +01:00
squidfunk
f6c0ea670e Fixed indented hero on animation due to scroll bar 2017-11-22 19:28:43 +01:00
squidfunk
6dc12758bb Fixed lunr search stemmers not being correctly loaded 2017-11-22 19:11:07 +01:00
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
squidfunk
7859acf6f5 Added portuguese translations 2017-11-21 21:44:22 +01:00
Martin Donath
81e433bf2e
Refactored Gulp build pipeline with Webpack 2017-11-21 21:32:25 +01:00
squidfunk
250f1fd172 Added white to primary colors 2017-11-19 17:49:37 +01:00
squidfunk
e6a5e2e160 Fixed missing ellipsis in header if JavaScript is enabled 2017-11-19 17:49:37 +01:00
squidfunk
354c713e4f Added support for sliding title 2017-11-19 17:49:37 +01:00
squidfunk
042eb374a0 Slight facelift 2017-11-19 17:49:37 +01:00
Roberto Jimenez Sanchez
e472e2d0b1 Generate Edit button only if page.edit_url 2017-11-18 17:10:26 +01:00
Christian Oliff
0f9a76f452 Update footer.html 2017-11-14 10:34:26 +01:00
squidfunk
c622056a7c Fixed redundant clipboard button when using line numbers on code blocks 2017-11-08 08:39:07 +01:00
squidfunk
185c6128d3 Prepare 2.0.4 release 2017-11-05 17:26:08 +01:00
squidfunk
c2bbb060dc Fixed jumping to anchor inside closed details 2017-11-05 15:20:36 +01:00
squidfunk
1c11a78f44 Fixed footnote link colors and did some cleanup 2017-11-05 15:20:36 +01:00
miyahan
63ebc684ef Add Japanese translation 2017-11-05 14:48:51 +01:00
squidfunk
1be9225eb1 Fixed flash of unstyled content 2017-11-01 18:25:42 +01:00
squidfunk
f14fa37f4d Fixed vertical scrollbar always appearing 2017-11-01 18:16:50 +01:00
squidfunk
9b0bbe2e04 Fixed horizontal scrollbar between 1220px and 1234px 2017-11-01 18:11:58 +01:00
squidfunk
a0308b0dce Fixed meta source only rendering first character 2017-11-01 15:26:13 +01:00
squidfunk
e8200730b3 Added Russian translations 2017-11-01 14:05:18 +01:00
squidfunk
f4dddaeeee Fixed favicon regression caused by deprecation upstream 2017-11-01 12:07:30 +01:00
squidfunk
72121517e6 Fixed meta title and description only rendering first character 2017-11-01 11:52:11 +01:00
squidfunk
34c2f11afc Fixed wrong colors on nested admonition in details 2017-10-31 21:05:03 +01:00
squidfunk
91d34707ea Fixed styles for link to edit the current page 2017-10-31 21:05:03 +01:00
squidfunk
87d8855dfe Fixed error when initializing search 2017-10-31 20:52:29 +01:00
squidfunk
f68d7beb94 Updated documentation and simplified search tokenizer configuration 2017-10-31 20:07:11 +01:00
squidfunk
240a7afa8d Moved logo to theme configuration and made search optional 2017-10-31 20:07:11 +01:00
squidfunk
5fbba74c80 Moved language and features to theme configuration 2017-10-31 20:07:11 +01:00
squidfunk
a5d90ea2a9 Moved font theme configuration 2017-10-31 20:07:11 +01:00
squidfunk
3afe613e63 Moved palette to theme configuration 2017-10-31 20:07:11 +01:00
Jonas Fonseca
85fedf287e Remove unused template code
It was introduced in 0ff0b46c7a in as an
unrelated change.
2017-10-27 08:59:53 +02:00
cxlwill
f12069ece9 Minor correction 2017-10-26 21:33:41 +02:00
cxlwill
45b0a87cb7 changle language code 2017-10-26 21:33:41 +02:00
cxlwill
b4c797358d Add Traditional Chinese translation 2017-10-26 21:33:41 +02:00
cxlwill
a7c792a51a change directory 2017-10-26 21:33:41 +02:00
Marc Vertes
56e2a2d6ec fr translation: apply in src/, not material/ 2017-10-25 11:18:17 +02:00
Odd Christer Brovig
6ad162c6b6 Adds norwegian bokmål translation 2017-10-25 11:12:56 +02:00
markainick
73a11d399e Add italian translation 2017-10-25 11:11:48 +02:00
squidfunk
4060ad09d9 Added compatibility for mkdocs 0.17 2017-10-22 21:29:25 +02:00
squidfunk
badeb7e86f Added missing theme configuration file for mkdocs 0.17 2017-10-21 23:29:45 +02:00
squidfunk
5e7ad632de Improved downward compatibility with custom partials 2017-10-21 18:17:16 +02:00
Alicia P
9dd7aac430 adding Spanish translation 2017-10-21 17:21:00 +02:00
Martin B
c69db960b3 Added swedish translation 2017-10-20 12:07:26 +02:00
Max
ddb562f816 Added Polish translation file 2017-10-20 11:24:59 +02:00
squidfunk
52097a552a Fixed some warnings from W3C HTML validator 2017-10-20 10:26:01 +02:00
squidfunk
b8b245a1b8 Prepare 1.12.0 release 2017-10-20 09:42:43 +02:00
Jonas Fonseca
eda4ff2c14 Add Danish translation
References #509
2017-10-20 09:09:41 +02:00
squidfunk
0ab84b02ed Added documentation for language configuration 2017-10-19 21:11:18 +02:00
squidfunk
9f513d6411 Added support for default localization and German translations 2017-10-19 21:11:18 +02:00
squidfunk
9005ae2381 Fixed search bar alignment on big screens 2017-10-19 09:27:42 +02:00
squidfunk
9c3134750e Fixed backward compatibility for localization 2017-10-18 21:56:53 +02:00
squidfunk
c1e541b32b Added localization to clipboard 2017-10-18 20:44:15 +02:00
squidfunk
6703454356 Fixed Flow errors temporarily 2017-10-18 20:44:15 +02:00
squidfunk
00911b7350 Improved passing i18n values to JavaScript 2017-10-18 20:44:15 +02:00
Martin Donath
4151875a93 Merge branch 'master' into fix/scrollbar-on-short-content 2017-10-18 19:36:42 +02:00
squidfunk
716971d13d Fixed vertical scrollbar on short pages 2017-10-18 19:35:24 +02:00
Jonas Fonseca
2e728cc9f6 Improve printing of code blocks
- Hide clipboard icon
 - Wrap code and hide the scrollbar
2017-10-16 07:48:49 +02:00
Lukas Geiter
253596c58d Keep search open on enter without selection 2017-10-12 17:02:54 +02:00
squidfunk
85a8b1041b Fixed vertical scrollbar on some MathJax formulas 2017-10-11 19:24:50 +02:00
squidfunk
0ff0b46c7a Fixed footnote backref target offsets regression 2017-10-11 18:37:08 +02:00
squidfunk
ea81720a52 Fixed Safari sidebar height bug 2017-10-06 10:59:43 +02:00
squidfunk
91b87d1c91 Fixed bold code blocks rendering normal font 2017-09-14 11:35:48 +02:00
squidfunk
2537e39c75 Added support for configurable icon as logo 2017-09-01 19:59:48 +07:00
squidfunk
a1a18404e3 Removed unnecessary documentation 2017-09-01 19:59:48 +07:00
squidfunk
2ae628ed6d Fixed incorrect color transition for nested pane in mobile navigation 2017-09-01 19:59:48 +07:00
squidfunk
bca99813d1 Fixed error in mobile navigation in case JavaScript is not available 2017-09-01 19:59:48 +07:00
squidfunk
6a8eb11378 Improve tasklist checkbox styling 2017-09-01 19:59:48 +07:00
squidfunk
aff623aaac Fixed uninitialized overflow scrolling on main pane for iOS 2017-09-01 19:59:48 +07:00
squidfunk
19feb7a67d Replaced ligatures with Unicode code points 2017-08-29 22:28:53 +07:00
squidfunk
1e5611f1e8 Added polyfill for details and adjusted social footer 2017-08-29 21:17:16 +07:00
squidfunk
cf78aa3a9a Added new admonition classes and finished details 2017-08-29 18:46:07 +07:00
squidfunk
c8d11a83bb Merge branch 'master' into feat/pymdown-details
Conflicts:
	material/base.html
2017-08-29 14:26:43 +07:00
squidfunk
39c38e6812 Fixed spacing for new admonition styles 2017-08-29 14:11:38 +07:00
squidfunk
4d4c76c979 Added basic implementation for details 2017-08-29 13:17:26 +07:00
squidfunk
35dbc1c0bb Refactored Admonition styles 2017-08-26 18:36:49 +07:00
squidfunk
cc7facb199 Fixed missing pagination on GitHub API 2017-08-07 19:10:11 +02:00
squidfunk
c0164698cd Merge branch 'master' into feat/search-separator 2017-08-02 14:15:48 +02:00
squidfunk
bbb3455c52 Added support for lazy rendering of search results 2017-08-02 14:09:13 +02:00
squidfunk
8ff457a7fc Upgraded dependencies and fixed ESLint regression 2017-08-02 12:21:36 +02:00
squidfunk
d204b63ee4 Added search separator customization option 2017-07-27 23:27:27 +02:00
squidfunk
ef1c5a4043 Added search separator customization option 2017-07-27 22:48:47 +02:00
squidfunk
bda96f88df Improved search user experience 2017-07-25 17:07:16 +02:00
squidfunk
357c6f4122 Improved search matching and highlighting 2017-07-25 16:50:15 +02:00
squidfunk
fce9e77c26 Fixed broken forms due to search shortcuts 2017-07-25 16:11:26 +02:00
squidfunk
993fb4782c Improved markup of search dialogue for a11y 2017-07-25 16:04:56 +02:00
squidfunk
bea89e87c1 Provide x-ua-compatible tag for IE compatibility 2017-06-21 10:50:12 +02:00
squidfunk
cb8900d973 Fixed functional link colors in TOC for active palette 2017-06-14 14:57:28 +02:00
squidfunk
ad9388ab42 Upgraded dependencies 2017-06-13 15:11:03 +02:00
jumpei-miyata
876b71466f Fixed support for Japanese search 2017-06-07 12:43:06 +02:00
squidfunk
ba0b46e9b0 Fixed non-disappearing tooltip 2017-06-06 21:54:39 +02:00
squidfunk
e5761ccfb1 Fixed offset of search box when repo url is not set 2017-06-06 20:52:14 +02:00
squidfunk
6abed20acb Fixed wrong offset of targeted footnote backrefs 2017-06-01 22:47:57 +02:00
squidfunk
95d014032f Fixed wrong z-index order of header, overlay and drawer 2017-06-01 22:28:10 +02:00
squidfunk
5305e3920a Added double quotes where possible 2017-06-01 22:20:46 +02:00
squidfunk
271d974266 Merge branch 'master' into feature/lunr-languages-integration 2017-06-01 09:14:10 +02:00
squidfunk
d17b0fbb90 Fixed search highlighting for non-latin languages 2017-06-01 00:54:06 +02:00
squidfunk
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
squidfunk
745058c77e Removed unnecessary stuff 2017-05-31 17:06:02 +02:00
squidfunk
bca2077c1e Added clipboard active color to palettes 2017-05-31 16:50:11 +02:00
squidfunk
0253d6e6c8 Added support for superfences without codehilite 2017-05-31 16:34:20 +02:00
squidfunk
fba1883def Refactored clipboard initialization 2017-05-31 16:22:00 +02:00
squidfunk
13cd1d1a26 Merge branch 'master' into feature/clipboard-js-integration 2017-05-31 15:31:17 +02:00
squidfunk
670ae4a44c Refactored clipboard integration, not finished 2017-05-31 15:22:59 +02:00
squidfunk
c07ef90f0e Migrated changes from @facelessuser to code base [ci skip] 2017-05-31 12:25:54 +02:00
squidfunk
f717345ec9 Removed unnecessary argument in Promise 2017-05-24 16:09:24 +02:00
squidfunk
0e30256604 Fixed JavaScript error for GitHub organization URLs 2017-05-24 16:09:24 +02:00
Martin Donath
db397f3151 Merge branch 'master' into clipboard 2017-05-16 21:07:26 +02:00
squidfunk
e473a1fedc Fixed undefined source stats for private repositories 2017-05-16 19:41:12 +02:00
facelessuser
4b6ffe6628 Add clipboard.js support 2017-05-15 18:31:10 -06:00
squidfunk
3516542c98 Removed second underline on abbreviations 2017-05-15 11:37:00 +02:00
squidfunk
6b5629317f Removed ligatures on monospace fonts 2017-05-15 11:27:22 +02:00
squidfunk
58288f87ac Fixed miscalculated sidebar height 2017-05-15 10:53:41 +02:00
squidfunk
6609324bd6 Fixed layer order of search component elements 2017-04-23 21:05:13 +02:00
squidfunk
7ae0a42654 Fixed following of link if search input is focused 2017-04-23 20:52:27 +02:00
squidfunk
6336e5055c Added language from localizations to HTML tag 2017-04-22 14:55:21 +02:00
squidfunk
eea31eb528 Fixed too small footnote divider when using larger font sizes 2017-04-22 14:50:32 +02:00
squidfunk
eaaefe4fc4 Fixed broken source files links 2017-04-22 14:38:51 +02:00
squidfunk
00b7e600a8 Merged master and implemented search overlay 2017-04-22 14:17:25 +02:00
squidfunk
a5b06b9839 Updated babel-loader, flow-bin, lunr and gulp-changed 2017-04-22 13:22:54 +02:00
squidfunk
8ac6712dc3 Fixed overflowing sidebar 2017-04-22 00:42:48 +02:00
squidfunk
fab1ab54d6 Refactored targetted link offsets 2017-04-22 00:42:48 +02:00
squidfunk
77e972753c Fixed hijacking of browser search 2017-04-20 18:31:41 +02:00
squidfunk
463fd5202d Removed commented out code 2017-04-08 19:01:27 +02:00
squidfunk
49ac0e2111 Merge branch 'master' into fix/search-missing-results 2017-04-08 18:52:28 +02:00
squidfunk
5df7a85618 Fixed unresponsive overlay on android 2017-04-08 16:09:33 +02:00
squidfunk
67bea5e152 Fixed highlighting not working for two or more words 2017-04-08 16:04:09 +02:00
squidfunk
b283236770 Fixed missing right spacing on overflow of source container 2017-04-07 00:17:32 +02:00
squidfunk
f921f45787 Fixed missing top padding for h1 on 404 page 2017-04-06 17:17:15 +02:00
squidfunk
2ab6083ebe Fixed JavaScript errors on 404 page 2017-04-06 16:23:08 +02:00
squidfunk
5b1bbea2a3 Fixed wrong palette color for focused search result 2017-04-06 11:40:48 +02:00
squidfunk
315fa4b590 Fixed deprecated calls for template variables 2017-04-05 11:39:13 +02:00
squidfunk
85d0a82706 Adjusted module name for import 2017-04-04 17:46:12 +02:00
squidfunk
ecc04128f1 Fixed non-synchronized transitions on search form 2017-04-01 22:45:47 +02:00
squidfunk
758f07cadc Fixed incorrectly set site url, if given 2017-03-30 22:37:39 +02:00
squidfunk
92d77fd896 Fixed rendering and offset for targetted footnote 2017-03-26 16:33:48 +02:00
squidfunk
9d066f5f78 Changed keyboard event handlers to key codes for compatibility 2017-03-24 20:02:27 +01:00
squidfunk
de54e6e800 Fixed error when search term contained parentheses 2017-03-24 20:02:27 +01:00
squidfunk
c732082a1c Reset meta text to placeholder if input is cleared 2017-03-24 20:02:27 +01:00
squidfunk
931465af9f Added keyboard events to search modal 2017-03-24 20:02:27 +01:00
squidfunk
544b1243aa Added prototypical arrow up/down result selection 2017-03-24 20:02:27 +01:00
squidfunk
89fff8a6ab Improve search performance 2017-03-24 20:02:27 +01:00
squidfunk
50efda702a Focus search after reset 2017-03-24 20:02:27 +01:00
squidfunk
a2ff177885 Added reset button for search 2017-03-24 20:02:27 +01:00
squidfunk
c293fcfb42 Fixed invalid destructuring attempt on NodeList 2017-03-16 17:43:41 +01:00
squidfunk
d77d900479 Truncate search result text for performance reasons 2017-03-16 16:40:55 +01:00
squidfunk
675a75e000 Normalize placeholder names for search results 2017-03-16 16:12:53 +01:00
squidfunk
c4c7beaefa Fixed case where table of contents icon is missing on mobile navigation 2017-03-16 16:12:53 +01:00
squidfunk
536554c18b Added support for search localization 2017-03-16 12:11:00 +01:00
squidfunk
1440c62e57 Adjusted mobile styles for search results 2017-03-14 18:30:33 +01:00
squidfunk
ba3565625d Added page grouping for search results 2017-03-12 17:58:34 +01:00
squidfunk
f72a88721e Merge branch 'master' into refactor/search-results 2017-03-11 19:52:46 +01:00
squidfunk
e00d5fb98a Slightly better distinguishable footnotes 2017-03-11 18:40:44 +01:00
squidfunk
19fb287cef Implemented source file linkage through metadata 2017-03-11 14:42:55 +01:00
squidfunk
d12f17e520 Reduced repaints for header and sidebars 2017-03-11 14:42:55 +01:00
squidfunk
0fa899fe0b Changed sidebar position to absolute to fix repaints with buttons 2017-03-11 14:42:55 +01:00
squidfunk
25b366ce7f Prototype fixing sidebar re-positioning 2017-03-11 14:42:55 +01:00
squidfunk
12e12135c1 Move button into content block 2017-03-11 14:42:55 +01:00
squidfunk
a911dd31b3 Added source file links, have to fix repaints 2017-03-11 14:42:55 +01:00
squidfunk
bbc48e75bf Fixed missing link in tabs navigation on deeply nested items 2017-03-02 16:02:32 +01:00
squidfunk
009b41cdb1 Added quote/cite styles for admonition 2017-02-26 19:55:53 +01:00
squidfunk
253d805352 Fixed navigation link colors when applying palette 2017-02-26 18:14:40 +01:00
squidfunk
fc4a466346 Fixed incorrectly displayed nested lists 2017-02-26 17:12:26 +01:00
squidfunk
842146183d Deactivate tabs by default 2017-02-26 15:30:48 +01:00
squidfunk
d52f605200 Refactored and cleaned up partials 2017-02-26 15:06:50 +01:00
squidfunk
eb6aedf5cc Added palette colors for tabs 2017-02-26 14:15:21 +01:00
squidfunk
0eee81b048 Added support for tabs 2017-02-26 13:59:54 +01:00
squidfunk
09d579b516 Fixed Gulp build pipeline 2017-02-26 11:55:47 +01:00
squidfunk
2c3ca5aeb4 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-26 11:04:12 +01:00
squidfunk
c6e5159cc6 Merge branch 'master' into chore/flow-type-checking 2017-02-25 17:18:44 +01:00
squidfunk
22a2f084a1 Integrated static type-checking via JSDoc and Flow 2017-02-25 17:13:50 +01:00
squidfunk
672a39b697 Fixed issues with JSX.createElement definitions 2017-02-25 14:49:49 +01:00
squidfunk
8f48f0bce6 Fixed inconsistencies in table-styling 2017-02-25 11:36:10 +01:00
squidfunk
de3bd8d665 Added disqus integration 2017-02-24 22:58:30 +01:00
squidfunk
7908140dc5 Fixed flow in build process 2017-02-20 23:26:51 +01:00
squidfunk
07e2eb4f85 Tried to rework type safety 2017-02-19 23:33:52 +01:00
squidfunk
af4db15a27 Play with flow type checker 2017-02-19 17:19:30 +01:00
squidfunk
3e50c3394a Added support for definition lists 2017-02-19 16:20:39 +01:00
squidfunk
dccfcb8732 Fixed overflowing sidebar and footer scrolling bug 2017-02-18 14:08:00 +01:00
squidfunk
5e5b680fa0 Added final tests for navigation 2017-02-12 18:31:05 +01:00
squidfunk
31836391e1 Added further tests for navigation 2017-02-12 16:53:04 +01:00
squidfunk
6a68347a87 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-11 23:02:12 +01:00
squidfunk
80fe7e010d Migrate build pipeline to Webpack 2 2017-02-11 16:26:23 +01:00
squidfunk
885053bfbd Removed webfonts for visual tests 2017-02-10 16:43:32 +01:00
squidfunk
07329f4304 Merge branch 'master' into chore/setup-gemini-test-environment 2017-02-08 23:30:46 +01:00
squidfunk
f40585f528 Fixed Jinja error for raw HTML header tags 2017-02-08 23:17:37 +01:00
squidfunk
8a7d9001fd Added tests for navigation and improved test generation logic 2017-02-01 23:56:57 +01:00
squidfunk
0eb24a04ae Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-28 17:57:37 +01:00
squidfunk
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
79f277c8fe Activate root tab when there'e an active page on the root level 2017-01-27 23:54:52 +01:00
squidfunk
9a36dd67b2 Remove headerlink on top-level headline again 2017-01-27 23:37:24 +01:00
squidfunk
82a98ae9d3 Reduce repaints on scroll with new tabs 2017-01-27 23:21:41 +01:00
squidfunk
c994ce1dd9 Fixed a bug with breakpoints and sidebar height 2017-01-27 23:09:31 +01:00
squidfunk
4c4edff9cb Cleaned up and refactored tabs implementation 2017-01-27 22:41:55 +01:00
squidfunk
53e1977c65 Only directly show shadow on header, in case JS is not available 2017-01-26 23:20:38 +01:00
squidfunk
33616c7deb Merge branch 'master' into refactor/sidebar-height-spacing 2017-01-26 23:08:31 +01:00
squidfunk
25e1960511 Added dynamic box shadow on header 2017-01-26 22:58:24 +01:00
squidfunk
758ae36c92 Fixed offsets of targetted headlines 2017-01-26 22:39:42 +01:00
squidfunk
e9af74f3df Merge branch 'master' of github.com:squidfunk/mkdocs-material into refactor/sidebar-height-spacing 2017-01-26 21:33:49 +01:00
squidfunk
c3231f1a9e Increased sidebar font size 2017-01-26 21:30:19 +01:00
squidfunk
fc71fd4c71 Added style for tabs 2017-01-26 21:18:31 +01:00
squidfunk
71b300aaa1 Added possibility to add tabs 2017-01-26 21:10:52 +01:00
squidfunk
2c3ae17131 Refactored sidebar/container spacing for arbitrary height elements above content 2017-01-26 14:20:40 +01:00
squidfunk
8b28c1f5a1 Proof-of-concept search highlighting 2017-01-25 00:43:01 +01:00
squidfunk
f474f63d6b Merge master into HEAD 2017-01-24 23:29:22 +01:00
squidfunk
aa8b3a6cf7 Added string pre-processing step to indexing 2017-01-24 23:25:49 +01:00
squidfunk
b04c3d1354 Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-22 14:10:43 +01:00
squidfunk
b09e334f3f Fix requirement for Math.sign 2017-01-22 13:59:23 +01:00
squidfunk
32ffc58d12 Track scroll direction to reset index cache 2017-01-22 13:05:12 +01:00
squidfunk
21f2617c9c Remove ... on hooks 2017-01-18 23:26:22 +01:00
squidfunk
203087bcb1 Initial setup of Gemini and first testcases 2017-01-18 23:23:45 +01:00
squidfunk
680725ed3a Revert last PR - still some problems to tackle 2017-01-16 00:35:00 +01:00
squidfunk
61533af0ef No more need for csscalc and container height adjustment logic 2017-01-16 00:18:21 +01:00
squidfunk
460164b560 Scrollwrap must be stretched to full height for mobile 2017-01-15 15:14:08 +01:00
squidfunk
ceea88e066 Only set shadow on search results when active 2017-01-15 15:00:38 +01:00
squidfunk
ed1ae7226a Further reduction of repaints by refactoring sidebar 2017-01-15 14:57:06 +01:00
squidfunk
823b24aa9c Setting overflow to hidden removes appearing scrollbar 2017-01-14 22:55:58 +01:00
squidfunk
e0855d4002 Remove float on inner content area 2017-01-14 22:40:55 +01:00
squidfunk
c55cf5cba9 Hide logo on mobile 2017-01-14 20:13:10 +01:00
squidfunk
180da60770 Set overflow property to auto 2017-01-14 19:48:00 +01:00
squidfunk
7178bb4180 Fixed footer back reference positions 2017-01-14 18:42:07 +01:00
squidfunk
4086c2c973 Fixed massive repaints when scrolling 2017-01-13 13:02:28 +01:00
squidfunk
364309d47a Restructured partials 2017-01-13 00:31:37 +01:00
squidfunk
f850641437 Fixed IE bug leading to non-expanding navigation 2017-01-13 00:09:16 +01:00
squidfunk
1a32e9b7e3 Remove icon ligatures from HTML to fix search indexing 2017-01-11 23:49:36 +01:00
squidfunk
2dbf60affd Don't break links inside tables 2017-01-10 00:19:51 +01:00
squidfunk
cecd1f1d7c Drop 'with' in templates to be compatible with Jinja < 2.9 2017-01-10 00:15:44 +01:00
squidfunk
6033519d15 Added max-width for iframe and svg 2017-01-10 00:02:37 +01:00
squidfunk
bfca02762d Fix target offset for footnotes 2017-01-09 23:43:11 +01:00
squidfunk
7a6db53801 Set SVGs to inherit fill color for easier styling 2017-01-09 22:51:18 +01:00
squidfunk
fcbe7f6384 Improved contrast for code blocks 2017-01-09 22:46:19 +01:00
squidfunk
7fd950872c Replace GitHubEmoji with Emoji 2017-01-09 22:25:15 +01:00
squidfunk
cb9a563a78 Add access key attribute to search input 2017-01-09 22:13:13 +01:00
squidfunk
3568043dea Added block styles for critic extension 2017-01-09 22:10:09 +01:00
squidfunk
82b8c71059 Removed automatic MathJax inclusion 2017-01-09 21:41:30 +01:00
squidfunk
6d01f17193 Fix icons and build due to jinja changes 2017-01-08 18:27:01 +01:00
squidfunk
03604c5e27 Added some inline documentation fixes 2017-01-07 20:23:04 +01:00
squidfunk
ebff8b795b Fix widths for media queries in JavaScript 2017-01-07 18:02:21 +01:00
squidfunk
d53945a89a Fix search bar offset when there's no repository information 2017-01-06 19:31:56 +01:00
squidfunk
60624bfa82 Localize edit button and hide on print 2017-01-06 19:18:17 +01:00
squidfunk
f37bb76d18 Update copyright 2017-01-06 19:11:18 +01:00
squidfunk
fde28c3f47 Put repo block definition in source.html 2017-01-06 19:08:09 +01:00
squidfunk
56207162fe Adjust maximum grid width so 80 char code fits without overflow 2017-01-06 19:04:52 +01:00
squidfunk
41121cf582 Keep colors when printing 2017-01-06 18:57:43 +01:00
squidfunk
4d4e869f02 Add titles to links in footer 2017-01-06 18:52:12 +01:00
squidfunk
42d6525c50 Bring back i18n 2017-01-06 18:48:32 +01:00
squidfunk
b273c429d9 Fixed basic authentication for search index retrieval 2017-01-06 18:19:15 +01:00
squidfunk
33c183754c Added iOS overflow scrolling to MathJax integration 2017-01-05 08:37:54 +01:00
squidfunk
45208dea73 Fixed: admonition codes did not match those of RTD theme 2017-01-05 08:31:58 +01:00
squidfunk
01054414c8 Fixed #79: Modularized social links integration 2017-01-04 20:16:12 +01:00
squidfunk
0198e5e98e Fixes #84: Icon overlaps text in mobile menu 2017-01-04 19:47:41 +01:00
squidfunk
ddd7e33581 Correct text alignment in tables 2017-01-03 22:22:30 +01:00
squidfunk
9617716652 Fix broken selectors for numeric anchors 2017-01-03 22:12:49 +01:00
squidfunk
b22e571f31 Fixes #77: Replace linebreak in footer with CSS solution 2017-01-03 20:57:59 +01:00