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
d2f403495c
Ensure color-scheme meta tag is set 2023-06-06 11:48:24 +02:00
squidfunk
530f84416e
Added support for using .mjs files in extra_javascript 2023-05-30 19:40:58 +02:00
squidfunk
0f1866b108
Documentation 2023-05-27 17:42:43 +02:00
squidfunk
fe0c966a4d
Added color-scheme property to indicate color scheme to OS 2023-05-27 17:41:00 +02:00
Timothée Mazzucotelli
3f978d86f6 Strip tags of ToC item's aria label
Some plugins/extensions might use the data-toc-label attribute
of headings to set a particular string for the ToC item title.

While not explicitly documented as possible or allowed,
they might set some HTML code instead of text.
In this case, the aria label of Toc nav elements break the HTML
as they will contain unescaped double quotes.

To fix this, we use the `striptags` filter
to remove any tags from the aria label, keeping text only.
2023-05-22 18:27:28 +02:00
squidfunk
168b8b8fda
Updated Armenian translations
Co-authored-by: cassmastern <49853998+cassmastern@users.noreply.github.com>
2023-05-20 10:31:50 +02:00
squidfunk
d10badb0b2
Updated Greek translations
Co-authored-by: geopolitis <2936134+geopolitis@users.noreply.github.com>
2023-05-17 10:37:42 +02:00
Chris Pointon
fdf8362d50 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/plugins/social/plugin.py
2023-05-15 11:05:40 +01:00
squidfunk
01136b2fb9
Automatically pause media when content tabs are hidden 2023-05-12 15:12:40 +02:00
squidfunk
3520926284
Updated Bengali (Bangal) translations 2023-05-12 14:52:20 +02:00
Md. Almas Ali
9e886e159f Added missing bangla languages in bn.html. 2023-05-10 00:19:07 +06:00
squidfunk
8b50290f5e
Fixed errors in deprecation path of social plugin settings 2023-05-08 21:01:01 +02:00
squidfunk
09feabc579
Harmonized color and font settings for social cards with Insiders 2023-05-08 16:59:16 +02:00
squidfunk
2735c87d9a
Finished documentation on social cards 2023-05-08 16:44:39 +02:00
squidfunk
2d1d135c35
Formatting 2023-05-02 11:58:16 +02:00
squidfunk
201054e79d
Fixed instant loading causing jump for code annotations 2023-05-02 10:59:39 +02:00
Martin Donath
5c57458256
Merge pull request #5447 from kamilkrzyskow/social-patch
Fix crash in social plugin and add support for logo in custom_dir
2023-05-02 08:49:33 +02:00
squidfunk
2ce3d7bc0d Fixed search for new Indian translations 2023-05-02 08:36:53 +02:00
Kamil Krzyśków
2e37c10d53 Added support for theme.custom_dir in social plugin 2023-04-30 23:59:13 +02:00
Kamil Krzyśków
2bb853687d Fixed social plugin crash when only code font present 2023-04-30 17:24:46 +02:00
Pranam
1819739928 #5443 fix whitespace 2023-04-29 18:26:13 +00:00
Pranam
889d51461a #5445: adds translations for Telugu languages 2023-04-29 18:19:11 +00:00
Pranam
85551e658f 5443: adds support for Kannada language 2023-04-29 14:00:54 +00:00
Pranam
45d0679fee #5441: adds translations for Sanskrit 2023-04-29 12:30:19 +00:00
squidfunk
986cadad29 Fixed display mode for light/dark mode images 2023-04-28 12:49:27 +02:00
squidfunk
cb485499eb Fixed social plugin crashing for Inter font 2023-04-28 11:46:16 +02:00
Chris Pointon
7a77935c7a Improve font matching for fonts with different families 2023-04-25 17:57:05 +01:00
Chris Pointon
a517a9942d Make font loading walk subdirectories 2023-04-25 16:29:30 +01:00
squidfunk
f0d506c446
Fixed theme breaking when no palette is defined 2023-04-24 14:48:48 +02:00
squidfunk
6f13021a38
Fixed unnecessary inclusion of palette.css 2023-04-22 12:26:22 +02:00
squidfunk
6fe1d55607
Always set default primary and accent colors 2023-04-22 12:21:48 +02:00
squidfunk
ba90cb1ccd
Added missing enabled setting for tags plugin 2023-04-22 10:20:28 +02:00
squidfunk
c0cdb3ca1f
Updated Turkish translations
Co-authored-by: eminboydak <17517752+eminboydak@users.noreply.github.com>
2023-04-22 10:00:32 +02:00
squidfunk
ab94f5f648
Updated Persian (Farsi) translations
Co-authored-by: Peymanpn <1858614+Peymanpn@users.noreply.github.com>
2023-04-22 09:58:42 +02:00
squidfunk
393c38fdf6
Updated Persian (Farsi) translations
Co-authored-by: Peymanpn <1858614+Peymanpn@users.noreply.github.com>
2023-04-07 13:34:43 +02:00
squidfunk
97fd112fe7
Fixed Mermaid sequence diagram box colors 2023-04-07 13:28:46 +02:00
Nejc Habjan
4fccd06b78 Allow overriding all inlined icons via yaml only 2023-03-31 10:33:39 +02:00
Kengo Shimizu
1c793ebaff
fix Japanese translation 2023-03-30 01:29:50 +09:00
squidfunk
f4d894d53b
Fixed footer direction label being cut off 2023-03-29 13:01:30 +02:00
squidfunk
6a4be6b723
Updated Mermaid.js to 9.4.3 2023-03-24 21:09:15 +01:00
squidfunk
33aeeaa007
Updated Lithuanian translations
Co-authored-by: lfx <163301+lfx@users.noreply.github.com>
2023-03-24 20:57:53 +01:00
squidfunk
183b0be124
Fixed anchor links in closed details when using instant loading 2023-03-24 12:31:23 +01:00
squidfunk
5f02d02dc4 Fixed inconsistency of code block sequence number in community edition and Insiders 2023-03-19 17:30:34 +01:00
squidfunk
c3ba161233 Fixed issue with non-percent encoded anchors in table of contents 2023-03-19 17:21:34 +01:00
squidfunk
63daaa4087 Removed unnecessary property on ellipsis class 2023-03-14 20:09:09 +01:00
squidfunk
9752ad2630 Fixed back-to-top button when using instant loading 2023-03-14 17:18:02 +01:00
squidfunk
a7c1d06470 Added Norwegian (Bokmål) translations
Co-authored-by: gallaher <16511229+gallaher@users.noreply.github.com>
2023-03-14 16:35:12 +01:00
squidfunk
9cbdb79a53 Added Romanian translations
Co-authored-by: g3ru1a <32644617+g3ru1a@users.noreply.github.com>
2023-03-14 16:32:08 +01:00
Martin Donath
85eaceba04
Updated Portuguese translations
Portuguese translations
2023-03-14 11:35:10 +01:00
squidfunk
2c7b0a3fc1 Fixed search plugin not removing subsequent script and style tags 2023-03-14 11:22:05 +01:00
David Freire
bf8dcb0996 add all missing portuguese translations 2023-03-13 14:46:01 +00:00
squidfunk
cd73ef1573 Documentation 2023-03-11 09:46:55 +01:00
squidfunk
e60179f9fd Added Kurdish (Soranî) translations
Co-authored-by: Nawdare <127336364+Nawdare@users.noreply.github.com>
2023-03-11 09:43:45 +01:00
squidfunk
5b7cf17cd8 Fixed Mermaid text boxes incorrectly computed (9.0.13 regression) 2023-03-09 20:20:59 +01:00
squidfunk
6538b35a39 Updated Korean translations
Co-authored-by: minjikarin <63965039+minjikarin@users.noreply.github.com>
2023-03-09 20:04:21 +01:00
squidfunk
e11b708747
Updated Swedish translations
Co-authored-by: curmalin <1908885+curmalin@users.noreply.github.com>
2023-03-07 19:51:56 +01:00
squidfunk
64ca8fefd4
Fixed table of contents following not working for percent-encoded URIs 2023-03-06 20:27:04 +01:00
Guðmundur Ólafsson
f86fda186b
Updated Icelandic translations (#5145) 2023-03-06 07:38:44 +01:00
Martin Donath
80d9603627
Refactored instant loading (#5032) 2023-03-05 17:32:21 +01:00
squidfunk
7efb5fe700
Updated Thai translations
Co-authored-by: watchakorn-18k <74919942+watchakorn-18k@users.noreply.github.com>
2023-03-03 09:23:47 +01:00
squidfunk
48b89f3dc0
Updated Czech translations
Co-authored-by: 3p1463k <7929155+3p1463k@users.noreply.github.com>
2023-03-02 11:59:29 +01:00
Pere Orga
8cfff48e44
Replace stylelint-config-rational-order with stylelint-config-recess-order (#5122) 2023-03-01 07:13:50 +01:00
squidfunk
966e2eb269 Mitigate flickering of header shadow 2023-02-26 19:13:28 +01:00
squidfunk
9b581ae19e Fixed occasional flickering of dismissed announcement bar 2023-02-26 19:00:56 +01:00
Akiicat
901b05e5ee
Update zh-TW.html add search.config
"search.config.lang": "ja",
  "search.config.pipeline": "stemmer",
  "search.config.separator": "[\\s\\- 、。,.?;]+",
2023-02-26 23:52:11 +08:00
Akiicat
96fa354d2a
Update zh-TW.html 2023-02-26 23:44:56 +08:00
squidfunk
4d7291f25e Refactored tag modifier implementation 2023-02-26 15:28:47 +01:00
squidfunk
3e96638d46 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-02-26 10:50:43 +01:00
squidfunk
02f6699c34 Updated Hebrew translations 2023-02-26 10:50:37 +01:00
Shuzhou Liu
04a6f140ce
fix: remove ⬅️s 2023-02-26 07:48:18 +08:00
Shuzhou Liu
b4f012ee48
feat: zh-Hant Chinese (Traditional) translation 2023-02-25 19:09:44 +08:00
squidfunk
8f4d30f8f1 Updated Hebrew translations
Co-authored-by: dngray <48640805+dngray@users.noreply.github.com>
2023-02-24 16:46:44 +01:00
squidfunk
1663d84b02 Fixed rendering errors in Firefox 2023-02-22 19:08:38 +01:00
squidfunk
c1c186fa0f Automatically add iframe-worker in offline plugin 2023-02-18 13:26:00 +01:00
squidfunk
e3b1bcf179 Removed polyfills for ancient browsers from bundle 2023-02-18 13:04:50 +01:00
Martin Donath
3e8f04294c
Merge pull request #5056 from SupImDos/fix/content-headline-detection
Reimplement `<h1>` headline detection in content partial
2023-02-18 12:30:57 +01:00
squidfunk
b257235717 Added support for hiding version warning in multiple versions
Co-authored-by: SaltyAimbOtter <40303883+SaltyAimbOtter@users.noreply.github.com>
2023-02-18 12:10:28 +01:00
squidfunk
981ee65498 Improved readability of version warning for slate color scheme 2023-02-18 11:39:33 +01:00
squidfunk
8796d90087 Improved table row hover color 2023-02-18 10:56:45 +01:00
squidfunk
5065bf9cd3 Fixed actors in sequence diagrams not adhering to color scheme 2023-02-18 10:39:39 +01:00
SupImDos
a7fbd90fe8 Revert b95dffa by re-adding h1 headline detection in content partial. 2023-02-16 19:38:35 +08:00
squidfunk
1d513c8ceb Removed unnecessary CSS class 2023-02-12 19:13:59 +01:00
squidfunk
3f1ad39c64 Revert "Fixed instant loading not triggering when going back to initial page"
This reverts commit 329d26d34a.
2023-02-10 19:56:53 +01:00
squidfunk
f00cd81f89 Revert "Fixed instant loading jumping back to the top"
This reverts commit f480bb28a9.
2023-02-10 19:56:36 +01:00
squidfunk
f480bb28a9 Fixed instant loading jumping back to the top 2023-02-10 19:43:26 +01:00
squidfunk
329d26d34a Fixed instant loading not triggering when going back to initial page 2023-02-10 19:24:18 +01:00
squidfunk
090ae52059 Updated Uzbek translations
Co-authored-by: anorprogrammer <77531974+anorprogrammer@users.noreply.github.com>
2023-02-10 11:59:35 +01:00
squidfunk
8aec99e9a2 Updated Uzbek translations
Co-authored-by: anorprogrammer <77531974+anorprogrammer@users.noreply.github.com>
2023-02-10 10:01:12 +01:00
squidfunk
ff99e19741 Fixed header title not reset on missing headline when using instant loading 2023-02-09 21:19:13 +01:00
squidfunk
48e8b2be30 Updated Catalan translations
Co-authored-by: gsalvatella <42438361+gsalvatella@users.noreply.github.com>
2023-02-08 16:09:22 +01:00
squidfunk
f7598410cb Fixed attribute styles in entity-relationship diagrams 2023-02-07 18:40:42 +01:00
squidfunk
a6565f3e1f Updated Indonesian translations
Co-authored-by: determinedguy <28977286+determinedguy@users.noreply.github.com>
2023-02-04 14:58:56 +01:00
squidfunk
3fc8b6be8b Added Mastodon verification for social links 2023-02-03 17:33:28 +01:00
squidfunk
a79608adea Updated announcement bar 2023-02-03 11:59:50 +01:00
Nikolay Fedorovskikh
a937dd23f5
Fixed minor tag closing issues (#4971)
Co-authored-by: Nikolay Fedorovskih <n.fedorovskih@squaregps.com>
2023-02-03 11:07:29 +01:00
squidfunk
4b34e08c48 Updated Italian translations
Co-authored-by: michelelauni <115786249+michelelauni@users.noreply.github.com>
2023-02-03 11:04:53 +01:00
squidfunk
c5459af35f Fixed anchor following not bringing last items into view 2023-02-02 10:49:34 +01:00
squidfunk
c330a08bdc Improved accessibility of content tabs 2023-02-02 09:32:05 +01:00
squidfunk
e496f77b6c Updated Arabic translations
Co-authored-by: Ismail-Ham <16270459+Ismail-Ham@users.noreply.github.com>
2023-02-01 10:13:17 +01:00
squidfunk
f9248f1c91 Updated Korean translations
Co-authored-by: k1005 <8636642+k1005@users.noreply.github.com>
2023-02-01 10:12:36 +01:00