1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-12 07:41:16 +01:00
Commit Graph

6240 Commits

Author SHA1 Message Date
Alexander Voss
324ccdb737
Documentation (#7054) 2024-04-16 21:31:51 +07:00
squidfunk
3b592abc21
Prepare 9.5.18 release 2024-04-16 10:46:11 +07:00
Martin Donath
f028004c59
Merge pull request #7045 from squidfunk/refactor/tooltip-positioning
Refactor tooltips
2024-04-16 10:21:04 +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
5707773ce3
Updated dependencies 2024-04-14 10:52:10 +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
Hudson
0e8ed32bda
Added missing icons and their defaults to JSON schema (#7020)
* add missing `icon`s to theme schema

https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/?h=icons#site-icons

* Add missing schema defaults
2024-04-07 07:43:56 +08:00
hanghuge
e4eb74e7ff chore: fix comment
Signed-off-by: hanghuge <cmoman@outlook.com>
2024-04-06 21:05:39 +08:00
squidfunk
68126abb56
Updated Insiders changelog 2024-04-05 09:55:42 +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
Martin Donath
e741f80fbe
Documentation
Fix typos
2024-04-02 07:40:55 +08:00
Andreas Deininger
7e13ae602f Fix typos 2024-04-01 16:50:08 +02:00
Kuan-Yi Li
7d6d8d7a7c Updated slugify documentation
Unicode, case-sensitive reference setting causes error below.

```
yaml.constructor.ConstructorError: expected a mapping node, but found scalar
```

Update related sections in the documentation to address this issue.

Newer Python-Markdown has `slugify_unicode` built-in, so this

```yaml
markdown_extensions:
  - toc:
      slugify: !!python/name:markdown.extensions.toc.slugify_unicode
```

also works for case-insensitive use cases.

Fixes: ee1e675da6 ("Update slug reference")
2024-04-01 07:34:10 +08:00
squidfunk
e71f00b4c9
Fixed backporting of social plugin font loading logic 2024-03-31 21:17:44 +08:00
squidfunk
8956524097
Updated Insiders changelog 2024-03-31 17:35:08 +08:00
squidfunk
0db4e667da
Updated changelog 2024-03-31 17:33:14 +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
squidfunk
f2bfab91fe
Updated dependencies 2024-03-31 17:05:43 +08:00
squidfunk
9e40207bb6
Updated dependencies 2024-03-31 17:05:36 +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
5458039778
Updated Insiders changelog 2024-03-23 13:38:07 +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
Meysam
1b2d48455d
Documentation (#6951) 2024-03-22 13:53:49 +08:00
squidfunk
495c64e719
Restructured funding goals 2024-03-20 15:59:01 +08:00
squidfunk
8addc95d9d
Added support for font variants in social plugin 2024-03-20 15:45:21 +08:00
Steven Maude
3f09228249
Documentation (#6933)
To "commercial use" section.
2024-03-20 08:52:05 +08:00
squidfunk
66d450009d
Fixed interference of social plugin and auto dark mode 2024-03-19 11:11:08 +08:00
squidfunk
cc78979185
Updated Insiders changelog 2024-03-18 07:40:29 +07: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
babc9950db
Formatting 2024-03-13 09:14: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