Commit Graph

414 Commits

Author SHA1 Message Date
squidfunk
f3926bf444 Fixed filtering of subsequent index.md files when using section index pages 2021-12-19 11:12:30 +01:00
squidfunk
4be7cc5b1b Updated distribution files 2021-12-07 13:37:54 +01:00
squidfunk
0abade5308 Added distribution files 2021-12-05 12:27:21 +01:00
squidfunk
632eff2e19 Fixed base path in storage helpers not updated for instant loading 2021-12-05 11:37:21 +01:00
squidfunk
0b22e78832 Fixed default details marker showing due to Safari bug 2021-12-02 15:02:32 +01:00
squidfunk
f9044530e6 Removed deprecated google_analytics setting 2021-11-30 19:14:18 +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
squidfunk
5f6a6328c5 Updated dependencies 2021-11-20 09:14:20 +01:00
squidfunk
b4e0467878 Reverted page partials into a single one due to better performance 2021-11-14 08:22:57 +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
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
Miodrag Milić
858edd0d83 fix sr and sh language typo 2021-09-26 16:48:28 +02:00
squidfunk
377b4d648f Merge of Insiders features tied to 'Caribbean Red' funding goal 2021-09-23 08:53:51 +02:00
squidfunk
7495589830 Added distribution files 2021-09-19 16:26:38 +02:00
squidfunk
a633f12e09 Added premium sponsors to Insiders page 2021-09-04 13:06:35 +02:00
squidfunk
277dce7c8b Updated distribution files 2021-08-24 18:34:32 +02:00
squidfunk
619d47f562 Prepare 7.2.2 release 2021-07-31 10:35:21 +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
squidfunk
d626b1c967 Updated distribution files 2021-07-18 10:27:02 +02:00
squidfunk
122126cbde Updated dependencies 2021-06-25 11:34:51 +02:00
squidfunk
b25e5f480e Updated Chinese translations 2021-06-17 08:53:56 +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
7485a612b6 Prepare 7.1.7 release 2021-06-06 15:16:24 +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
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
squidfunk
9da2afef91 Documentation + added distribution files for git creation date integration 2021-05-02 11:24:34 +02:00
squidfunk
319db2d57d Fixed empty table of contents being rendered 2021-04-24 11:15:05 +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
squidfunk
ff9e2841cc Fixed visual quirk when opening language selector 2021-04-10 11:22:21 +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
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
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
4ca3fa5668 Added distribution files 2021-02-22 18:36:27 +01:00
squidfunk
5dc7a79e07 Added Sinhalese translations and fixed linter errors 2021-02-14 17:36:39 +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
squidfunk
ce4b78fedb Added distribution files 2021-02-01 10:01:59 +01:00
squidfunk
ee4efb4f5b Added Bulgarian translations 2021-01-26 09:49:46 +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
squidfunk
7e78c4d8b7 Added distribution files 2020-12-15 09:02:26 +01:00
squidfunk
0135353b7d Fixed invalid display strategy of search reset button 2020-11-15 15:55:21 +01:00
squidfunk
86a4c47c0a Switched to Jinja's safer string concatenation operator 2020-11-08 11:13:02 +01:00
squidfunk
acc4a273c4 Simplified conditionals in templates 2020-11-07 16:09:06 +01:00
squidfunk
7c1ffcee95 Fixed distribution files after bad merge 2020-11-03 17:57:37 +01:00
squidfunk
24bcf9de53 Removed unnecessary URL filter 2020-10-18 11:56:29 +02:00
squidfunk
48b4120b8f Fixed relative homepage links for nested pages when building locally 2020-10-18 11:52:29 +02:00
squidfunk
454339bd35 Fixed site_url (link behind home button) for usage from file:// 2020-10-04 18:37:52 +02:00
squidfunk
e149006af9 Escaped link titles where necessary 2020-10-04 14:24:43 +02:00
squidfunk
52787c6a9c Removed unnecessary title attributes in links 2020-10-04 14:18:10 +02:00
squidfunk
6248412844 Added Georgian translations 2020-10-04 13:29:24 +02:00
squidfunk
8f61fd3b56 Funding goal reached: merged back new search UI/UX from Insiders 2020-09-27 09:40:05 +02:00