Commit Graph

1688 Commits

Author SHA1 Message Date
squidfunk
1eeb8b7c0c Simplified code block mounting 2022-04-30 18:07:55 +02:00
squidfunk
bdb5ba5a3d Fixed issues with rounded borders on code blocks in some cases 2022-04-30 17:42:27 +02:00
Isaac Muse
f7be5c75bb
Fixed issues related to latest Pygments and Pymdown Extensions (#3862) 2022-04-30 16:50:18 +02:00
Michael Brewer
d8d734d306
Added support for GitHub-style hash fragments for dark/light images (#3857)
* feat(images): github dark mode images

closes #3856

* refactor: conbine styles
2022-04-29 19:05:19 +02:00
squidfunk
a8cb5d0abb Documentation 2022-04-27 15:05:12 +02:00
squidfunk
6a811bbc6a Improved rendering of code annotation markers 2022-04-25 09:59:04 +02:00
squidfunk
24025f425f Fixed colors of arrows in class an state diagrams for dark mode 2022-04-24 13:27:47 +02:00
squidfunk
41517023cd Fixed code block titles overlaying inline admonitions 2022-04-24 13:05:05 +02:00
squidfunk
e77aa0015a Added Macedonian translations 2022-04-24 12:38:52 +02:00
squidfunk
cc0f7a914a Fixed incorrectly computed header height when using instant loading 2022-04-07 22:20:32 +02:00
squidfunk
d926bb4c27 Added button to view source of every page 2022-04-07 19:18:50 +02:00
squidfunk
8264e338fb Always render table of contents container (except when hidden) 2022-04-06 09:25:34 +02:00
squidfunk
0f7e9fad0b Fixed bleeding admonitions in Firefox 2022-04-04 17:49:32 +02:00
squidfunk
92dc0375dc Replaced deprecated RxJS operators 2022-04-02 18:36:59 +02:00
squidfunk
f4f9c21d32 Fixed search suggestions not triggered on query parameter 2022-04-02 17:19:28 +02:00
squidfunk
d4c80075e8 Mitigate flicker on color palette switch by disabling all transitions 2022-04-01 17:18:24 +02:00
squidfunk
041e95b505 Mitigate flicker on code blocks when switching color scheme 2022-04-01 16:57:26 +02:00
squidfunk
c5a06c1d82 Fixed bleeding admonitions in Firefox 2022-03-30 17:57:00 +02:00
squidfunk
26f2778f56 Removed prefix from animation 2022-03-27 16:49:19 +02:00
squidfunk
6b91c8dc10 Added background color to code blocks in hovered links 2022-03-26 16:37:57 +01:00
squidfunk
71dd84a0e9 Improved styling of code annotations and fixed borders of code blocks in tabs 2022-03-26 16:08:40 +01:00
squidfunk
c7cc8f07ab Formatting 2022-03-26 14:15:19 +01:00
squidfunk
dfba03f15e Raise error in tags plugin when tags file does not exist 2022-03-26 14:14:00 +01:00
squidfunk
6976b9fd31 Fixed tab indicator on wrong position when using back button 2022-03-26 09:03:06 +01:00
squidfunk
88cfda4288 Fixed code annotations not being mounted for long code blocks (8.2.5 regression) 2022-03-22 18:33:35 +01:00
squidfunk
eab95da23f Fixed deprecation warnings for unescaped backslashes in Jinja templates 2022-03-22 18:16:17 +01:00
squidfunk
104c8c85e0 Fixed problems with empty comment nodes generated by Terraform lexer 2022-03-22 17:59:01 +01:00
squidfunk
366a5ea3a4 Improved semantics when returning from switchMap 2022-03-08 10:33:30 +01:00
squidfunk
1d1cf476c8 Improved semantics when returning from switchMap 2022-03-08 10:31:38 +01:00
squidfunk
e71891f497 Improved performance for very large pages 2022-03-06 13:52:57 +01:00
squidfunk
485f993d91 Fixed flowchart markers 2022-03-06 12:09:04 +01:00
Timothée Mazzucotelli
d023e49593
Fixed color of cluster labels in Mermaid flowcharts (#3657)
Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
2022-03-06 11:31:19 +01:00
squidfunk
cfa64745a2 Fixed Mermaid not mounted when headline with same name is present 2022-03-02 16:06:21 +01:00
squidfunk
bcc2c180cd Fixed invalid outdated version banner URL when using instant loading 2022-03-02 09:26:00 +01:00
iBug
1cc250625b
Fixed specificity issue with admonitions in lists (#3648)
* Remove :is from .md-typeset (ol, ul) li :is(p, blockquote)

Fixes #3644

* Fix SCSS style
2022-03-02 08:44:01 +01:00
squidfunk
64e5ed0ed7 Fixed malformed Google Fonts url when a font setting was omitted 2022-03-01 07:49:57 +01:00
squidfunk
a7aa552588 Fixed table of contents active element off-by-one on large screens 2022-02-27 09:41:52 +01:00
squidfunk
8deb1c2425 Fixed stealing of hash fragments when using navigation tracking 2022-02-26 10:27:12 +01:00
squidfunk
e3c26215de Added automatic removal of query parameter when search is closed 2022-02-26 10:07:32 +01:00
squidfunk
5acd0c3620 Improve resilience of tags plugin 2022-02-26 09:38:06 +01:00
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