Commit Graph

1648 Commits

Author SHA1 Message Date
squidfunk
4f641cc0ee Added missing font variants to load from Google Fonts 2022-02-21 20:34:20 +01:00
squidfunk
845b843781 Fixed module 'material.plugins' not being found 2022-02-17 17:34:56 +01:00
squidfunk
b5e71dfcb1 Merge of Insiders features tied to 'Aji Panca' funding goal 2022-02-17 17:20:36 +01:00
squidfunk
275465230e Added Portuguese (Brasilian) translations 2022-02-10 21:55:45 +01:00
squidfunk
93a55412ad Fixed theme toggle and search overlaying version selector 2022-02-08 09:19:08 +01:00
squidfunk
5462bf5b0c Fixed cutoff long logos in sidebar 2022-02-03 10:22:59 +01:00
squidfunk
a021c746f5 Fixed Latvian translations 2022-01-25 18:02:29 +01:00
squidfunk
219dd3d047 Fixed Latvian translations 2022-01-25 16:48:42 +01:00
squidfunk
e13de2a852 Fixed linter errors 2022-01-24 09:27:27 +01:00
squidfunk
e6bcb8100f Updated Giscus example to support theme change without reload 2022-01-23 12:33:35 +01:00
squidfunk
6816aa8cd0 Added Latvian translations 2022-01-23 12:17:44 +01:00
squidfunk
e9211d9088 Fixed aspect ratio of logo in header and drawer 2022-01-23 12:12:17 +01:00
squidfunk
76d73b249f Fixed back-top-top button not disappearing when using sticky navigation tabs 2022-01-21 18:56:43 +01:00
squidfunk
840a00a6f6 Improved discoverability of icons in the documentation 2022-01-16 17:27:14 +01:00
squidfunk
014ab602cb Improved back-to-top button behavior on anchor jump 2022-01-16 16:09:51 +01:00
squidfunk
749c19c4bc Fixed endless redirect in palette change example 2022-01-16 12:34:51 +01:00
squidfunk
29cc1dddfa Documentation 2022-01-16 11:26:29 +01:00
squidfunk
9511569d05 Added dark mode support for Giscus 2022-01-16 11:16:07 +01:00
squidfunk
18455b3db9 Switched to giscus for comments and added blog template 2022-01-16 10:50:53 +01:00
squidfunk
bcf2f78394 Fixed blockquote spacing (8.1.5 regression) 2022-01-10 19:11:38 +01:00
squidfunk
73331ee78c Fixed edge cases for rounded borders on code blocks 2022-01-10 17:34:59 +01:00
squidfunk
aa3440215a Fixed overflow/clearfix issues for code result blocks 2022-01-10 14:45:04 +01:00
squidfunk
50408bf984 Added new code block styles to reference documentation 2022-01-10 14:31:58 +01:00
squidfunk
9655c3a924 Updated dependencies and bumped copyright year 2022-01-10 09:59:00 +01:00
squidfunk
97c920a1c5 Fixed issues with code annotation line height 2022-01-09 15:37:43 +01:00
squidfunk
e063108ea4 Fixed scrollbars on MathJax formulas 2022-01-09 14:47:10 +01:00
squidfunk
cffb403435 Added Bahasa Malaysian translations 2022-01-09 14:20:09 +01:00
squidfunk
db4648fb0b Fixed remaining issues and added docs for browser support 2022-01-09 13:51:37 +01:00
squidfunk
ea02f33286 Merge branch 'master' into refactor/compatibility 2022-01-09 11:31:50 +01:00
squidfunk
db3ba10979 Improved graceful handling of missing code annotations 2022-01-08 10:54:53 +01:00
squidfunk
51ac73a56e Revert "Added support for search highlighting fading"
This reverts commit 07f7366875.
2022-01-08 08:56:48 +01:00
squidfunk
07f7366875 Added support for search highlighting fading 2022-01-08 08:56:06 +01:00
squidfunk
638d01905f Fixed search and details for Safari 10+ 2022-01-06 21:33:38 +01:00
squidfunk
3ded01c281 Fixed linter errors 2022-01-06 20:59:40 +01:00
squidfunk
0bd5ff2741 Added polyfills for unfetch, URL, Object.entries and Element.scrollTo 2022-01-06 20:57:06 +01:00
squidfunk
0a25f757f4 Replaced use of flat() and max() math function for compatibility 2022-01-06 20:26:34 +01:00
squidfunk
c45265d860 Polyfilled :is() and added back resize observer polyfill 2022-01-06 20:10:41 +01:00
squidfunk
7d8165cda6 Improved support for reduced motion media 2021-12-30 12:04:44 +01:00
squidfunk
ac0a5391bb Fixed jitter of active content tab indicator 2021-12-19 18:13:00 +01:00
squidfunk
634f863a69 Added visual indicator to active navigation expander icon 2021-12-19 14:41:39 +01:00
squidfunk
a7ab13fe98 Fixed linter errors 2021-12-19 13:44:15 +01:00
squidfunk
be0a36d1b0 Fixed highlighted lines adding blank lines when copying 2021-12-19 13:40:16 +01:00
squidfunk
368cad0955 Documentation 2021-12-19 13:24:09 +01:00
squidfunk
1f725cb388 Simplified reduced motion implementation for content tabs 2021-12-19 11:54:27 +01:00
squidfunk
f3926bf444 Fixed filtering of subsequent index.md files when using section index pages 2021-12-19 11:12:30 +01:00
squidfunk
a32760bdee Fixed tab indicator animation for right-to-left languages 2021-12-19 11:00:31 +01:00
squidfunk
4b2a97a51d Added animation to content tabs 2021-12-18 00:36:45 +01:00
squidfunk
8787449ddd Switched :where back to :is 2021-12-16 20:14:31 +01:00
squidfunk
be24342a70 Fixed spacing for admonitions inside lists (8.1.1 regression) 2021-12-15 09:46:03 +01:00
squidfunk
bfe7540d2a Switched to logical CSS properties 2021-12-13 19:10:58 +01:00
squidfunk
1453e946fb Fixed direction for code annotations in right-to-left languages 2021-12-13 17:17:00 +01:00
squidfunk
539ddad271 Fixed filtered stopwords appearing as missing terms 2021-12-13 17:04:34 +01:00
squidfunk
dea3ad86ce Replaced selector list in :not() with two compound selectors (FF 78 regression) 2021-12-13 17:00:38 +01:00
squidfunk
5340f63f69 Fixed footer breaking out of container when titles are too long 2021-12-12 18:26:53 +01:00
squidfunk
c96ff2278e Fixed shrinking arrow in navigation when title is too long 2021-12-12 12:35:32 +01:00
squidfunk
687466d7ba Fixed copy-to-clipboard adding blank lines when using line anchors (8.1.0 regression) 2021-12-12 12:04:20 +01:00
squidfunk
d7155fc523 Fixed header title positioning for right-to-left languages 2021-12-12 11:43:59 +01:00
squidfunk
575dcd738a Fixed admonition borders for right-to-left languages (8.0.0 regression) 2021-12-11 16:39:09 +01:00
squidfunk
fea3e00ffd Fixed position for next footer navigation link (8.0.0 regression) 2021-12-11 15:55:57 +01:00
squidfunk
e3fba7ac7d Added support for #only-light and #only-dark image hash fragments 2021-12-11 15:22:13 +01:00
squidfunk
bcb7adecfd Replaced :is() with :where() to mitigate specificity issues 2021-12-10 17:14:08 +01:00
squidfunk
d447324816 Honor prefers-reduced-motion for + sign animation 2021-12-09 22:32:15 +01:00
squidfunk
1ddf8723b0 Switched annotation markers to + signs in non-print contexts 2021-12-09 21:31:12 +01:00
squidfunk
16939c16ae Added basic support for line anchors 2021-12-08 21:53:52 +01:00
squidfunk
3c4c8dce9c Improved admonition icon positions reacting to font size 2021-12-08 19:08:04 +01:00
squidfunk
7dcc0a1e3a Simplified footnote CSS 2021-12-08 18:08:41 +01:00
squidfunk
1316d8d184 Simplified tooltip positioning 2021-12-07 15:35:52 +01:00
squidfunk
350aee371d Adjusted font weight of drawer title 2021-12-07 13:50:25 +01:00
squidfunk
e486bbe1a2 Adjusted font weight of site title 2021-12-07 13:44:55 +01:00
arterm-sedov
f851cb1603
Fixed syntax error in Russian translations (#3319)
Comma was missing before the last item
This caused a crash during the documentation build
File "..\Python\Python310\lib\site-packages\material\partials\languages\ru.html", line 36, in template jinja2.exceptions.TemplateSyntaxError: expected token ':', got ','
2021-12-07 13:20:35 +01:00
squidfunk
accfc4ff87 Fixed open details always closed on initial load 2021-12-06 23:22:02 +01:00
squidfunk
4be2ab283c Documentation 2021-12-05 19:03:42 +01:00
squidfunk
37e6f430f9 Fixed ellipsis in footer due to potential WebKit rendering bug 2021-12-05 19:02:26 +01:00
squidfunk
21b7bc4999 Omit unnecessary recomputations for annotations 2021-12-05 17:51:40 +01:00
squidfunk
cb57ce986e Restructured templates 2021-12-05 16:42:58 +01:00
squidfunk
f14d73931f Simplified content tabs implementation 2021-12-05 16:33:44 +01:00
squidfunk
bac1301710 Restructured content observables 2021-12-05 16:20:50 +01:00
squidfunk
0abade5308 Added distribution files 2021-12-05 12:27:21 +01:00
squidfunk
ba7a227800 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-12-05 11:38:27 +01:00
squidfunk
632eff2e19 Fixed base path in storage helpers not updated for instant loading 2021-12-05 11:37:21 +01:00
arterm-sedov
9c6dfc464d
Updated Russian translations (#3298)
* added the missing Russian strings

As suggested last week by @squidfunk, added the missing Russian strings

Also fixed:
1. search.result.other string per Russian grammar plural rules, reference:
https://developer.mozilla.org.cach3.com/en/Localization_and_Plurals#Plural_rule_.237_.283_forms.29

2. source.file.date.created which was mistranslated as an adjective rather than a

Apart of that I'd suggest to change   "toc.title": "Содержание" to "toc.title": "Содержание раздела" (as Содержание in Russian refers to a complete documentation set contents)

* updated "toc.title" to "Содержание раздела"

updated "toc.title" to "Содержание раздела", previous "Содержание" version referred to a complete documentation table of contents (rather than a section/page contents)
2021-12-05 08:47:49 +01:00
squidfunk
6c9ffe0bda Refactored footer to use flex positioning 2021-12-04 14:21:53 +01:00
squidfunk
183db0937c Refactored tooltip origin computation 2021-12-04 14:07:56 +01:00
squidfunk
8da3c9ad85 Restructured viewport helpers 2021-12-04 12:49:43 +01:00
squidfunk
67f7301e0a Fixed print rendering of nested code annotations 2021-12-04 12:33:58 +01:00
squidfunk
732565b3af Removed unnecessary deferrals to animation frames 2021-12-04 11:53:07 +01:00
squidfunk
87df85def8 Fixed lists after code blocks disappearing without annotations 2021-12-04 11:43:33 +01:00
squidfunk
fb751c108c Improved rendering of code annotations + keep focus for clipboard button 2021-12-04 11:33:21 +01:00
squidfunk
ebcd000fdc Fixed anchor navigation when using instant loading 2021-12-02 18:52:00 +01:00
squidfunk
0b22e78832 Fixed default details marker showing due to Safari bug 2021-12-02 15:02:32 +01:00
squidfunk
cc04ddead0 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-12-01 20:16:33 +01:00
squidfunk
f8a19dc06b Fixed back-to-top button position for sticky navigation tabs 2021-12-01 20:16:26 +01:00
Neil Hanlon
ae6bdb4278
Fixed Swedish and Polish translations (#3279) 2021-11-30 22:57:46 +01:00
squidfunk
f9044530e6 Removed deprecated google_analytics setting 2021-11-30 19:14:18 +01:00
squidfunk
194a08e0fe Fixed code annotations always closing on click 2021-11-30 15:57:21 +01:00
squidfunk
0dd26b9eb3 Fixed wrong box-sizing on nested admonitions 2021-11-28 22:40:23 +01:00
squidfunk
8fa834f73c Fixed specificity issue with admonitions in lists 2021-11-28 22:23:08 +01:00
squidfunk
674df04f8a Improved rendering of code annotation markers 2021-11-28 18:32:25 +01:00
squidfunk
fbbafc2455 Formatting 2021-11-28 17:48:38 +01:00
squidfunk
14a89bc9ea Fixed eager anchor tracking through debouncing 2021-11-28 17:09:55 +01:00
squidfunk
44b8272dc9 Merge branch 'master' into feature/insiders-ghost-pepper 2021-11-28 14:58:25 +01:00
squidfunk
c30c3d196e Fixed observable completion semantics 2021-11-28 14:54:14 +01:00
squidfunk
abe475e151 Refactored code annotations 2021-11-28 13:01:27 +01:00
squidfunk
f6503920b1 Renamed _variables.scss back into _colors.scss 2021-11-28 10:30:36 +01:00
squidfunk
7558c56c49 Modernized scroll offset solution 2021-11-28 10:21:48 +01:00
squidfunk
1bd7f9d665 Fixed minor z-index issues for code annotations 2021-11-21 23:35:41 +01:00
squidfunk
e44034d456 Cleaned up toc partial 2021-11-21 23:26:11 +01:00
squidfunk
0ceed63825 Cleaned up SCSS codebase 2021-11-21 23:19:42 +01:00
squidfunk
9e7b48a21f Centralized box-shadow definitions 2021-11-21 22:50:55 +01:00
squidfunk
15f74d81fd Fixed empty search highlighting breaking site 2021-11-21 20:08:09 +01:00
squidfunk
db1c069e52 Fixed code annotations and updated dependencies 2021-11-21 20:03:26 +01:00
squidfunk
fa9f906c2b Refactored CSS, code annotations almost working properly 2021-11-21 17:45:49 +01:00
Jason Ren
77171e02a4
Updated Chinese translations (#3231)
* Update zh.html

Fix missing Chinese translations (for mkdocs-material v8)

* Update zh.html

Finished translation of "search.result.term.missing"

* Update zh.html
2021-11-20 09:14:56 +01:00
Martin B
02890ec48a
Updated Swedish translations (#3227)
Updated Swedish translations.
2021-11-20 09:14:42 +01:00
Andrea Borruso
d51279ae72
Updated Italian translations (#3224)
* added back to top Italian localization

* added all missing items

* Update it.html

* same order as in the en.html

* Update it.html
2021-11-15 08:24:08 +01:00
squidfunk
88ba609ee1 Refactored project structure 2021-11-14 16:09:09 +01:00
squidfunk
ad1b964aaa Improved footnote accessibility and removed unnecessary code annotation CSS 2021-11-14 09:32:02 +01:00
squidfunk
417ab30c65 Fixed dedented code blocks in annotations 2021-11-14 09:04:50 +01:00
squidfunk
1d6d8198ab Fixed code blocks with line numbers not being rounded (8.0.0b1 regression) 2021-11-14 08:47:16 +01:00
squidfunk
b4e0467878 Reverted page partials into a single one due to better performance 2021-11-14 08:22:57 +01:00
squidfunk
d55df26df4 Fixed wrong palette color for inactive code annotations 2021-11-13 15:28:26 +01:00
squidfunk
bda6e156ed Fixed wrong palette color for inactive code annotations 2021-11-13 15:18:08 +01:00
squidfunk
0a6ade980f Removed legacy Tabbed implementation 2021-11-13 14:15:20 +01:00
squidfunk
796cb583b7 Documentation 2021-11-13 13:52:11 +01:00
squidfunk
4d2102c3b8 Removed unnecessary redundant imports 2021-11-13 13:50:46 +01:00
squidfunk
d9b7928316 Fixed page header partial 2021-11-13 13:43:52 +01:00
squidfunk
fe06e8dcba Moved copyright into dedicated partial 2021-11-13 13:41:07 +01:00
squidfunk
7f4458eb18 Removed Disqus integration 2021-11-13 13:15:58 +01:00
squidfunk
d5593e34a5 Removed block syntax from partial 2021-11-13 13:11:19 +01:00
squidfunk
6db782a64c Improved extensibility by restructuring template blocks 2021-11-13 13:08:22 +01:00
squidfunk
76035dee40 Switched to new RxJS API 2021-11-13 12:05:24 +01:00
squidfunk
9ef21503ca Fixed linter errors 2021-11-13 11:41:45 +01:00
squidfunk
887b7115fc Merge of Insiders features tied to 'Ghost Pepper' funding goal 2021-11-13 11:39:10 +01:00
squidfunk
41785f1c57 Improved CSS font-family variables 2021-11-13 09:19:48 +01:00
squidfunk
a0ea9632da Removed deprecated prebuilt index support 2021-11-13 09:09:25 +01:00
squidfunk
8eca83d8bf Removed deprecated web app manifest and md-announce class 2021-11-13 09:05:23 +01:00
squidfunk
adcdb2aa52 Removed deprecated instant loading selector for logo 2021-11-13 09:04:12 +01:00
squidfunk
0d72009312 Merge branch 'master' into feature/insiders-ghost-pepper 2021-11-13 08:57:00 +01:00
Alkis Georgopoulos
26d1e437f7
Updated Greek translation (#3191)
* Update Greek translation

* Fix Search for Greek content

* Avoid trimmer but not stopWordFilter
2021-11-13 08:52:23 +01:00
squidfunk
0130bcbca2 Deleted deprecated source-date.html partial 2021-11-13 08:47:33 +01:00
squidfunk
5606b06153 Updated documentation 2021-11-07 18:23:01 +01:00
squidfunk
ce602ddf2a Updated documentation 2021-11-07 12:35:21 +01:00
squidfunk
fb64efa5ef Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-11-04 20:59:17 +01:00
squidfunk
f3c27fdaf9 Added backward compat for Greek translations 2021-11-04 20:59:09 +01:00
Garrett
07bea1e36e
Added support for site search tracking with GA4 (#3184)
* Send search analytics events for GA4

* move docs into content tabs
2021-11-04 20:58:03 +01:00
Alkis Georgopoulos
c15a9d183b
Fixed invalid ISO language code for Greek (#3183) 2021-11-04 20:50:48 +01:00
squidfunk
b5098041cb Adjusted height of title to match height of single-line code block 2021-11-04 10:08:13 +01:00
squidfunk
6ceef24179 Added support for code block titles 2021-10-30 13:16:05 +02:00
squidfunk
403580bff8 Fixed back-to-top button position for right-to-left languages 2021-10-27 22:36:09 +02:00
squidfunk
25c91b967a Formatting 2021-10-27 19:03:48 +02:00