Commit Graph

546 Commits

Author SHA1 Message Date
squidfunk
9979cbf9ec Removed deprecations 2022-11-12 12:50:20 +01:00
squidfunk
6a1b86e8c6 Fixed development environment and overrides 2022-11-11 18:39:38 +01:00
squidfunk
074a0c86cd Fixed issues with color overrides by always setting color attributes 2022-11-08 15:40:03 +01:00
squidfunk
4caa165b97 Ensure checked flag is reset 2022-10-28 16:42:58 +07:00
squidfunk
006f520f37 Added support for always showing settings in cookie consent 2022-10-28 16:41:14 +07:00
squidfunk
c8eac99591 Formatting 2022-10-28 16:09:19 +07:00
squidfunk
4b51fa21a8 Adjusted checks for plugins in templates 2022-10-16 16:36:38 +07:00
Oleh Prypin
98c32aa24d Guard against repo_url being None in MkDocs 1.4 2022-10-01 16:25:03 +02:00
squidfunk
c7deb06b79 Fixed cookie consent when analytics was not set 2022-09-20 13:39:12 +02:00
squidfunk
06629ffdad Documentation 2022-09-18 15:40:38 +02:00
squidfunk
6b1ce14683 Require consent for GitHub repository stats if consent is enabled 2022-09-18 15:26:59 +02:00
squidfunk
419740831d Merged features tied to Scotch Bonnet funding goal 2022-09-13 12:35:14 +02:00
squidfunk
1cf9d45c28 Updated documentation 2022-09-11 19:25:40 +02:00
squidfunk
c6dd6b67d5 Moved page edit action into separate partial 2022-09-03 21:33:49 +02:00
squidfunk
909591e0a8 Added support for changing edit icon 2022-09-01 16:54:05 +02:00
squidfunk
3d8e82ccf7 Formatting 2022-08-27 13:13:32 +02:00
squidfunk
46d06c1c1d Fixed feedback widget not shown when using instant loading 2022-08-27 11:39:17 +02:00
Din Mušić
2e8ebf58a5
Updated Slovenian translations (#4284) 2022-08-27 10:48:57 +02:00
squidfunk
71f40c5efa Fixed Croatian translations 2022-08-21 09:48:18 +02:00
squidfunk
2d44af6598 Updated Croatian translations 2022-08-21 09:31:50 +02:00
Vedran Miletić
f9c40d26b2
Updated Croatian translations (#4265) 2022-08-21 09:29:32 +02:00
Amir E. Aharoni
612429c903
Updated Hebrew translations (#4243)
* Fix existing Hebrew translations

* Add more Hebrew translations

Copy missing keys from the English file and translate them.

* Remove unnecessary separator from Hebrew translations

* Remove unnecessary search configuration for Hebrew
2022-08-15 16:25:37 +02:00
squidfunk
7427662fe2 Fixed syntax error in Chinese (Simplified) translations 2022-08-13 09:55:09 +02:00
squidfunk
5f360d2771 Added Tagalog translations 2022-08-13 09:19:16 +02:00
squidfunk
eef9bdece9 Added Lithuanian translations 2022-08-13 09:12:58 +02:00
squidfunk
53482b61ba Added Urdu translations 2022-08-13 09:00:52 +02:00
squidfunk
63f736bbdd Added Armenian translations 2022-08-13 08:52:53 +02:00
Jason Ren
b5df9b8686
Updated Chinese (Simplified) translations (#4181)
add string translations related to 8.4.0 release
2022-08-13 08:45:59 +02:00
squidfunk
de438d5d9d Merged features tied to Royal Gold funding goal 2022-07-20 17:25:55 +02:00
Blueswen
7d578d82de
Updated zh-TW translations (#4071) 2022-06-27 17:27:23 +02:00
squidfunk
e3bea56112 Added missing safe guard for hiding footer navigation 2022-06-04 07:51:30 +02:00
squidfunk
95f80479a2 Removed unnecessary safe guards in templates 2022-06-04 07:51:12 +02:00
squidfunk
e2556d84d6 Merge of features tied to 'Trinidad Scorpion' funding goal 2022-06-02 17:20:33 +02:00
squidfunk
ec441cdabe Added Uzbek translations 2022-05-14 09:47:20 +02:00
squidfunk
33e65f7c70 Fixed escape sequences on search separators 2022-05-14 09:40:59 +02:00
squidfunk
3666d09c8d Added missing escape characters to search separators 2022-05-05 08:43:56 +02:00
squidfunk
a8cb5d0abb Documentation 2022-04-27 15:05:12 +02:00
squidfunk
e77aa0015a Added Macedonian translations 2022-04-24 12:38:52 +02:00
squidfunk
d926bb4c27 Added button to view source of every page 2022-04-07 19:18:50 +02:00
squidfunk
eab95da23f Fixed deprecation warnings for unescaped backslashes in Jinja templates 2022-03-22 18:16:17 +01:00
squidfunk
b5e71dfcb1 Merge of Insiders features tied to 'Aji Panca' funding goal 2022-02-17 17:20:36 +01:00
squidfunk
275465230e Added Portuguese (Brasilian) translations 2022-02-10 21:55:45 +01:00
squidfunk
a021c746f5 Fixed Latvian translations 2022-01-25 18:02:29 +01:00
squidfunk
219dd3d047 Fixed Latvian translations 2022-01-25 16:48:42 +01:00
squidfunk
6816aa8cd0 Added Latvian translations 2022-01-23 12:17:44 +01:00
squidfunk
29cc1dddfa Documentation 2022-01-16 11:26:29 +01:00
squidfunk
9655c3a924 Updated dependencies and bumped copyright year 2022-01-10 09:59:00 +01:00
squidfunk
cffb403435 Added Bahasa Malaysian translations 2022-01-09 14:20:09 +01:00
squidfunk
0bd5ff2741 Added polyfills for unfetch, URL, Object.entries and Element.scrollTo 2022-01-06 20:57:06 +01:00
squidfunk
f3926bf444 Fixed filtering of subsequent index.md files when using section index pages 2021-12-19 11:12:30 +01:00
arterm-sedov
f851cb1603
Fixed syntax error in Russian translations (#3319)
Comma was missing before the last item
This caused a crash during the documentation build
File "..\Python\Python310\lib\site-packages\material\partials\languages\ru.html", line 36, in template jinja2.exceptions.TemplateSyntaxError: expected token ':', got ','
2021-12-07 13:20:35 +01:00
squidfunk
0abade5308 Added distribution files 2021-12-05 12:27:21 +01:00
squidfunk
ba7a227800 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-12-05 11:38:27 +01:00
squidfunk
632eff2e19 Fixed base path in storage helpers not updated for instant loading 2021-12-05 11:37:21 +01:00
arterm-sedov
9c6dfc464d
Updated Russian translations (#3298)
* added the missing Russian strings

As suggested last week by @squidfunk, added the missing Russian strings

Also fixed:
1. search.result.other string per Russian grammar plural rules, reference:
https://developer.mozilla.org.cach3.com/en/Localization_and_Plurals#Plural_rule_.237_.283_forms.29

2. source.file.date.created which was mistranslated as an adjective rather than a

Apart of that I'd suggest to change   "toc.title": "Содержание" to "toc.title": "Содержание раздела" (as Содержание in Russian refers to a complete documentation set contents)

* updated "toc.title" to "Содержание раздела"

updated "toc.title" to "Содержание раздела", previous "Содержание" version referred to a complete documentation table of contents (rather than a section/page contents)
2021-12-05 08:47:49 +01:00
Neil Hanlon
ae6bdb4278
Fixed Swedish and Polish translations (#3279) 2021-11-30 22:57:46 +01:00
squidfunk
f9044530e6 Removed deprecated google_analytics setting 2021-11-30 19:14:18 +01:00
squidfunk
fbbafc2455 Formatting 2021-11-28 17:48:38 +01:00
squidfunk
44b8272dc9 Merge branch 'master' into feature/insiders-ghost-pepper 2021-11-28 14:58:25 +01:00
squidfunk
e44034d456 Cleaned up toc partial 2021-11-21 23:26:11 +01:00
Jason Ren
77171e02a4
Updated Chinese translations (#3231)
* Update zh.html

Fix missing Chinese translations (for mkdocs-material v8)

* Update zh.html

Finished translation of "search.result.term.missing"

* Update zh.html
2021-11-20 09:14:56 +01:00
Martin B
02890ec48a
Updated Swedish translations (#3227)
Updated Swedish translations.
2021-11-20 09:14:42 +01:00
Andrea Borruso
d51279ae72
Updated Italian translations (#3224)
* added back to top Italian localization

* added all missing items

* Update it.html

* same order as in the en.html

* Update it.html
2021-11-15 08:24:08 +01:00
squidfunk
b4e0467878 Reverted page partials into a single one due to better performance 2021-11-14 08:22:57 +01:00
squidfunk
796cb583b7 Documentation 2021-11-13 13:52:11 +01:00
squidfunk
4d2102c3b8 Removed unnecessary redundant imports 2021-11-13 13:50:46 +01:00
squidfunk
d9b7928316 Fixed page header partial 2021-11-13 13:43:52 +01:00
squidfunk
fe06e8dcba Moved copyright into dedicated partial 2021-11-13 13:41:07 +01:00
squidfunk
7f4458eb18 Removed Disqus integration 2021-11-13 13:15:58 +01:00
squidfunk
d5593e34a5 Removed block syntax from partial 2021-11-13 13:11:19 +01:00
squidfunk
6db782a64c Improved extensibility by restructuring template blocks 2021-11-13 13:08:22 +01:00
squidfunk
887b7115fc Merge of Insiders features tied to 'Ghost Pepper' funding goal 2021-11-13 11:39:10 +01:00
squidfunk
0d72009312 Merge branch 'master' into feature/insiders-ghost-pepper 2021-11-13 08:57:00 +01:00
Alkis Georgopoulos
26d1e437f7
Updated Greek translation (#3191)
* Update Greek translation

* Fix Search for Greek content

* Avoid trimmer but not stopWordFilter
2021-11-13 08:52:23 +01:00
squidfunk
0130bcbca2 Deleted deprecated source-date.html partial 2021-11-13 08:47:33 +01:00
squidfunk
ce602ddf2a Updated documentation 2021-11-07 12:35:21 +01:00
squidfunk
fb64efa5ef Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-11-04 20:59:17 +01:00
squidfunk
f3c27fdaf9 Added backward compat for Greek translations 2021-11-04 20:59:09 +01:00
Garrett
07bea1e36e
Added support for site search tracking with GA4 (#3184)
* Send search analytics events for GA4

* move docs into content tabs
2021-11-04 20:58:03 +01:00
Alkis Georgopoulos
c15a9d183b
Fixed invalid ISO language code for Greek (#3183) 2021-11-04 20:50:48 +01:00
squidfunk
25c91b967a Formatting 2021-10-27 19:03:48 +02:00
squidfunk
4bdfef47eb Added support for setting table of contents title via mkdocs.yml 2021-10-27 19:01:47 +02:00
squidfunk
149b0dbc47 Fixed rendering of section index pages with no other pages 2021-10-02 16:51:47 +02:00
squidfunk
eaa6e91884 Re-use Disqus configuration 2021-10-02 13:51:54 +02:00
squidfunk
e71b129433 Fixed Disqus integration with instant loading 2021-10-02 13:48:23 +02:00
squidfunk
12666a3c00 Fixed incompatibility between navigation.sections and navigation.indexes 2021-10-02 11:41:32 +02:00
squidfunk
32ab26a664 Fixed Serbian translations 2021-09-30 20:36:56 +02:00
squidfunk
377b4d648f Merge of Insiders features tied to 'Caribbean Red' funding goal 2021-09-23 08:53:51 +02:00
Miodrag Milić
a6296573e0 update serbian translation (redo) 2021-09-09 12:48:03 +02:00
Miodrag Milić
6ac1141ce8 update serbian translation 2021-09-09 12:44:13 +02:00
L&H
bac2397afe
Updated Chinese translations 2021-09-03 12:17:00 +02:00
L&H
c41a5f1321
Updated Chinese translations (#2994) 2021-09-03 12:16:51 +02:00
Erli Soares
b762812685
Updated Portuguese translations (#2969)
fix: #2968
2021-08-24 16:11:11 +02:00
J-H-Cho
1e3859066c
Updated Korean translations (#2875)
Fixed `source.file.date.created` and added some missing Korean translations.
2021-07-28 09:14:22 +02:00
squidfunk
d68fe9102a Merge of Insiders features tied to 'Biquinho Vermelho' funding goal 2021-07-21 17:08:10 +02:00
Olivier Robardet
d2ccbf3a1e
Added missing translations for French (#2852) 2021-07-20 17:46:11 +02:00
flanciskinho
5788755bbd
Updated Spanish and Galician translations (#2843) 2021-07-18 10:20:36 +02:00
squidfunk
122126cbde Updated dependencies 2021-06-25 11:34:51 +02:00
Jack Cherng
0ecc5bebe3
Fixed Chinese translation for "source.file.date.created" (#2751)
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2021-06-17 08:19:17 +02:00
Harmen CHRISTOPHE
a07322fe54
Escaped aria-label in footer links (squidfunk/mkdocs-material#2735) (#2746) 2021-06-09 20:54:27 +02:00
squidfunk
b3c0ecc161 Fixed error when no analytics provider was set 2021-06-06 17:36:50 +02:00
squidfunk
ed9347c487 Refactored analytics integration 2021-06-06 17:32:30 +02:00
squidfunk
11fcf4f0ab Added aria labels to language and version selector 2021-06-06 15:11:04 +02:00
Benjamin Staneck
2a5ba14ebe
Added aria-label to language selector button (#2725) 2021-06-06 14:52:14 +02:00
squidfunk
42500aafa2 Added aria labels to palette toggles 2021-06-06 14:47:20 +02:00
squidfunk
0dd483121a Added aria labels to footer links 2021-06-06 14:29:01 +02:00
squidfunk
093c67880d Added Mongolian translations 2021-05-30 11:52:16 +02:00
trails-game
5fbdba2b13
Updated Chinese translations (#2711)
Minor improvement on Chinese translation
2021-05-30 10:26:01 +02:00
Benjamin Staneck
44d6fb04c7
Added title to back-to-top button (#2631)
* Add title to to-top button

* Rename
2021-05-04 12:15:41 +02:00
squidfunk
0f285a1d4d Fixed broken integration for git-revision-date-localized plugin 2021-05-03 12:21:01 +02:00
Tim Vink
440fc830de Update path to source-file partial 2021-05-03 09:38:20 +02:00
Martin Donath
1bb22efbce
Merge pull request #2579 from timvink/master
Add support for git creation date
2021-05-02 10:57:05 +02:00
Tim Vink
cee1eb465d Add source-file.html partial and rename date based translation 2021-04-25 19:57:30 +02:00
squidfunk
319db2d57d Fixed empty table of contents being rendered 2021-04-24 11:15:05 +02:00
Tim Vink
8029b58d3d Add support for git creation date, see #2551 2021-04-19 10:31:49 +02:00
squidfunk
8d752312aa Fixed table of contents breaking when class is set on h1 2021-04-15 21:21:33 +02:00
squidfunk
b968bf6e8f Formatting 2021-04-11 14:17:47 +02:00
squidfunk
8015c3991e Fixed focus/hover hierarchy of version selector 2021-04-11 13:07:39 +02:00
squidfunk
2c973e1755 Allow to define color schemes without toggles 2021-04-10 19:36:59 +02:00
EdouardThiel
599fdf9c5f
Updated extracopyright in footer (fixes issue 2508) (#2509)
Replace the extracopyright block,which doesnt' work, by a variable `{{ extracopyright }}` that can be set e.g from `overrides/main.html` with `{% set extracopyright %} ... {% set %}`; see issue [`#2508`](https://github.com/squidfunk/mkdocs-material/issues/2508)
2021-04-10 11:01:22 +02:00
squidfunk
ca3da9e3ca Merge of Insiders features tied to 'Black Pearl' funding goal 2021-03-29 18:46:57 +02:00
Koltai Péter
77358d73d8
Updated Hungarian translations (#2471) 2021-03-20 11:20:11 +01:00
squidfunk
47659c24d7 Renamed home component to logo 2021-03-07 19:39:03 +01:00
squidfunk
859173ef88 Fixed logo URL not being updated when using instant loading 2021-03-07 19:36:51 +01:00
squidfunk
5037094b12 Fixed problems with mike when logo points to site_url 2021-03-07 19:23:24 +01:00
squidfunk
99aa411d6b Documentation 2021-03-05 10:36:46 +01:00
Martin Donath
1e9746b841
Merge pull request #2362 from seandstewart/add-extracopy-footer
Add `extracopyright` block to footer.html
2021-03-04 18:40:24 +01:00
squidfunk
f87e32debe Added Islandic translations 2021-03-04 18:05:37 +01:00
Sean Stewart
63015faf52 Add extracopyright block to footer.html 2021-03-01 08:00:20 -05:00
squidfunk
dd3a4788cb Formatting 2021-02-25 17:51:38 +01:00
squidfunk
7d5a463c60 Formatting 2021-02-25 17:29:11 +01:00
squidfunk
d6317dc514 Formatting + moved search index fetching to top level 2021-02-24 18:02:09 +01:00
squidfunk
0b2e14056a Renamed internal icon reference for language selector 2021-02-23 10:34:01 +01:00
squidfunk
20f7440280 Prepare 7.0.0 release 2021-02-22 23:05:09 +01:00
squidfunk
99cc2e201b Added support for language selector 2021-02-22 20:08:49 +01:00
squidfunk
5dc7a79e07 Added Sinhalese translations and fixed linter errors 2021-02-14 17:36:39 +01:00
squidfunk
08e8525689 Updated copyright year 2021-02-14 16:54:27 +01:00
squidfunk
a8b5cafa73 Deprecated DOMContentSwitch event 2021-02-13 17:20:55 +01:00
squidfunk
2c23f066ea Merge branch 'master' into refactor/architecture 2021-02-12 13:22:32 +01:00
squidfunk
ae867d484b Squashed commit of the following:
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 16:25:06 2021 +0100

    Refactored more stuff

commit 5a2108254f1222db7de08690e13c24e972ea19c0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 13:48:16 2021 +0100

    Refactored more stuff

commit b3a112f4bddefebcf9dbd1d0ffe240d86fc9aa08
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 12:02:42 2021 +0100

    Refactored more stuff

commit bff323b6b81571021c0ac9be6f637de7728447a5
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 18:14:52 2021 +0100

    Refactored search result list

commit 27b7e7e2da3b725797ad769e4411260ffd35b9f8
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 17:12:36 2021 +0100

    Refactored more components

commit 3747e5ba6d084ed513a2659f48f161449b760076
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 18:56:26 2021 +0100

    Implemented new architecture for several components

commit ea2851ab0f27113b080c2539a94a88dc0332be84
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 14:53:42 2021 +0100

    Removed unnecessary height declaration for sidebars

commit 3c3f83ab4ef392dbabf1a11afba2556e529b1674
Merge: 91d239d8 13024179
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 13:04:49 2021 +0100

    Merge branch 'master' into refactor/observable-architecture

commit 91d239d86649b9571b376011669bc73a7865b186
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Jan 9 13:11:04 2021 +0100

    Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
fugaco
2ba9533c25
Updated Japanese translations (#2268)
Co-authored-by: fugaco <--global>
2021-02-04 11:39:45 +01:00
Jakub
2251be4f68
Update Polish translations (#2262) 2021-02-01 10:00:38 +01:00
squidfunk
ee4efb4f5b Added Bulgarian translations 2021-01-26 09:49:46 +01:00
squidfunk
9ca69ed274 Updated Insiders documentation 2021-01-25 09:54:19 +01:00
squidfunk
130241791d Formatting 2021-01-24 13:02:42 +01:00
squidfunk
ebd8839a03 Formatting 2021-01-17 10:41:10 +01:00
Oleh Prypin
81a13f6bc6
Optimized nested navigation rendering: don't cross template boundary (#2213)
The number of calls to sub-templates when rendering the navigation is O(n^2) relative to the number of pages. This is the only such instance, which is why I think this is worth optimizing.

The optimization here doesn't improve the complexity, it just removes the overhead of instantiating a new Jinja template for each of these calls.

E.g. for 710 pages on the site, the number of calls to Jinja's `get_template` (implying `new_context` and others) crosses a million ==(710**2)*2. They're not expensive but also not super cheap, and add up to a big percentage of overall site build times.
2021-01-17 10:38:03 +01:00
allmightyse
1e0a242d92
Fixed syntax error in Swedish translations (#2210)
* Update sv.html

#2209 Correct syntax error from ; to :

* Update sv.html
2021-01-15 15:03:13 +01:00
squidfunk
a339a8afb6 Renamed 'language' partials folder into 'languages' for consistency 2020-12-30 13:21:27 +01:00
squidfunk
d754bd9a71 Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00:21 +01:00