1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 17:30:56 +01:00
Commit Graph

1948 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
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
squidfunk
7f9b64d44f Finished new Tabbed implementation 2021-09-26 11:54:50 +02:00
squidfunk
248bd4e02f Fixed linter errors 2021-09-26 11:32:48 +02:00
squidfunk
3aa55dc732 Merge branch 'master' into feature/scrollable-content-tabs 2021-09-26 11:29:17 +02:00
squidfunk
377b4d648f Merge of Insiders features tied to 'Caribbean Red' funding goal 2021-09-23 08:53:51 +02:00
squidfunk
2eabc94e5e Fixed search modal overlaying menu on mobile (7.2.7 regression) 2021-09-20 11:32:19 +02:00
Martin Donath
090d0edc59
Improved Serbian translations
Improve serbian translation (cyr and latin)
2021-09-19 16:25:10 +02:00
squidfunk
d678678cc4 Fixed scrollbar on mobile when header is hidden on some browsers 2021-09-19 16:13:29 +02:00
squidfunk
60a007844c Fixed invisible back-to-top button being focusable 2021-09-19 15:27:46 +02:00
squidfunk
3c352bd356 Improved appearance of details outline 2021-09-19 15:22:57 +02:00
squidfunk
726888cb56 Fixed details not opening on navigation (7.0.0 regression) 2021-09-19 15:08:27 +02:00
squidfunk
4a2af4ceaf Fixed missing admonition icons (removed in upstream) 2021-09-19 14:14:47 +02:00
squidfunk
e9572815c6 Added styles for new blog section 2021-09-13 16:15:08 +02:00
Miodrag Milić
a6296573e0 update serbian translation (redo) 2021-09-09 12:48:03 +02:00
Miodrag Milić
6ac1141ce8 update serbian translation 2021-09-09 12:44:13 +02:00
squidfunk
a633f12e09 Added premium sponsors to Insiders page 2021-09-04 13:06:35 +02:00
L&H
bac2397afe
Updated Chinese translations 2021-09-03 12:17:00 +02:00
L&H
c41a5f1321
Updated Chinese translations (#2994) 2021-09-03 12:16:51 +02:00
squidfunk
4429e16e94 Fixed rendering of block quotes 2021-09-01 21:35:10 +02:00
squidfunk
441381b7af Fixed search worker override not being respected 2021-08-29 11:33:54 +02:00
squidfunk
0432747178 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-08-24 18:33:50 +02:00
squidfunk
829820a239 Fixed invalid escaping of HTML in search results 2021-08-24 18:33:42 +02:00
Erli Soares
b762812685
Updated Portuguese translations (#2969)
fix: #2968
2021-08-24 16:11:11 +02:00
squidfunk
8c8dd642ad Updated changelog and fixed search modal offset on mobile 2021-08-22 19:08:54 +02:00
squidfunk
6d678a4a66 Fixed linter errors 2021-08-11 23:50:01 +02:00
squidfunk
f4b1f97dd0 Fixed execution of RxJS teardown logic on complete (7.2.3 regression) 2021-08-11 23:44:01 +02:00
squidfunk
b9979ac2f0 Added new banner CSS classes for consistency with Insiders 2021-08-11 22:09:35 +02:00
squidfunk
a4ccbbb1b2 Fixed version selection 2021-08-11 21:31:28 +02:00
squidfunk
a855133f16 Fixed invalid versions.json URL (regression) 2021-08-11 21:17:10 +02:00
squidfunk
e37223f0aa Stretch top-level tabbed labels to viewport on mobile 2021-08-10 15:24:46 +02:00
squidfunk
4f2f4b672c Merge branch 'master' into feature/scrollable-content-tabs 2021-08-09 21:51:27 +02:00
squidfunk
f869d275b4 Fixed instant loading (MkDocs 1.2.2 regression) 2021-08-09 21:47:49 +02:00
squidfunk
21cd7772e6 Added notes for refactoring 2021-08-09 20:48:39 +02:00
squidfunk
a230122347 Fixed too many styles being reset in tab content 2021-08-08 18:03:48 +02:00
squidfunk
f1d80af51b Fixed print view of new tabs implementation 2021-08-08 17:57:52 +02:00
squidfunk
39b8416423 Prototyped new tabbed implementation 2021-08-08 10:46:45 +02:00
squidfunk
213bebaaf7 Documentation 2021-08-08 09:42:35 +02:00
squidfunk
e518348b8b Fixed new table styles in dark mode 2021-08-08 09:40:51 +02:00
squidfunk
f0615fe1e0 Slight facelift of data tables 2021-08-07 17:55:17 +02:00
squidfunk
adafd844f9 Fixed invalid anchor offsets when using instant loading 2021-08-07 11:47:50 +02:00
squidfunk
b07e466bec Fixed double-complete errors after upgrading to RxJS 7.3 2021-08-04 21:19:56 +02:00
squidfunk
6744eb6070 Fixed missing escaping of HTML in search highlighting 2021-07-28 21:57:09 +02:00
J-H-Cho
1e3859066c
Updated Korean translations (#2875)
Fixed `source.file.date.created` and added some missing Korean translations.
2021-07-28 09:14:22 +02:00
squidfunk
f16cba1799 Prepare 7.2.1 release 2021-07-25 15:40:40 +02:00
squidfunk
abb95a336d Detached configuration from documentation build 2021-07-24 17:58:48 +02:00
squidfunk
b740dbc975 Fixed back-to-top button overlaying active search bar 2021-07-24 11:11:29 +02:00
squidfunk
d68fe9102a Merge of Insiders features tied to 'Biquinho Vermelho' funding goal 2021-07-21 17:08:10 +02:00
Olivier Robardet
d2ccbf3a1e
Added missing translations for French (#2852) 2021-07-20 17:46:11 +02:00
flanciskinho
5788755bbd
Updated Spanish and Galician translations (#2843) 2021-07-18 10:20:36 +02:00
squidfunk
0d82ef2628 Updated Sponsors listing 2021-07-11 16:53:00 +02:00
squidfunk
6d59b425aa Updated Sponsors listing 2021-07-11 16:41:52 +02:00
squidfunk
30a4d58d06 Added documentation for cookie consent 2021-07-10 15:21:22 +02:00
squidfunk
580f1181f5 Improved graceful handling of broken search when browsing locally 2021-07-10 11:42:38 +02:00
squidfunk
4fb80ea2cf Fixed back-to-top button overlaying search 2021-07-10 11:28:53 +02:00
squidfunk
7abeb68708 Fixed rendering of back-to-top button when used with sticky tabs 2021-07-10 11:03:23 +02:00
squidfunk
7ca4ca1a90 Fixed transitions on back-to-top button 2021-07-10 10:21:52 +02:00
squidfunk
68de4db94d Removed back-to-top button in print view 2021-07-03 16:32:20 +02:00
squidfunk
8b322d3ffc Reverted top-margin of back-to-top button 2021-07-03 16:13:29 +02:00
squidfunk
3649fdac42 Fixed overlay of back-to-top button and header 2021-07-03 16:05:43 +02:00
squidfunk
2bcc7f3c9d Slight adjustments for back-to-top button 2021-07-03 15:14:34 +02:00
squidfunk
9f01704a73 Improved appearance of back-to-top button 2021-07-01 19:12:40 +02:00
squidfunk
122126cbde Updated dependencies 2021-06-25 11:34:51 +02:00
Jack Cherng
0ecc5bebe3
Fixed Chinese translation for "source.file.date.created" (#2751)
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2021-06-17 08:19:17 +02:00
Harmen CHRISTOPHE
a07322fe54
Escaped aria-label in footer links (squidfunk/mkdocs-material#2735) (#2746) 2021-06-09 20:54:27 +02:00
squidfunk
b3c0ecc161 Fixed error when no analytics provider was set 2021-06-06 17:36:50 +02:00
squidfunk
ed9347c487 Refactored analytics integration 2021-06-06 17:32:30 +02:00
squidfunk
a8534f7a48 Fixed analytics events for own documentation 2021-06-06 16:28:30 +02:00
squidfunk
11fcf4f0ab Added aria labels to language and version selector 2021-06-06 15:11:04 +02:00
Benjamin Staneck
2a5ba14ebe
Added aria-label to language selector button (#2725) 2021-06-06 14:52:14 +02:00
squidfunk
42500aafa2 Added aria labels to palette toggles 2021-06-06 14:47:20 +02:00
squidfunk
0dd483121a Added aria labels to footer links 2021-06-06 14:29:01 +02:00
squidfunk
bdbd4af29d Improved touch-friendliness of version selector on mobile 2021-05-30 13:31:07 +02:00
squidfunk
093c67880d Added Mongolian translations 2021-05-30 11:52:16 +02:00
trails-game
5fbdba2b13
Updated Chinese translations (#2711)
Minor improvement on Chinese translation
2021-05-30 10:26:01 +02:00
squidfunk
409d151044 Fixed #2703: search remains at 'Initializing search' on mobile 2021-05-27 11:36:08 +02:00
squidfunk
d6bb0b8a99 Updated dependencies 2021-05-24 15:34:23 +02:00
squidfunk
e2a1b679bf Updated inline documentation for colors 2021-05-17 21:01:56 +02:00
squidfunk
920f11cf6e Fixed details breaking page margins on print 2021-05-15 14:07:34 +02:00
Benjamin Staneck
44d6fb04c7
Added title to back-to-top button (#2631)
* Add title to to-top button

* Rename
2021-05-04 12:15:41 +02:00
squidfunk
2098fa42b2 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-05-03 12:21:06 +02:00
squidfunk
0f285a1d4d Fixed broken integration for git-revision-date-localized plugin 2021-05-03 12:21:01 +02:00
Martin Donath
c16b9a20b5
Merge pull request #2627 from Stanzilla/source-file
Fix source-file include
2021-05-03 12:20:21 +02:00
Tim Vink
440fc830de Update path to source-file partial 2021-05-03 09:38:20 +02:00
Benjamin Staneck
3b6d4ac0b7
Fix source-file include
Fixes https://github.com/squidfunk/mkdocs-material/pull/2579#issuecomment-830806927
2021-05-02 15:32:43 +02:00
Martin Donath
1bb22efbce
Merge pull request #2579 from timvink/master
Add support for git creation date
2021-05-02 10:57:05 +02:00
squidfunk
6c6dd2a0db Improved footnote styles on :target and :focus 2021-05-01 19:56:40 +02:00
Tim Vink
cee1eb465d Add source-file.html partial and rename date based translation 2021-04-25 19:57:30 +02:00
squidfunk
319db2d57d Fixed empty table of contents being rendered 2021-04-24 11:15:05 +02:00
squidfunk
aea41d23c9 Improved style of footnote references 2021-04-21 09:37:47 +02:00
Tim Vink
8029b58d3d Add support for git creation date, see #2551 2021-04-19 10:31:49 +02:00
squidfunk
b3a3918419 Fixed hover color of focused button on landing page 2021-04-18 18:51:42 +02:00
squidfunk
564c1dad43 Improved focus outlines when using keyboard navigation 2021-04-18 18:42:02 +02:00
squidfunk
2e60bca665 Improved focus outline for desktop navigation 2021-04-18 15:03:54 +02:00
squidfunk
21b543a038 Fixed list overlapping floated elements 2021-04-15 21:33:00 +02:00
squidfunk
8d752312aa Fixed table of contents breaking when class is set on h1 2021-04-15 21:21:33 +02:00
squidfunk
a9b9faa3aa Fixed back-to-top button being clickable when hidden 2021-04-15 21:04:42 +02:00
squidfunk
094819e1e4 Fixed wrong font-family on version selector 2021-04-11 18:36:49 +02:00
squidfunk
b968bf6e8f Formatting 2021-04-11 14:17:47 +02:00
squidfunk
8015c3991e Fixed focus/hover hierarchy of version selector 2021-04-11 13:07:39 +02:00
squidfunk
2c973e1755 Allow to define color schemes without toggles 2021-04-10 19:36:59 +02:00
squidfunk
ff9e2841cc Fixed visual quirk when opening language selector 2021-04-10 11:22:21 +02:00
EdouardThiel
599fdf9c5f
Updated extracopyright in footer (fixes issue 2508) (#2509)
Replace the extracopyright block,which doesnt' work, by a variable `{{ extracopyright }}` that can be set e.g from `overrides/main.html` with `{% set extracopyright %} ... {% set %}`; see issue [`#2508`](https://github.com/squidfunk/mkdocs-material/issues/2508)
2021-04-10 11:01:22 +02:00
squidfunk
bb57ea9b2d Fixed broken search in Safari <14 2021-04-10 10:48:04 +02:00
squidfunk
c011da1fa4 Removed display: flow-root on list elements 2021-03-29 19:21:47 +02:00
squidfunk
ca3da9e3ca Merge of Insiders features tied to 'Black Pearl' funding goal 2021-03-29 18:46:57 +02:00
squidfunk
f43ef69ee5 Fixed inconsistent header shadow behavior 2021-03-28 12:04:59 +02:00
squidfunk
cb8d3f47e8 Added back background on inline code blocks in admonition titles 2021-03-28 11:35:44 +02:00
squidfunk
076946713c Updated Insiders documentation 2021-03-21 17:14:32 +01:00
squidfunk
185f037fbc Backup current changes 2021-03-21 14:04:29 +01:00
Koltai Péter
77358d73d8
Updated Hungarian translations (#2471) 2021-03-20 11:20:11 +01:00
Benjamin Staneck
b851237940
Fix lint (#2460)
This assertion is unnecessary since the receiver accepts the original type of the expression  @typescript-eslint/no-unnecessary-type-assertion
2021-03-17 21:09:06 +01:00
squidfunk
6506a784e3 Added documentation on extra.homepage 2021-03-14 14:09:13 +01:00
squidfunk
90e9b8aeee Documentation 2021-03-14 13:03:52 +01:00
squidfunk
c6e15970a9 Fixed margins for nested inline admonitions 2021-03-14 13:02:24 +01:00
squidfunk
0be8640aed Updated screenshots and refactored version selector template 2021-03-14 12:17:19 +01:00
wbekerom
9fe820010e
Added trailing slash to version selector URL (#2434)
* Add trailing slash to version selector URL's

* Use template literal syntax

* Remove whitespace
2021-03-14 10:27:36 +01:00
Brennan Kinney
64349af06a
Fixed link-contained code block text color
Removes direct ancestor requirement, any content wrapped in an anchor tag is within the content boundaries of representing a link.
2021-03-14 10:20:28 +01:00
squidfunk
5fbcef3564 Refactored sponsorship overview into component 2021-03-13 15:53:37 +01:00
squidfunk
dbad649181 Formatting 2021-03-12 15:17:11 +01:00
squidfunk
393e05cc0a Formatting 2021-03-12 15:15:41 +01:00
Benjamin Dobell
0a6869dcb6 Support TOC anchor targets vertical order differing from TOC order. 2021-03-13 00:48:04 +11:00
Martin Donath
781e00f78d
Merge pull request #2401 from polarathene/fix/version-selector-use-title-for-ui
fix(Version Selector): Current version should be consistent with drop-down listed version
2021-03-09 21:46:05 +01:00
squidfunk
5c03e8fc9b Adjusted instant loading for new favicon link 2021-03-09 21:42:30 +01:00
Christian Oliff
68367d3e78
remove 'shortcut' from favicon meta tag
This isn't needed and was never part of the spec.
Great article here: https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs#did-we-forget-anyone

Also:
https://mathiasbynens.be/notes/rel-shortcut-icon
2021-03-09 20:39:29 +09:00
Brennan Kinney
48727db010
fix: Version selector should be consistent with drop-down
Use the presentational `title` value like the drop-down does; not the `version` value used to match the URL (version subdirectory).
2021-03-08 11:34:52 +13:00
squidfunk
47659c24d7 Renamed home component to logo 2021-03-07 19:39:03 +01:00
squidfunk
859173ef88 Fixed logo URL not being updated when using instant loading 2021-03-07 19:36:51 +01:00
squidfunk
5037094b12 Fixed problems with mike when logo points to site_url 2021-03-07 19:23:24 +01:00
squidfunk
b6779114b0 Fixed evaluation of third-party scripts when using instant loading 2021-03-07 19:04:17 +01:00
squidfunk
66a6713523 Fixed instant loading when used with use_directory_urls: false 2021-03-07 18:44:43 +01:00
squidfunk
1d790c9000 Fixed instant loading when used with use_directory_urls: false 2021-03-07 18:14:33 +01:00
squidfunk
d17c488b49 Fixed regression with header title not being updated correctly 2021-03-07 17:54:43 +01:00
squidfunk
526fbed394 Fixed version selection when using instant loading 2021-03-07 17:12:43 +01:00
squidfunk
f9cfd87708 Formatting 2021-03-07 15:40:20 +01:00
Jeremy Maitin-Shepard
3ee51acca2 Fix instant navigation when clicking on the logo button and logo is svg 2021-03-05 17:19:25 -08:00
squidfunk
5d0cae7ca6 Fixed expanded sections not opening on first click (mobile) 2021-03-05 18:58:12 +01:00
squidfunk
99aa411d6b Documentation 2021-03-05 10:36:46 +01:00
Martin Donath
1e9746b841
Merge pull request #2362 from seandstewart/add-extracopy-footer
Add `extracopyright` block to footer.html
2021-03-04 18:40:24 +01:00
squidfunk
5a510cedb3 Fixed search index being loaded when search is disabled 2021-03-04 18:28:34 +01:00
squidfunk
f05c34e30d Fixed expanded sections not collapsing on first click 2021-03-04 18:18:56 +01:00
squidfunk
f87e32debe Added Islandic translations 2021-03-04 18:05:37 +01:00
squidfunk
eb35ab949c Fixed localsearch integration 2021-03-01 20:08:59 +01:00
Sean Stewart
63015faf52 Add extracopyright block to footer.html 2021-03-01 08:00:20 -05:00
squidfunk
71926399c4 Improved example admonition styles for dark backgrounds 2021-02-28 08:37:31 +01:00
squidfunk
dd3a4788cb Formatting 2021-02-25 17:51:38 +01:00
squidfunk
7d5a463c60 Formatting 2021-02-25 17:29:11 +01:00
squidfunk
f40112e4c5 Fixed invalid version selector URL 2021-02-25 16:28:53 +01:00
squidfunk
d6317dc514 Formatting + moved search index fetching to top level 2021-02-24 18:02:09 +01:00
squidfunk
cb723d4bef Improved focus outlines for icons 2021-02-24 11:35:45 +01:00
squidfunk
1864463e5c Fixed double triggering of analytics events 2021-02-24 10:12:40 +01:00
squidfunk
a17b6375f0 Fixed image alignment and details inline positioning 2021-02-24 10:04:42 +01:00
squidfunk
0b2e14056a Renamed internal icon reference for language selector 2021-02-23 10:34:01 +01:00
squidfunk
20f7440280 Prepare 7.0.0 release 2021-02-22 23:05:09 +01:00
squidfunk
f27eb1ee07 Fixed search not closing after navigation 2021-02-22 22:32:00 +01:00
squidfunk
ece3253d4f Added back scroll locking 2021-02-22 22:27:30 +01:00
squidfunk
de49689f99 Fixed linter errors 2021-02-22 21:06:21 +01:00
squidfunk
4bd9fba470 Added support for version selector 2021-02-22 21:01:04 +01:00
squidfunk
99cc2e201b Added support for language selector 2021-02-22 20:08:49 +01:00
squidfunk
9591265939 Added support for inline admonitions 2021-02-22 18:54:36 +01:00
squidfunk
3039e4150c Merge branch 'master' into refactor/webpack 2021-02-22 18:29:14 +01:00
squidfunk
b97b747150 Finished migration to custom build 2021-02-22 18:19:00 +01:00
squidfunk
eb819535f6 Added asset manifest generation 2021-02-21 17:35:11 +01:00
squidfunk
4d462c1667 Added back SVG optimization 2021-02-21 14:34:17 +01:00
squidfunk
4957bb467d Fixed visibility of exports 2021-02-21 11:59:38 +01:00
squidfunk
b65c40308d Implemented SCSS compilation 2021-02-20 18:03:53 +01:00
Davor Cubranic
15320613d3 Call code font "monospace" instead of "proportional" in SCSS, too. 2021-02-19 06:02:50 -08:00
squidfunk
88fed997f5 Prototyped non-Webpack build 2021-02-18 22:18:45 +01:00
squidfunk
f154dcef80 Removed unnnessary share operator 2021-02-16 18:23:57 +01:00
squidfunk
ad27da16dc Fixed code blocks not selectable via keyboard after content tabs switch 2021-02-15 18:23:39 +01:00
squidfunk
c5cbbd9ad8 Fixed dark mode for icon search 2021-02-15 17:48:01 +01:00
squidfunk
8de8da222f Added logging of icon searches 2021-02-15 17:17:11 +01:00
squidfunk
51f6cfece4 Refactored icon search integration 2021-02-15 16:58:04 +01:00
squidfunk
356cde2ad8 Added emoji index to icon search 2021-02-15 15:57:44 +01:00
squidfunk
5dc7a79e07 Added Sinhalese translations and fixed linter errors 2021-02-14 17:36:39 +01:00
squidfunk
08e8525689 Updated copyright year 2021-02-14 16:54:27 +01:00
squidfunk
ab36f54a4e Refactored overrides 2021-02-14 16:53:38 +01:00
squidfunk
a3b6ac9dd1 Fixed icon search 2021-02-14 16:19:46 +01:00
squidfunk
4ef15bd440 Improved search result rendering and icon search 2021-02-14 14:51:08 +01:00
squidfunk
a8b5cafa73 Deprecated DOMContentSwitch event 2021-02-13 17:20:55 +01:00
squidfunk
aacb5ca5a7 Added more inline comments and simplified component mounting 2021-02-13 17:03:15 +01:00
squidfunk
96797b471f Moved form styles and inline clipboard from overrides to main 2021-02-12 18:30:47 +01:00
squidfunk
ed61f60970 Always close drawer on navigation 2021-02-12 17:08:58 +01:00
squidfunk
e7850ca184 Added back keyboard handlers 2021-02-12 16:41:33 +01:00
squidfunk
44751785a0 Added back patched 2021-02-12 16:22:06 +01:00
squidfunk
d664fafa6a Reintroduced details marker 2021-02-12 16:05:47 +01:00
squidfunk
28d507ecfe Refactored header autohiding and split overrides 2021-02-12 15:44:53 +01:00
squidfunk
f7907fc09c Fixed linter errors 2021-02-12 13:38:18 +01:00
squidfunk
2c23f066ea Merge branch 'master' into refactor/architecture 2021-02-12 13:22:32 +01:00
squidfunk
9c9ea8a64d Refactored instant loading and some other components 2021-02-12 12:12:49 +01:00
Benjamin Staneck
07c4379221
Replaced deprecated -webkit-details-marker (#2285)
[Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
2021-02-11 20:33:15 +01:00
squidfunk
884330da3b Centralized fetch methods 2021-02-11 19:41:34 +01:00
squidfunk
4808b46dfb Fixed build 2021-02-07 18:14:43 +01:00
squidfunk
975f830dbb Fixed SCSS linter errors 2021-02-07 18:08:21 +01:00
squidfunk
208c9ac3fd Migrated to ESLint 2021-02-07 17:43:13 +01:00
squidfunk
4744d5f3f0 Refactored search initialization 2021-02-07 17:18:10 +01:00
squidfunk
ae867d484b Squashed commit of the following:
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 16:25:06 2021 +0100

    Refactored more stuff

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

    Refactored more stuff

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

    Refactored more stuff

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

    Refactored search result list

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

    Refactored more components

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

    Implemented new architecture for several components

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

    Removed unnecessary height declaration for sidebars

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

    Merge branch 'master' into refactor/observable-architecture

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

    Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
squidfunk
c942a2e527 Fixed linting errors 2021-02-06 12:52:43 +01:00
squidfunk
0116f636f2 Prototyped icon search 2021-02-06 12:35:19 +01:00
squidfunk
08340e42a1 Simplified font configuration CSS 2021-02-06 09:57:40 +01:00
squidfunk
5666b7c625 Moved all overrides to common directory 2021-02-06 09:35:03 +01:00
fugaco
2ba9533c25
Updated Japanese translations (#2268)
Co-authored-by: fugaco <--global>
2021-02-04 11:39:45 +01:00
squidfunk
e3c608ace6 Fixed auto-closing print dialog when using instant loading 2021-02-02 20:51:42 +01:00
Jakub
2251be4f68
Update Polish translations (#2262) 2021-02-01 10:00:38 +01:00
squidfunk
ee4efb4f5b Added Bulgarian translations 2021-01-26 09:49:46 +01:00
squidfunk
9ca69ed274 Updated Insiders documentation 2021-01-25 09:54:19 +01:00
squidfunk
130241791d Formatting 2021-01-24 13:02:42 +01:00
squidfunk
be1f9c113e Fixed search not being shown when using header autohiding 2021-01-24 11:51:10 +01:00
squidfunk
ebd8839a03 Formatting 2021-01-17 10:41:10 +01:00
Oleh Prypin
81a13f6bc6
Optimized nested navigation rendering: don't cross template boundary (#2213)
The number of calls to sub-templates when rendering the navigation is O(n^2) relative to the number of pages. This is the only such instance, which is why I think this is worth optimizing.

The optimization here doesn't improve the complexity, it just removes the overhead of instantiating a new Jinja template for each of these calls.

E.g. for 710 pages on the site, the number of calls to Jinja's `get_template` (implying `new_context` and others) crosses a million ==(710**2)*2. They're not expensive but also not super cheap, and add up to a big percentage of overall site build times.
2021-01-17 10:38:03 +01:00
allmightyse
1e0a242d92
Fixed syntax error in Swedish translations (#2210)
* Update sv.html

#2209 Correct syntax error from ; to :

* Update sv.html
2021-01-15 15:03:13 +01:00
squidfunk
5b1ee2ac98 Fixed Disqus integration being shown on 404 pages 2021-01-09 13:14:42 +01:00
squidfunk
7c0ccd4bff Added documentation for native Mermaid integration (experimental) 2021-01-02 15:55:31 +01:00
squidfunk
9203255595 Removed ResizeObserver polyfill due to decent browser support 2021-01-01 17:16:24 +01:00
squidfunk
b825d222a4 Refactored resize observer 2020-12-30 18:40:34 +01:00
squidfunk
a339a8afb6 Renamed 'language' partials folder into 'languages' for consistency 2020-12-30 13:21:27 +01:00
squidfunk
45aff3cfc5 Fixed table of contents highlighting for active anchor links 2020-12-30 11:05:23 +01:00
squidfunk
82b0ea8b0e Added syntax highlighting for binary numbers (Pygments) 2020-12-30 10:52:10 +01:00
squidfunk
b89705bb2e Added back hidden overflow on root container 2020-12-27 11:35:17 +01:00
squidfunk
afff64df99 Fixed cropping of MathJax formulas on some browsers 2020-12-22 17:42:57 +01:00
squidfunk
f3ad7e2f28 Reverted scroll-margin-top solution for anchors due to poor Safari support 2020-12-22 12:30:32 +01:00
squidfunk
65b41bbc9d Updated documentation 2020-12-21 17:38:58 +01:00
squidfunk
7a9147cfb7 Adjusted color of horizontal ruler 2020-12-20 16:09:42 +01:00
squidfunk
d754bd9a71 Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00:21 +01:00
Javier
ccbe8db6ee
Updated Spanish translations (#2132)
The word "Falta" is more appropriate.
2020-12-16 09:36:59 +01:00
squidfunk
7e78c4d8b7 Added distribution files 2020-12-15 09:02:26 +01:00
Martin B
bf9920b42b
Updated Swedish translations (#2127)
* Update sv.html

* Update sv.html
2020-12-15 09:01:04 +01:00
Javier
9c0351b008
Updated Spanish translations (#2126)
* Update es.html

Added missing translations in spanish language

* Update es.html
2020-12-15 08:59:51 +01:00
squidfunk
ca05a2d342 Fixed stats for private GitHub repositories 2020-12-06 11:15:13 +01:00
squidfunk
02260682ea Fixed Admonition rendering for right-to-left languages 2020-11-22 18:24:19 +01:00
squidfunk
4735169b29 Reduced upper glow (shadow) on Admonition bar 2020-11-22 14:00:32 +01:00
squidfunk
cda11a529a Removed box shadow on collapsed Admonitions 2020-11-22 13:51:41 +01:00
squidfunk
c90b9211f4 Updated documentation 2020-11-15 22:25:11 +01:00
squidfunk
874c015984 Fixed scrollbar showing on Windows for math formulas 2020-11-15 17:15:12 +01:00
squidfunk
0135353b7d Fixed invalid display strategy of search reset button 2020-11-15 15:55:21 +01:00
squidfunk
3872efc0fe Fixed unnecessary repaint when scrolling up with tabs 2020-11-13 11:20:46 +01:00
squidfunk
86a4c47c0a Switched to Jinja's safer string concatenation operator 2020-11-08 11:13:02 +01:00
squidfunk
acc4a273c4 Simplified conditionals in templates 2020-11-07 16:09:06 +01:00
squidfunk
a9c782768e Fixed sidebar jitter when scrolling footer into view 2020-11-07 12:26:31 +01:00
squidfunk
6d671bf246 Formatting 2020-11-07 10:17:50 +01:00
squidfunk
72494f08bb Added support for meta keywords 2020-11-05 21:10:58 +01:00
Writeup
6608f3a439
Added support for meta keywords (#2029)
* Update mkdocs.yml

* Update base.html
2020-11-05 21:07:35 +01:00
squidfunk
82addc9cec Merge branch 'master' of github.com:squidfunk/mkdocs-material 2020-11-03 17:54:52 +01:00
squidfunk
aaa65f4df6 Fixed inconsistent scaling of line numbers for smaller code blocks 2020-11-03 17:54:36 +01:00
Writeup
81944ae1a1
Added Chinese translations for initializing search (#2026)
* Update zh.html

* Update zh-Hant.html

* Update zh-TW.html
2020-11-02 18:03:33 +01:00
squidfunk
45799563be Removed focus outline on click for scrolling code blocks 2020-10-31 19:10:01 +01:00
squidfunk
a3c0e46d12 Formatting 2020-10-31 18:42:48 +01:00
squidfunk
93692a7950 Fixed defaut link colors for black and white primary colors on slate color scheme 2020-10-31 18:09:15 +01:00
squidfunk
0aff83ecb3 Fixed sizing of icons after dependency update 2020-10-31 15:42:11 +01:00
squidfunk
87b706f19e Fixed instant loading not correctly updating page title 2020-10-31 14:29:20 +01:00
squidfunk
3b12c56e83 Updated landing page 2020-10-20 10:11:56 +02:00
squidfunk
24bcf9de53 Removed unnecessary URL filter 2020-10-18 11:56:29 +02:00
squidfunk
48b4120b8f Fixed relative homepage links for nested pages when building locally 2020-10-18 11:52:29 +02:00
squidfunk
ab60de2b61 Fixed unreadable print view when using dark mode 2020-10-17 16:45:20 +02:00
squidfunk
c6a67ec093 Fixed hidden content tabs when printing 2020-10-17 16:37:40 +02:00
squidfunk
8eb2375551 Added proper border to summary to allow easier styling 2020-10-17 16:27:19 +02:00
squidfunk
750551355f Replaced bottom border with underline for search markers 2020-10-11 17:45:06 +02:00
squidfunk
ae3a372805 Documentation 2020-10-04 18:54:48 +02:00
squidfunk
454339bd35 Fixed site_url (link behind home button) for usage from file:// 2020-10-04 18:37:52 +02:00
squidfunk
b3271bab9f Fixed search result placeholder not resetting correctly 2020-10-04 15:40:58 +02:00
squidfunk
e277ad635b Removed placeholder when search input is focused 2020-10-04 15:24:21 +02:00
squidfunk
e149006af9 Escaped link titles where necessary 2020-10-04 14:24:43 +02:00
squidfunk
52787c6a9c Removed unnecessary title attributes in links 2020-10-04 14:18:10 +02:00
squidfunk
69d0789b44 Documentation 2020-10-04 13:30:08 +02:00
squidfunk
6248412844 Added Georgian translations 2020-10-04 13:29:24 +02:00
squidfunk
bf9f9bf16e Fixed search replacing %20 with + in document URLs 2020-10-01 09:28:16 +02:00
squidfunk
388a095766 Documentation 2020-09-27 23:27:32 +02:00
squidfunk
da7b209978 Refactored search result templates 2020-09-27 23:26:51 +02:00
squidfunk
baeb4cc5bd Fixed source integrations after refactoring 2020-09-27 22:58:33 +02:00
squidfunk
c7ddada630 Fixed linter errors 2020-09-27 22:50:00 +02:00
squidfunk
9c4009f608 Removed SVG factories to further reduce size 2020-09-27 22:35:28 +02:00
squidfunk
ab513f036e Replaced operators: ajax -> fetch, pluck -> map 2020-09-27 22:19:38 +02:00