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

2492 Commits

Author SHA1 Message Date
squidfunk
e15518cfa5
Refactored tooltips 2024-04-14 13:30:52 +07:00
squidfunk
4eb1a43937
Added missing CSS for highlight fix 2024-04-14 11:49:14 +07:00
squidfunk
9d33f8aaa6
Fixed highlighted lines in code blocks being cutoff on mobile 2024-04-14 10:38:40 +07:00
squidfunk
cd086110bf
Updated dependencies 2024-04-08 13:55:41 +08:00
squidfunk
570161ab3f
Prepare 9.5.17 release 2024-04-02 13:13:23 +08:00
squidfunk
78e93ac0af
Improved keyboard interactions for palette toggle 2024-04-02 13:07:34 +08:00
squidfunk
a3655e8307
Updated Serbian translations
Co-authored-by: stcksmsh <107367925+stcksmsh@users.noreply.github.com>
2024-04-02 12:04:26 +08:00
squidfunk
1041766d81
Fixed time sneaking into default post format string 2024-04-02 12:02:04 +08:00
squidfunk
e71f00b4c9
Fixed backporting of social plugin font loading logic 2024-03-31 21:17:44 +08:00
squidfunk
29cf44b71c
Improved resilience of privacy plugin 2024-03-31 17:30:44 +08:00
squidfunk
6c9ba875bf
Prepare 9.5.16 release 2024-03-31 17:20:16 +08:00
Julien
a2cb35d4c5
Improved error handling on social plugin (#6818)
* fix(social): CairoSVG OSError handling in social plugin

Related issue: #6817

Co-authored-by: Guts <1596222+Guts@users.noreply.github.com>

* feat(docs): Add troubleshooting guide for CairoSVG crash

---------

Co-authored-by: Kamil Krzyśków <kamilzary@gmail.com>
Co-authored-by: Guts <1596222+Guts@users.noreply.github.com>
Co-authored-by: Martin Donath <martin.donath@squidfunk.com>
2024-03-31 17:00:27 +08:00
Alexander Payne
abfac1a93e
Switched to Babel's format_datetime to allow for time in formatted dates (#6981)
* Use Babel's `format_datetime`, not `format_date`

I am using MkDocs-Material 9.5.15 and Babel 2.14.0. When setting the config value `blog.post_date_format: "yyyy-MM-dd hh:mm:ss"`, the blog plugin crashes during compilation with the error "date objects have no hour field".

I believe this is occurring because the plugin provides a `datetime` to `babel.dates.format_date`, which upcasts it to a plain, timeless, `date`. Making this change to use `babel.dates.format_datetime` instead resolved the error and demonstrated expected behavior.

While I recognize that it is likely uncommon for a blog to want to include sub-date timestamps in any of these fields, I believe that the current documentation,

> The format string must adhere to babel's pattern syntax and should not contain whitespace

implies that _any_ of Babel's pattern markers are acceptable here. I would consider 

> The format string must adhere to Babel's pattern syntax for calendar dates and should not contain whitespace

to also be a sufficient fix for this case.

----

Thank you for your effort in creating this project; it has been a wonderful benefit to my team, and this is the first minor problem we've had in months of using it.

* Make the change in src/, not material/
2024-03-31 15:45:47 +08:00
squidfunk
01b2dd17e3
Updated Russian translations
Co-authored-by: natakazakova <17986517+natakazakova@users.noreply.github.com>
2024-03-31 15:39:02 +08:00
squidfunk
ad7233640f
Fixed social plugin Google Fonts integration 2024-03-31 15:23:22 +08:00
squidfunk
f27b93ece3
Updated dependencies 2024-03-27 18:11:52 +08:00
squidfunk
99d15d158f
Prepare 9.5.15 release 2024-03-23 13:26:32 +08:00
squidfunk
92b3e1bbcd
Reverted fix for borders on iframes 2024-03-23 08:38:47 +08:00
squidfunk
66d450009d
Fixed interference of social plugin and auto dark mode 2024-03-19 11:11:08 +08:00
squidfunk
c51eb2ff83
Prepare 9.5.14 release 2024-03-18 07:25:21 +07:00
squidfunk
3311a615fa
Updated dependencies 2024-03-18 07:19:31 +07:00
Kamil Krzyśków
022f14c0eb Fixed UTF-8 with BOM encoding support 2024-03-17 12:04:45 +07:00
squidfunk
2f1b2e9500
Added support for hiding versions from selector 2024-03-13 17:42:16 +07:00
squidfunk
7e27f4d00b
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2024-03-12 10:00:06 +07:00
squidfunk
dc97a56659
Updated dependencies 2024-03-12 09:59:20 +07:00
Kamil Krzyśków
2d3982489d
Fixed info plugin's exclusion logic (#6874)
Added more information to platform file
Added processed directory indicator
Changed slash removal in resolved patterns
Changed regex match function to search to support subprojects
Constrained dynamic patterns to the root
Reverted build assets gathering dc808ca90a
Reverted info.gitignore file 79129d5cde
2024-03-12 09:55:15 +07:00
squidfunk
f3252381da
Fixed inability to reset search pipeline 2024-03-12 09:07:29 +07:00
squidfunk
750b79889d
Fixed borders on iframes 2024-03-11 12:29:46 +07:00
squidfunk
8244ff332d
Fixed borders on iframes 2024-03-11 09:39:07 +07:00
squidfunk
9cd979ae6c
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2024-03-09 14:05:20 +07:00
squidfunk
1d6dd990b4
Fixed white background on Twitter embeds 2024-03-09 14:05:00 +07:00
Toni Viemerö
3062379b1a
Fixed syntax error in Finnish translations (#6883) 2024-03-08 13:35:13 +07:00
squidfunk
36e9cff9db
Prepare 9.5.13 release 2024-03-06 13:01:06 +07:00
squidfunk
dc808ca90a
Updated dependencies 2024-03-05 11:01:58 +07:00
Kamil Krzyśków
63de27578a Extended info plugin's validation message
Add more elaborate comments
Fix lines to span to 80 characters
Fix import order
Fix variable naming
2024-03-05 10:50:34 +07:00
Kamil Krzyśków
4478522b52 Added validation of paths to the info plugin 2024-03-05 10:50:34 +07:00
Kamil Krzyśków
819e209795 Added projects plugin handling in the info plugin 2024-03-05 10:50:34 +07:00
Kamil Krzyśków
79129d5cde Added exclusion logic for info plugin 2024-03-05 10:50:34 +07:00
Kamil Krzyśków
64a8b6a383 Changed info plugin to store more platform information 2024-03-05 10:50:34 +07:00
Kamil Krzyśków
712bc1c137 Fixed info plugin to gather all files recursively 2024-03-05 10:50:34 +07:00
squidfunk
15f15068d9
Improved resilience of search plugin 2024-03-04 08:11:07 +07:00
squidfunk
e51d29d511
Updated Slovak translations
Co-authored-by: scepka <83234912+scepka@users.noreply.github.com>
2024-03-02 18:36:13 +07:00
squidfunk
bcca0067e8
Updated Slovak translations
Co-authored-by: scepka <83234912+scepka@users.noreply.github.com>
2024-03-02 10:06:02 +07:00
squidfunk
d366a45fdb
Fixed instant navigation removing color theme tags 2024-02-29 10:12:02 +07:00
squidfunk
c7bde2d3ff
Formatting 2024-02-29 08:37:23 +07:00
squidfunk
de46c4153b
Fixed document observable not emitting current document 2024-02-29 08:35:54 +07:00
squidfunk
b5a5fde436
Updated dependencies 2024-02-26 11:47:29 +07:00
squidfunk
ca7e9523fd
Fixed privacy plugin not handling URL-encoded pathnames 2024-02-24 14:14:13 +07:00
squidfunk
be21a6ff2d
Prepare 9.5.11 release 2024-02-24 12:53:48 +07:00
squidfunk
23f18866c3
Removed manually added instant previews in light of new extension 2024-02-22 20:24:08 +07:00
squidfunk
a1f4084bb9
Updated distribution files 2024-02-21 10:40:03 +07:00
squidfunk
fea265dedd
Prepare 9.5.10 release 2024-02-19 13:16:24 +07:00
squidfunk
adf061e103
Updated dependencies 2024-02-19 13:15:15 +07:00
squidfunk
7bbc9f9ead
Fixed positioning of integrated table of contents 2024-02-19 13:06:02 +07:00
squidfunk
b7fc7bad5e
Removed continue reading link when there's nothing more to read 2024-02-15 12:07:47 +07:00
squidfunk
55603a70e8
Updated dependencies 2024-02-12 19:19:41 +07:00
squidfunk
721eb6ab61
Updated Bahasa Malaysia translations
Co-authored-by: belajarpowershell <73632767+belajarpowershell@users.noreply.github.com>
2024-02-12 19:05:16 +07:00
squidfunk
a6286ef3ac
Prepare 9.5.9 release 2024-02-10 13:17:02 +07:00
squidfunk
292d563cb4
Fixed navigation pruning when tabs + sections are active 2024-02-09 13:30:31 +07:00
squidfunk
3fb5f06793
Prepare 9.5.8 release 2024-02-07 10:32:47 +07:00
squidfunk
1b398c0add
Updated Esperanto translations
Co-authored-by: janvanveldhuizen <43573150+janvanveldhuizen@users.noreply.github.com>
2024-02-06 09:57:08 +07:00
squidfunk
4fc33f68ed
Added Tamil translations
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-05 10:49:44 +07:00
squidfunk
a7c71101f9
Fixed relative images not being resolved for instant navigation 2024-02-03 17:48:12 +07:00
squidfunk
f4960e8478
Prepare 9.5.7 release 2024-02-03 10:17:22 +07:00
squidfunk
88004be010
Fixed regression with table of contents in last release 2024-02-03 09:27:39 +07:00
squidfunk
5b9bcb108e
Fixed alignment of small images in figures 2024-02-02 14:49:26 +07:00
squidfunk
175f2f08e5
Updated dependencies 2024-01-30 10:41:22 +07:00
squidfunk
294d38e8d3
Documentation 2024-01-28 15:51:25 +07:00
squidfunk
6026738819
Prepare 9.5.6 release 2024-01-28 15:26:56 +07:00
squidfunk
a65fd1ed9e
Updated distribution files 2024-01-28 11:52:02 +07:00
squidfunk
335dd3addb
Fixed Markdown formatted nodes in Mermaid.js 2024-01-28 11:48:36 +07:00
squidfunk
9d52e36212
Prepare 9.5.5 release 2024-01-24 11:00:36 +07:00
squidfunk
95ad78a478
Merge branch 'master' into fix/instant-loading-bugs 2024-01-24 10:46:02 +07:00
squidfunk
be95f4901a
Fixed capturing of keyboard events for custom elements
Co-authored-by: vtsvetkov-splunk <142901247+vtsvetkov-splunk@users.noreply.github.com>
2024-01-24 10:38:32 +07:00
squidfunk
6128ab92f2
Updated Tagalog translations
Co-authored-by: diamant3 <71203851+diamant3@users.noreply.github.com>
2024-01-24 10:24:36 +07:00
squidfunk
f3868a6f15
Updated Mermaid.js to 10.7.0 2024-01-24 08:20:41 +07:00
squidfunk
d9c939a956
Updated dependencies 2024-01-23 09:54:19 +07:00
squidfunk
134800278a
Documentation 2024-01-18 18:11:39 +07:00
squidfunk
575ff3583a
Fixed linter errors 2024-01-18 17:35:19 +07:00
squidfunk
a6282931ef
Fixed instant loading bugs 2024-01-18 17:29:20 +07:00
squidfunk
44982451f7
Prepare 9.5.4 release 2024-01-15 17:36:27 +07:00
squidfunk
e68e1330ab
Fixed default tag icon overriding other icons 2024-01-15 17:19:47 +07:00
squidfunk
d87c20fafc
Fixed change of palette configuration breaking site 2024-01-15 17:09:20 +07:00
squidfunk
7624e78744
Updated copyright year 2024-01-06 09:27:06 +07:00
squidfunk
0202126c17
Updated dependencies 2023-12-27 12:17:54 +01:00
squidfunk
284264a37e
Prepare 9.5.3 release 2023-12-23 21:12:18 +01:00
squidfunk
175df61397
Updated distribution files 2023-12-19 10:00:42 +01:00
squidfunk
05596664a5
Updated dependencies 2023-12-18 16:08:14 +01:00
Kamil Krzyśków
55fe1ccc53
Improved Group plugin initialization for mike (#6534) 2023-12-18 11:09:29 +01:00
squidfunk
285c9cc6f5
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-12-15 22:45:58 +01:00
squidfunk
e8745daa60
Updated Macedonian translations
Co-authored-by: LordDeatHunter <26803198+LordDeatHunter@users.noreply.github.com>
2023-12-15 22:45:50 +01:00
squidfunk
b6972b8fa9
Formatting 2023-12-15 10:41:37 +01:00
Florian Haas
9b98c77725
Only show authors' email addresses if so configured in git-authors (#6494)
Honour the git-authors plugin's setting to render the authors' names
as links pointing to their email address:

* If the git-authors plugin is enabled and its show_email_address
  option is not set, or is set to true, render the author's name as a
  "mailto:" link.
* If the git-authors plugin is enabled and its show_email_address
  option is set to false, render the author's name in plain text with
  no link.
* If the git-authors plugin is not enabled (or not installed), don't
  show author information.
2023-12-12 17:35:20 +01:00
squidfunk
2ca5cf0ea0
Prepare 9.5.2 release 2023-12-11 16:21:03 +01:00
squidfunk
649db51429
Updated dependencies 2023-12-11 10:14:32 +01:00
squidfunk
adad8238c6
Fixed config types for blog plugin slugify functions 2023-12-10 15:19:11 +01:00
squidfunk
00c5b0a94a
Fixed horizontal scrollbars on MathJax containers 2023-12-09 11:35:54 +01:00
squidfunk
63683eb3c5
Prepare 9.5.1 release 2023-12-08 09:39:09 +01:00
squidfunk
0d72b5f57e
Formatting 2023-12-07 21:50:13 +01:00
squidfunk
5b70a0cfcb
Fixe time being dropped from blog post dates 2023-12-07 21:46:36 +01:00
squidfunk
8a7a6a7357
Updated Greek translations
Co-authored-by: RebelStreamers <82859945+RebelStreamers@users.noreply.github.com>
2023-12-07 17:02:47 +01:00
squidfunk
a8bd480c39
Prepare 9.5.0 release 2023-12-07 11:56:18 +01:00
squidfunk
aa62bcc4f6
Merge latests changes from Insiders 2023-12-07 11:46:44 +01:00
squidfunk
f855a67384
Merged features tied to 'Goat's Horn' funding goal 2023-12-07 10:48:42 +01:00
squidfunk
0b38323a31
Updated dependencies 2023-12-04 11:06:25 +01:00
squidfunk
c0aca21360
Prepare 9.4.14 release 2023-11-26 16:56:52 +01:00
squidfunk
6be485c38f
Documentation 2023-11-26 15:22:43 +01:00
squidfunk
28ebcbfb59
Added support for linking authors in blog posts
Co-authored-by: alexvoss <4134224+alexvoss@users.noreply.github.com>
2023-11-26 14:29:38 +01:00
squidfunk
9c01605149
Updated dependencies 2023-11-26 13:09:17 +01:00
squidfunk
baaac7c291
Prepare 9.4.13 release 2023-11-26 13:06:48 +01:00
squidfunk
494f5570de
Fixed linter errors 2023-11-26 13:00:18 +01:00
Martin Donath
b5cf38f3d9
Merge branch 'master' into update-to-mermaid-10.6.0 2023-11-26 12:55:43 +01:00
squidfunk
c2da2d8279
Fixed blog broken pagination links to previous pages 2023-11-26 12:46:32 +01:00
squidfunk
bf6e66bddd
Prepare 9.4.12 release 2023-11-24 10:47:24 +01:00
squidfunk
058b32f2d3
Fixed non-deterministic order of categories in blog plugin 2023-11-24 09:42:57 +01:00
squidfunk
d43626a838
Switched blog plugin to generate Unicode-aware slugs 2023-11-24 09:06:36 +01:00
squidfunk
8053524ad8
Prepare 9.4.11 release 2023-11-23 12:12:19 +01:00
squidfunk
ae056297bf
Fixed crash of blog plugin when pagination is disabled 2023-11-23 11:53:43 +01:00
squidfunk
ad83798bef
Fixed search plugin crashing when enabling theme while serving 2023-11-19 18:35:58 +01:00
squidfunk
bafa78094d
Updated dependencies 2023-11-19 11:33:02 +01:00
squidfunk
71a87f86b4
Prepare 9.4.10 release 2023-11-19 11:17:31 +01:00
squidfunk
c181a46f74
Added support to disable version selector in mike 2023-11-19 11:03:43 +01:00
squidfunk
dcc296e42e
Fixed animation of expanded navigation items 2023-11-19 10:45:45 +01:00
squidfunk
a2a4dd928a
Prepare 9.4.9 release 2023-11-17 12:19:55 +01:00
squidfunk
c0546f5686
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-11-17 11:22:53 +01:00
squidfunk
1095a4e523
Updated distribution files 2023-11-17 11:20:53 +01:00
Alexander Voss
8fb97e7132
Added md-ellipsis span to toc-item.html 2023-11-17 10:26:04 +01:00
squidfunk
34d789bf82
Remove trailing whitespace when copying 2023-11-14 09:41:17 +01:00
squidfunk
88470b38cd
Added monochrome logo to icons 2023-11-14 09:37:59 +01:00
squidfunk
9c73460e2c
Fixed blog plugin crashing for pt-BR locale 2023-11-14 09:33:48 +01:00
squidfunk
830011eb1c
Updated dependencies 2023-11-12 16:18:13 +01:00
squidfunk
b298194b23
Updated distribution files 2023-11-12 15:45:19 +01:00
Brian Campbell
441e05b5ee Upgrade to Mermaid 10.6.1
Bump the version of Mermaid up to 10.6.1. Per the release notes at
https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md the
render function is async now, so update to the new async render
function.

There's also apparently a change to use ESM, but I didn't seem to have
any trouble with just bumping the version and updating it to use async.
It looks like it's working without any change to how we load it, but I'm
not much of a frontend developer so I could be missing something.
2023-11-07 12:58:41 -05:00
squidfunk
e509bd73e0
Updated dependencies 2023-11-06 10:40:02 +01:00
Sigurd Spieckermann
47e7c3e87d
Fixed visible artifacts on rotation of details marker (Firefox) (#6268)
* Work around collapsible block icon rotation bug

* Minify link to upstream issue
2023-11-06 10:34:44 +01:00
squidfunk
c0755bf247
Prepare 9.4.8 release 2023-11-05 19:50:30 +01:00
squidfunk
87d69a95b8
Fixed invalid local address when using instant loading 2023-11-03 07:33:35 +01:00
squidfunk
494cae1e36
Fixed crash after navigation caused 404 when using instant loading 2023-11-02 11:50:45 +01:00
squidfunk
ff76068e41
Prepare 9.4.7 release 2023-10-27 19:15:44 +02:00
squidfunk
997da1efc5
Updated dependencies 2023-10-24 11:37:50 +02:00
squidfunk
0341516fe5
Updated dependencies 2023-10-23 16:50:25 +02:00
squidfunk
ff3a8ff19a
Updated Azerbaijani translations
Co-authored-by: computerbox124 <63882460+computerbox124@users.noreply.github.com>
2023-10-19 17:35:13 +02:00
squidfunk
5c318799f6
Updated dependencies 2023-10-16 11:20:58 +02:00
squidfunk
1990b21c82
Prepare 9.4.6 release 2023-10-14 10:46:00 +02:00
squidfunk
7fa5ea0602
Updated Danish translations
Co-authored-by: saltydk <6587950+saltydk@users.noreply.github.com>
2023-10-14 10:39:12 +02:00
squidfunk
2800e7ea62
Fixed blog post metadata layout on small screens 2023-10-14 10:27:56 +02:00
squidfunk
e20cf0beca
Updated Norwegian (Nynorsk) translations
Co-authored-by: audunklyve <34168782+audunklyve@users.noreply.github.com>
2023-10-14 09:53:52 +02:00
squidfunk
fe69addc28
Prepare 9.4.5 release 2023-10-10 10:31:36 +02:00
squidfunk
d41707de99
Fixed linter errors 2023-10-10 10:29:45 +02:00
squidfunk
5824c6ca4e
Fixed sidebar auto-positioning (9.4.2 regression) 2023-10-10 10:24:59 +02:00