Commit Graph

1618 Commits

Author SHA1 Message Date
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
squidfunk
4bdfef47eb Added support for setting table of contents title via mkdocs.yml 2021-10-27 19:01:47 +02:00
squidfunk
eeb43a514e Fixed Stylelint errors 2021-10-22 22:13:24 +02:00
squidfunk
155f82f934 Added Manticore Games to the list of premium sponsors 2021-10-19 14:55:50 +02:00
squidfunk
53be9f3ec5 Fixed some spacings issues for right-to-left languages 2021-10-17 12:31:15 +02:00
squidfunk
f073fb2c25 Fixed spacing issues when using toc.integrate in non-nested tabs 2021-10-17 11:43:07 +02:00
squidfunk
b86281be2e Fixed search initialization (7.3.2 regression) 2021-10-11 18:17:36 +02:00
squidfunk
de98c57753 Adjusted height of content tabs to match single line code blocks 2021-10-11 16:17:14 +02:00
squidfunk
b65586359b Fixed right padding on some browser for overflowing content tabs 2021-10-11 16:03:23 +02:00
squidfunk
969c713567 Fixed overflow for alternate style when more than 10 tabs are present 2021-10-11 14:33:28 +02:00
squidfunk
6fab1e3654 Fixed buggy content tabs overflow scrolling + updated documentation 2021-10-11 14:14:04 +02:00
squidfunk
7f38cfeb0f Fixed scrolling of alternate tabs implementation 2021-10-11 10:32:24 +02:00
squidfunk
03ff04b339 Fixed content tabs stealing keyboard access to search 2021-10-10 23:13:40 +02:00
squidfunk
6af95f942d Updated documentation 2021-10-10 22:32:32 +02:00
squidfunk
1809b6c013 Fixed incorrect spacing for right-to-left languages 2021-10-10 16:04:43 +02:00
squidfunk
e425b99362 Finished rewrite of reference documentation 2021-10-10 13:17:39 +02:00
squidfunk
02b009dcaf Merge branch 'master' into docs/restructure-docs 2021-10-10 09:44:26 +02:00
squidfunk
8779d78a13 Fixed race condition ehen displaying search result metadata 2021-10-06 14:57:27 +02:00
squidfunk
0436c9937b Updated documentation 2021-10-04 23:36:31 +02:00
squidfunk
e7c799f95d Fixed top margin of navigation when using navigation.tabs (7.3.1 regression) 2021-10-03 11:33:32 +02:00
squidfunk
88ed40101c Improved graceful handling of broken search when browsing locally 2021-10-03 09:15:43 +02:00
squidfunk
149b0dbc47 Fixed rendering of section index pages with no other pages 2021-10-02 16:51:47 +02:00
squidfunk
eaa6e91884 Re-use Disqus configuration 2021-10-02 13:51:54 +02:00
squidfunk
e71b129433 Fixed Disqus integration with instant loading 2021-10-02 13:48:23 +02:00
squidfunk
2d3354bd0e Fixed some spacing issues for right-to-left languages 2021-10-02 11:51:12 +02:00
squidfunk
12666a3c00 Fixed incompatibility between navigation.sections and navigation.indexes 2021-10-02 11:41:32 +02:00
squidfunk
ef0979f950 Fixed broken GitHub stats for organizations (7.1.0 regression) 2021-10-01 11:03:49 +02:00
squidfunk
32ab26a664 Fixed Serbian translations 2021-09-30 20:36:56 +02:00
squidfunk
8bbe06a998 Fixed author component in blog 2021-09-26 20:34:05 +02:00
squidfunk
270abe1f4c Fixed linter errors 2021-09-26 12:20:25 +02:00
squidfunk
eabbf069cd Refactored temporary tabbed code into separate component 2021-09-26 12:18:34 +02:00