1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00
Commit Graph

2060 Commits

Author SHA1 Message Date
squidfunk
06e8ccd979
Formatting 2023-08-23 10:41:44 +02:00
squidfunk
2d716453e0
Fixed generation of entrypoint in blog plugin 2023-08-22 16:47:54 +02:00
squidfunk
382101d8a3
Documentation 2023-08-22 15:41:30 +02:00
squidfunk
6ee9df6e1a
Fixed rendering in blog plugin with markdown.extensions.toc 2023-08-22 15:20:10 +02:00
squidfunk
0704046536
Fixed compatibility with Python < 3.10 2023-08-22 11:22:56 +02:00
squidfunk
9f3efb8a59
Documentation 2023-08-22 07:59:36 +02:00
squidfunk
62d4a16067
Fixed edge cases for standalone case when using blog plugin 2023-08-22 07:56:33 +02:00
squidfunk
a0cb4a7230
Documentation 2023-08-21 23:50:49 +02:00
squidfunk
817caf0b61
Refactored blog plugin 2023-08-21 23:43:31 +02:00
squidfunk
7099ea60a9
Fixed several errors in blog plugin 2023-08-21 23:01:37 +02:00
squidfunk
4759c7aaaf
Fixed error when using git-revision-date-localized-plugin with blog 2023-08-21 18:23:00 +02:00
Jonathan Hiles
92be65e577
Fixed version selector not being hoverable on some Android devices (#5806) 2023-08-21 18:14:49 +02:00
squidfunk
ee537b5cc7
Documentation 2023-08-21 18:14:08 +02:00
Sigurd Spieckermann
a6a37ab9d0
Moved header options to partials (#5877)
* Improved warning in social plugin about site_url

* Documentation

* Documentation

* Extract header options into partials

---------

Co-authored-by: squidfunk <martin.donath@squidfunk.com>
2023-08-21 18:08:46 +02:00
squidfunk
0de17c6197
Moved condition outside of tags partial 2023-08-21 18:06:46 +02:00
squidfunk
efdb146c30
Fixed linter errors 2023-08-21 17:56:11 +02:00
squidfunk
38b7282b20
Refactored blog plugin (+ other plugins) 2023-08-21 17:45:32 +02:00
squidfunk
1fa81d05f4
Merge branch 'master' into merge/piri-piri 2023-08-21 16:48:10 +02:00
squidfunk
914df5fe70
Improved warning in social plugin about site_url 2023-08-19 14:38:58 +02:00
squidfunk
052a7bcedf
Merge branch 'master' into merge/piri-piri 2023-08-19 14:22:25 +02:00
squidfunk
688c9de4c9
Updated Serbo-Croatian translations
Co-authored-by: MladenPuzic <11843073+MladenPuzic@users.noreply.github.com>
2023-08-19 14:20:23 +02:00
squidfunk
2cfe872a4c
Merge branch 'master' of github.com:squidfunk/mkdocs-material 2023-08-19 14:14:26 +02:00
squidfunk
245278b77a
Added Luxembourgish translations
Co-authored-by: IanToujou <44029196+IanToujou@users.noreply.github.com>
2023-08-19 14:14:13 +02:00
Sigurd Spieckermann
2dd6f64464 Use flex gaps instead of whitespaces between social icons 2023-08-17 11:33:18 +02:00
squidfunk
d005e85cdb
Refactored offline plugin 2023-08-10 18:30:55 +02:00
squidfunk
554976f90f
Added prompt for bug report name to info plugin 2023-08-10 15:32:46 +02:00
squidfunk
50f455ec09
Automatically focus and bring up keyboard on touch devices 2023-08-10 14:40:26 +02:00
squidfunk
0be6172765
Switched info plugin to importlib to mitigate deprecations 2023-08-10 13:45:51 +02:00
squidfunk
15c024cbbf
Fixed draft blog posts appearing in tags index 2023-08-10 13:31:17 +02:00
squidfunk
5e64e92e23
Merge branch 'master' into fix/instant-loading 2023-08-01 19:28:09 +02:00
squidfunk
a4babcf37c
Improved dark mode link color for better accessibility 2023-08-01 19:21:51 +02:00
squidfunk
04bde62c91
Added support for adding update dates to blog posts 2023-08-01 19:10:11 +02:00
squidfunk
d7ffa27b40
Merge branch 'master' into merge/piri-piri 2023-07-27 09:52:14 +02:00
squidfunk
eed928ea42
Merge branch 'master' into merge/piri-piri 2023-07-27 09:33:35 +02:00
Kamil Krzyśków
f548d79991 Updated social plugin to use theme.custom_dir 2023-07-25 19:27:48 +01:00
squidfunk
44674f0fdb
Documentation 2023-07-24 12:51:28 +01:00
squidfunk
ab178b2bc2
Improve plugin inter-op with external tools like mike 2023-07-24 12:29:16 +01:00
squidfunk
405dfce64c
Improve support for instant loading with keyboard navigation 2023-07-22 11:44:18 +01:00
Anindita Basu
0d2ccf7217
Update sa.html
-  साझां is not a Sanskrit word; rather, it's a vulgate word that can trace its origin to the Sanskrit सहार्ध्य. Therefore, replacing साझां कुर्वन्तु with the imperative form of the Sanskrit verb भज् (the word for 'share'), which is भजतु (first person, singular).

-  दस्तावेजः is not a Sanskrit word at all; it's of Persian origin. Therefore, replacing all instances of दस्तावेजः with the conjugated form of अभिलेखः 

-  The correct word for 'tabs' is पट्टाः , not दस्तावेज़ 

-  Corrected the awkward construction for the search results phrases
2023-07-19 17:21:48 +05:30
squidfunk
ef448ed945
Fixed rendering of tags (9.2.0b0 regression) 2023-07-18 11:43:39 +01:00
squidfunk
e897b89125
Added support for MkDocs 1.5
Co-authored-by: oprypin <371383+oprypin@users.noreply.github.com>
2023-07-18 10:59:32 +01:00
Olivier Robardet
56975d7a57
Fix french translation of 'readtime.other' 2023-07-13 17:36:19 +02:00
squidfunk
10b150112e
Improved error reporting in social plugin 2023-07-10 17:53:51 +01:00
squidfunk
3e34f6c72d
Added focus outline to admonitions and details 2023-07-09 18:14:43 +01:00
squidfunk
f64d8658d3
Added support for customizing (code) annotation icons 2023-07-07 11:15:52 +02:00
squidfunk
320c852565
Hide announcement bar button when JavaScript is not available 2023-07-07 10:31:41 +02:00
squidfunk
b37c668a9a
Removed necessity for Array.flat and Array.flatMap polyfill 2023-07-07 10:22:47 +02:00
squidfunk
54bef7bfe5
Automatically download ResizeObserver polyfill when necessary 2023-07-07 10:07:18 +02:00
squidfunk
fb9c9f9486
Removed Universal Analytics integration (UA-XXXXXXXX-X) 2023-07-06 16:05:19 +02:00
Martin Donath
b2a20a2a11
Merge pull request #5281 from nejch/feat/all-icons-yaml
Allow overriding all HTML-inlined icons via yaml only
2023-07-06 15:53:50 +02:00
squidfunk
7ef079012b
Hoisted active state of navigation tabs link into item 2023-07-06 15:45:36 +02:00
squidfunk
e6f779933a
Merge branch 'merge/piri-piri' into refactor/polyfills 2023-07-06 13:38:30 +02:00
squidfunk
0f1e2de072
Merge branch 'master' into refactor/polyfills 2023-07-06 13:28:16 +02:00
squidfunk
bef6962ff2
Fixed linter errors 2023-07-06 13:15:17 +02:00
squidfunk
6b2f15f8e1
Fixed rendering bugs for pruned navigation items 2023-07-06 13:12:05 +02:00
squidfunk
ee9224fc07
Fixed errors after merge 2023-07-05 18:08:47 +02:00
squidfunk
1bee037713
Merge of features tied to 'Piri Piri' funding goal' 2023-07-05 17:39:33 +02:00
squidfunk
5dc5998031
Added Danish translations
Co-authored-by: Yacobolo <45033225+Yacobolo@users.noreply.github.com>
2023-07-02 13:03:06 +02:00
Hendrik
bb0d6950ac
also exclude lookbehinds from hightlighter seperator, to better support custom seperators for camelCasing + PascalCasing 2023-06-28 21:53:13 +02:00
squidfunk
d8a0e36ce3
Fixed regression in config deprecation in social plugin 2023-06-23 11:53:07 +02:00
squidfunk
3be797ece8
Fixed annotations with nested lists not being mounted correctly 2023-06-23 09:36:45 +02:00
squidfunk
118904c216
Updated Indonesian translations
Co-authored-by: Abyanu163 <127492205+Abyanu163@users.noreply.github.com>
2023-06-07 16:34:20 +02:00
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