Commit Graph

2200 Commits

Author SHA1 Message Date
squidfunk
a06cf106ab Fixed RXSS vulnerability in search results 2024-08-19 13:28:56 +02:00
João Palmeiro
fde6040eda Added support for fetching latest release from GitLab (#7418)
* Fetch version for GitLab repositories

* Update documentation about repositories

* Fix code formatting
2024-08-05 09:15:12 +02:00
squidfunk
a798a0d0d2 Fixed link in comment 2024-07-22 11:22:40 +02:00
squidfunk
906e966d6d Fixed navigation icons disappearing on hover in Safari 2024-07-21 21:24:03 +02:00
Sigurd Spieckermann
6b13c560f5 Fixed blog readtime calculation to ignore non-content text (#7370) 2024-07-16 15:49:13 +02:00
squidfunk
4f8081c268 Prepare 9.5.29 release 2024-07-14 13:51:05 +02:00
squidfunk
33452c92ea Fixed annotations in figure captions 2024-07-13 22:54:27 +02:00
squidfunk
c7c8fcb3af Updated Galician translations
Co-authored-by: mmontes11 <4168911+mmontes11@users.noreply.github.com>
2024-07-09 10:42:28 +02:00
squidfunk
845fc610b0 Fixed improved tooltips mounted when disabled 2024-07-01 14:34:38 +02:00
squidfunk
f4db9de0f0 Updated Estonian translations
Co-authored-by: Eilyre <6998508+Eilyre@users.noreply.github.com>
2024-06-13 18:48:25 +01:00
squidfunk
1cc45d50d0 Fixed active tab stolen on scroll with linked content tabs 2024-06-06 12:01:24 +01:00
Javier Zazo
49ebb9bbfa Improved accessibility of search partial (#7233) 2024-06-06 10:29:27 +01:00
squidfunk
0fc36a1f4c Added support for local author avatars 2024-06-01 11:57:59 +01:00
squidfunk
6c3f846078 Updated custom styles 2024-05-28 12:37:02 +01:00
squidfunk
09f817d154 Documentation 2024-05-25 09:18:07 +02:00
squidfunk
1b346eb57b Fixed tags plugin crashing on numeric tags 2024-05-24 13:39:03 +02:00
squidfunk
407335d20b Fixed title rendering in version selector 2024-05-16 11:39:47 +02:00
squidfunk
cc398ddc33 Added support for displaying version aliases 2024-05-15 17:24:40 +02:00
squidfunk
485fa76fbc Fixed edge case with anchor links when using instant navigation 2024-05-15 07:28:19 +02:00
squidfunk
ceacfe5a2c Fixed stay on same page for version selector (9.5.5 regression) 2024-05-12 14:20:39 +02:00
squidfunk
937d7ccff1 Fixed empty lines when copying (9.5.18 regression) 2024-05-12 13:59:44 +02:00
squidfunk
05661a1562 Added underline to nodes with links in Mermaid diagrams 2024-05-03 19:29:30 +02:00
squidfunk
aef6175f04 Added type selection to icon and emoji search 2024-05-03 18:50:43 +02:00
Kamil Krzyśków
0e0a678b78 Merge pull request #7142 from kamilkrzyskow/info-dotfile-warning
Add warning for dotfiles in info plugin
2024-05-03 16:59:13 +02:00
squidfunk
75d87eaf7e Widen Mermaid.js import to 10.x (current major version) 2024-05-03 13:47:36 +02:00
Kamil Krzyśków
f724bb901a Add warning for dotfiles in info plugin 2024-05-02 23:16:30 +02:00
Alexander Voss
e90871f210 Fixed social plugin crashing on Windows when downloading fonts (#7085) (#7117)
* fix: social plugin fonts on Windows (squidfunk #7085)

* fix: managed to edit in material instead of src

* added resource mgmt for ByteIO, comments

* formatted comment

* Fix for Social plugin crashes when font autoloading is disabled (#7118)
2024-04-29 15:04:43 +07:00
squidfunk
ff49d74024 Fixed deprecation warning in privacy plugin 2024-04-29 08:01:57 +07:00
squidfunk
cff4a75d15 Fixed deprecation warning in tags plugin 2024-04-29 07:52:22 +07:00
squidfunk
2d07a6aa6e Fixed rendering of tab indicator of nested content tabs 2024-04-25 10:18:10 +07:00
godot42
04f177cbd4 Improved resilience of tags plugin (#7098) 2024-04-25 09:33:32 +07:00
squidfunk
bde889fab1 Fixed Japanese translations
Co-authored-by: gh640 <3532528+gh640@users.noreply.github.com>
2024-04-25 09:23:14 +07:00
squidfunk
6a761ed418 Improved interop of social plugin with other themes 2024-04-17 11:43:59 +07:00
squidfunk
29658ed970 Merge branch 'master' into refactor/tooltip-positioning 2024-04-16 10:14:19 +07:00
squidfunk
851e5bb194 Fixed rendering glitch when hovering contributor avatar 2024-04-15 14:19:25 +07:00
squidfunk
599193edfa Fixed overly long tooltips 2024-04-14 14:33:47 +07:00
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
hanghuge
e4eb74e7ff chore: fix comment
Signed-off-by: hanghuge <cmoman@outlook.com>
2024-04-06 21:05:39 +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
Andreas Deininger
7e13ae602f Fix typos 2024-04-01 16:50:08 +02: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
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