Commit Graph

2276 Commits

Author SHA1 Message Date
squidfunk
64635ba5c4 Fixed search not honoring enabled setting in templates 2025-03-31 19:16:46 +02:00
squidfunk
c18630fc88 Removed usage of circular members in nav_item partial 2025-03-30 11:51:20 +02:00
squidfunk
fb0c27c382 Replaced items call with use of filter 2025-03-30 11:51:20 +02:00
squidfunk
ec38e30daf Ensured compatibility with minijinja (Rust) 2025-03-30 11:51:20 +02:00
Kamil Krzyśków
091865798f Fixed build:all output on Windows (#8089)
* Fixed handling for paths with windows separator during build

* Fixed icon index order on windows during build

* Updated icon search index

Removed obsolete icon search index
2025-03-14 20:19:21 +01:00
squidfunk
0e75aef9ea Updated Serbo-Croatian translations
Co-authored-by: nelebadnjak <6325682+nelebadnjak@users.noreply.github.com>
2025-03-14 10:01:50 +01:00
Adrian Föder
52b584f9cb Added urlencode to fix # in custom icons (#8087)
When using custom SVGs that contained
characters breaking a URL, like a hash #
sign that is consiered a URL fragment,
the rendering broke. This adds a jinja
urlencode filter to the output.

Fixes #8086
2025-03-14 10:00:35 +01:00
squidfunk
3296cdf203 Fixed sidebar on Firefox mobile 2025-03-13 13:44:19 +01:00
squidfunk
76a66b7597 Fixed error in translations partial 2025-03-13 11:22:23 +01:00
squidfunk
1c5e112549 Integrated Welsh translations 2025-03-13 11:17:18 +01:00
Gavin Morrison
c8d26549ce Added translations for Welsh 🏴󠁧󠁢󠁷󠁬󠁳󠁿 (#8081)
* Create cy.html

* Updated whitespace in cy.html to align with other translations
2025-03-13 11:10:44 +01:00
Martin Donath
742150dec1 Revert "Fixed sidebar on Firefox mobile (#8083)" (#8084)
This reverts commit a303a01c58.
2025-03-13 11:07:36 +01:00
Martin Donath
a303a01c58 Fixed sidebar on Firefox mobile (#8083) 2025-03-13 11:06:51 +01:00
squidfunk
74a7835b35 Fixed privacy plugin crashing on non-existent file 2025-03-12 17:36:46 +01:00
sandkre
2b7b96ec00 Fixed error in Norwegian translations
Fixed typo
2025-03-05 08:23:22 +07:00
Isaac Muse
e0b0113574 Fixed backref import (#8057) 2025-03-03 08:14:16 +07:00
Pete Stenger
27ba95652a Fixed unescaped of quotes in ARIA labels (#8053) 2025-03-02 16:35:08 +07:00
squidfunk
523922b383 Fixed privacy plugin not replacing occurrences 2025-03-01 13:22:03 +07:00
Isaac Muse
ab1511074c Replaced regex with backrefs package in search plugin (#8034)
Use Re in all places in the search plugin except where Unicode
properties are desired (checking for Chinese chars). Use Backrefs'
`bre` to check for Unicode properties. To minimize any differences,
explicitly use `script` as Backrefs uses `script_extensions` (or `scx`)
by default with `Is*` properties.
2025-02-26 10:57:51 +07:00
squidfunk
37162a57cd Replaced regex with re in info plugin 2025-02-26 10:10:41 +07:00
squidfunk
bdad6ec83f Formatting 2025-02-20 08:17:05 +07:00
Lucas Cimon
2e837fa4cf Fixed privacy plugin crashing on HTTP errors 2025-02-20 08:09:33 +07:00
squidfunk
3a11e3e7e7 Fixed tags plugin not working on filenames with whitespaces 2025-02-19 09:08:28 +07:00
Martin Donath
a9bae7f0c7 Fixed navigation spacing in Safari 18.3 (#7979) 2025-02-12 16:13:13 +07:00
squidfunk
8a576105fd Fixed blog post content sometimes not stretching 2025-02-09 08:01:33 +07:00
squidfunk
aaabbfe99e Reverting group plugin fix 2025-02-07 12:07:03 +07:00
squidfunk
d4203f65bb Fixed group plugin crashing on ENV vars for enabled setting 2025-02-07 10:42:17 +07:00
Martin Donath
a1816aedcb Fixed rendering of arrow heads in Mermaid.js class diagrams
Fix embedded mermaid css to fix class diagram arrow heads
2025-02-06 10:28:26 +07:00
squidfunk
4861c7d405 Fixed tags plugin crashing on numeric title 2025-02-05 21:15:53 +07:00
Willem Kokke
0a9868606c Fix embedded mermaid css to fix class diagram arrow heads
Originally used id based selecters, which doesn't work as the ids are made unique.
Replacing them with class based selectors fixes this.
2025-02-05 10:44:26 +00:00
Martin Donath
cf46186589 Fixed side effect of scope on outdated banner (#7959) 2025-02-03 21:18:21 +07:00
Niclas Heinz
66f1fc668d Added demo repository badge (#7915)
* docs(shortcodes): Add example repository badge

* docs(shortcodes): Update description for 'Example Repository'

* docs(relations): link example repos in docs pages

* docs(shortcodes): Fix permanent link for convention page

* docs(shortcodes): Revert to commit 365dc24

* docs(shortcodes): Rename md:example to md:demonstration

* docs(shortcodes): Fix examples url

* docs(shortcodes): Add demo badge

* docs(shortcodes): Add badges for demo repositories

* docs(shortcodes): Replace md:demonstration with md:example

* docs(shortcodes): Replace demonstration with example

* docs(shortcodes): Replace demonstration with example

* docs(shortcodes): Build new theme

* docs(shortcodes): Build with pymdownx
2025-02-02 15:47:21 +07:00
squidfunk
2c52fa28e8 Fixed word breaks for excessively long words 2025-02-02 11:44:00 +07:00
squidfunk
2d147c72c0 Fixed crashing tags plugin 2025-01-31 13:10:59 +07:00
squidfunk
4ca5214ebf Corrected position of related links in blog post 2025-01-31 11:27:54 +07:00
squidfunk
1416697c6b Prepare 9.6.0 release 2025-01-31 11:02:40 +07:00
squidfunk
fefdd42c96 Merged features tied to 'Chipotle' funding goal 2025-01-31 10:31:48 +07:00
squidfunk
07a434b465 Fixed instant navigation anchor scoll restoration issue 2025-01-21 11:37:20 +07:00
squidfunk
6d1ef25146 Switched social plugin to other hook 2025-01-18 09:14:17 +07:00
squidfunk
365dc24062 Updated copyright year 2025-01-04 10:27:13 +01:00
squidfunk
968fbe1ae2 Fixed privacy plugin interop with generated files 2024-12-16 11:16:16 +01:00
squidfunk
b368cee13f Fixed diagram title not switching color in dark mode 2024-12-10 11:52:18 +01:00
squidfunk
a7dc57c239 Fixed disabling of social cards 2024-12-06 21:13:18 +01:00
squidfunk
d468344751 Fixed numeric tags breaking search 2024-11-25 18:24:01 +01:00
perpil
6288b26b90 Fixed timezone when draft_if_future_date: true (#7749)
* Set timezone to UTC when draft_if_future_date: true Fixes #7748

* Use more compact form of setting timezone
2024-11-25 18:13:00 +01:00
squidfunk
b3f1eb27fe Fixed uppercasing of code blocks in H5 headlines 2024-11-25 11:51:10 +01:00
Nejc Habjan
6a0a790e8f Added preload hints in privacy plugin replacements (#7733) 2024-11-22 14:24:58 +01:00
perpil
eee4934efd Fixed blog plugin crashing on missing timezone (regression) (#7730)
* Default timezone to UTC for blog plugin created date

Fix for https://github.com/squidfunk/mkdocs-material/issues/7725

* Fix variable name

* Run build
2024-11-20 18:22:48 +01:00
perpil
a08809a0f3 Fixed blog plugin crashing on dates with timezones (#7708)
* Normalize datetime values to UTC in blog plugin

Fixes #7705

Normalize datetime values to UTC in blog plugin to handle offset-naive and offset-aware datetimes correctly.

* Import `timezone` from `datetime` in `material/plugins/blog/structure/options.py`.
* Modify `pre_validation` method to set `tzinfo=timezone.utc` for datetime values.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/squidfunk/mkdocs-material/issues/7705?shareId=XXXX-XXXX-XXXX-XXXX).

* Normalize datetime values to UTC in blog plugin

Fixes #7705

+ Move changes to src directory
2024-11-19 13:39:37 +01:00
Nejc Habjan
eb63b608e2 Fixed file save regression in privacy plugin (#7673) 2024-11-05 19:17:10 +01:00