Commit Graph

396 Commits

Author SHA1 Message Date
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
Javier
ccbe8db6ee
Updated Spanish translations (#2132)
The word "Falta" is more appropriate.
2020-12-16 09:36:59 +01:00
squidfunk
7e78c4d8b7 Added distribution files 2020-12-15 09:02:26 +01:00
Martin B
bf9920b42b
Updated Swedish translations (#2127)
* Update sv.html

* Update sv.html
2020-12-15 09:01:04 +01:00
Javier
9c0351b008
Updated Spanish translations (#2126)
* Update es.html

Added missing translations in spanish language

* Update es.html
2020-12-15 08:59:51 +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
Writeup
81944ae1a1
Added Chinese translations for initializing search (#2026)
* Update zh.html

* Update zh-Hant.html

* Update zh-TW.html
2020-11-02 18:03:33 +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
ae3a372805 Documentation 2020-10-04 18:54:48 +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
69d0789b44 Documentation 2020-10-04 13:30:08 +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
squidfunk
e6ceb89d70 Removed deprecated meta data features 2020-09-27 08:54:36 +02:00
squidfunk
1037d591be Fixed Disqus integration, as the minifier killed the config 2020-08-28 19:41:49 +02:00
squidfunk
96f58edae6 Improved Disqus integration to be non-blocking 2020-08-28 18:26:55 +02:00
squidfunk
355a1cacd5 Fixed #1887: Moved icons in navigation to CSS to reduce size of large projects 2020-08-28 18:20:23 +02:00
squidfunk
4488256885 Added Esperanto translations 2020-08-26 20:15:26 +02:00
squidfunk
cdb426d54e Fixed tabs not showing external links 2020-08-26 20:06:47 +02:00
squidfunk
4e8fa6e201 Fixed erroneous comma in template 2020-08-16 14:42:34 +02:00
squidfunk
71bc294b67 Fixed theme colors for Android meta tag 2020-08-16 14:41:19 +02:00
squidfunk
b0bb26ec99 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:54:48 +02:00
squidfunk
6d6811451b Fixed race condition in instant loading 2020-07-24 10:47:26 +02:00
squidfunk
4e72d31043 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:40:15 +02:00
squidfunk
dd40970865 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:20:40 +02:00
squidfunk
66c939265f Added source links to docs 2020-07-16 23:05:57 +02:00
squidfunk
71e9b1d745 Improved getting started guide and added further guides 2020-07-16 22:31:39 +02:00
squidfunk
3f4e56157c Added Bengali (Bangla) translations 2020-06-24 08:20:07 +02:00
squidfunk
e6e7536356 Improved search experience in many languages 2020-06-21 13:22:48 +02:00
squidfunk
36e1e3db8b Fixed search in German, French and other languages 2020-06-07 13:56:45 +02:00
squidfunk
1df750a9fe Removed preconnect hint for Google Analytics 2020-06-07 12:08:12 +02:00
squidfunk
98ccd6f944 Merge branch 'master' into refactor/dark-mode 2020-05-09 15:13:57 +02:00
squidfunk
481e511a32 Added Burmese translations 2020-05-09 13:14:13 +02:00
squidfunk
de74821140 Fixed fallback translation in case of empty string 2020-05-09 13:13:50 +02:00
squidfunk
db7c28b20e Added name attribute to social links and improved defaults 2020-05-03 14:14:59 +02:00
squidfunk
671ec72407 Fixed German translations 2020-04-27 09:16:37 +02:00
squidfunk
0145f6d278 Added note when search is initializing 2020-04-26 18:29:13 +02:00
squidfunk
1ebef6565f Merge branch 'master' into refactor/dark-mode 2020-04-25 18:11:20 +02:00
iBug ♦
7b24345090
Fixed Chinese translations (#1580) 2020-04-08 20:12:50 +02:00
squidfunk
184dfea055 Fixed syntax error in Spanish translation 2020-04-07 21:25:03 +02:00
squidfunk
6aef0288b7 Fixed casing in footer 2020-04-04 17:43:56 +02:00
squidfunk
9e74bb7a32 Cleaned up search worker integration 2020-03-27 15:29:17 +01:00
squidfunk
c9b2c1eaab Moved logo to partials 2020-03-26 15:38:50 +01:00
squidfunk
c7e294c9fa Merge branch 'master' into refactor/rxjs-typescript 2020-03-26 15:28:55 +01:00
squidfunk
17fae53f31 Fixed header ellipsis when title equals site name 2020-03-25 17:13:48 +01:00
visig
b85b682b8b
Updated zh-TW translations (#1543) 2020-03-25 14:35:27 +01:00