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
a8534f7a48
Fixed analytics events for own documentation
2021-06-06 16:28: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
bdbd4af29d
Improved touch-friendliness of version selector on mobile
2021-05-30 13:31:07 +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
squidfunk
409d151044
Fixed #2703 : search remains at 'Initializing search' on mobile
2021-05-27 11:36:08 +02:00
squidfunk
d6bb0b8a99
Updated dependencies
2021-05-24 15:34:23 +02:00
squidfunk
e2a1b679bf
Updated inline documentation for colors
2021-05-17 21:01:56 +02:00
squidfunk
920f11cf6e
Fixed details breaking page margins on print
2021-05-15 14:07:34 +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
2098fa42b2
Merge branch 'master' of github.com:squidfunk/mkdocs-material
2021-05-03 12:21:06 +02:00
squidfunk
0f285a1d4d
Fixed broken integration for git-revision-date-localized plugin
2021-05-03 12:21:01 +02:00
Martin Donath
c16b9a20b5
Merge pull request #2627 from Stanzilla/source-file
...
Fix source-file include
2021-05-03 12:20:21 +02:00
Tim Vink
440fc830de
Update path to source-file partial
2021-05-03 09:38:20 +02:00
Benjamin Staneck
3b6d4ac0b7
Fix source-file include
...
Fixes https://github.com/squidfunk/mkdocs-material/pull/2579#issuecomment-830806927
2021-05-02 15:32:43 +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
squidfunk
6c6dd2a0db
Improved footnote styles on :target and :focus
2021-05-01 19:56:40 +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
squidfunk
aea41d23c9
Improved style of footnote references
2021-04-21 09:37:47 +02:00
Tim Vink
8029b58d3d
Add support for git creation date, see #2551
2021-04-19 10:31:49 +02:00
squidfunk
b3a3918419
Fixed hover color of focused button on landing page
2021-04-18 18:51:42 +02:00
squidfunk
564c1dad43
Improved focus outlines when using keyboard navigation
2021-04-18 18:42:02 +02:00
squidfunk
2e60bca665
Improved focus outline for desktop navigation
2021-04-18 15:03:54 +02:00
squidfunk
21b543a038
Fixed list overlapping floated elements
2021-04-15 21:33:00 +02:00
squidfunk
8d752312aa
Fixed table of contents breaking when class is set on h1
2021-04-15 21:21:33 +02:00
squidfunk
a9b9faa3aa
Fixed back-to-top button being clickable when hidden
2021-04-15 21:04:42 +02:00
squidfunk
094819e1e4
Fixed wrong font-family on version selector
2021-04-11 18:36:49 +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
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
bb57ea9b2d
Fixed broken search in Safari <14
2021-04-10 10:48:04 +02:00
squidfunk
c011da1fa4
Removed display: flow-root on list elements
2021-03-29 19:21:47 +02:00
squidfunk
ca3da9e3ca
Merge of Insiders features tied to 'Black Pearl' funding goal
2021-03-29 18:46:57 +02:00
squidfunk
f43ef69ee5
Fixed inconsistent header shadow behavior
2021-03-28 12:04:59 +02:00
squidfunk
cb8d3f47e8
Added back background on inline code blocks in admonition titles
2021-03-28 11:35:44 +02:00
squidfunk
076946713c
Updated Insiders documentation
2021-03-21 17:14:32 +01:00
squidfunk
185f037fbc
Backup current changes
2021-03-21 14:04:29 +01:00
Koltai Péter
77358d73d8
Updated Hungarian translations ( #2471 )
2021-03-20 11:20:11 +01:00
Benjamin Staneck
b851237940
Fix lint ( #2460 )
...
This assertion is unnecessary since the receiver accepts the original type of the expression @typescript-eslint/no-unnecessary-type-assertion
2021-03-17 21:09:06 +01:00
squidfunk
6506a784e3
Added documentation on extra.homepage
2021-03-14 14:09:13 +01:00
squidfunk
90e9b8aeee
Documentation
2021-03-14 13:03:52 +01:00
squidfunk
c6e15970a9
Fixed margins for nested inline admonitions
2021-03-14 13:02:24 +01:00
squidfunk
0be8640aed
Updated screenshots and refactored version selector template
2021-03-14 12:17:19 +01:00
wbekerom
9fe820010e
Added trailing slash to version selector URL ( #2434 )
...
* Add trailing slash to version selector URL's
* Use template literal syntax
* Remove whitespace
2021-03-14 10:27:36 +01:00
Brennan Kinney
64349af06a
Fixed link-contained code block text color
...
Removes direct ancestor requirement, any content wrapped in an anchor tag is within the content boundaries of representing a link.
2021-03-14 10:20:28 +01:00
squidfunk
5fbcef3564
Refactored sponsorship overview into component
2021-03-13 15:53:37 +01:00
squidfunk
dbad649181
Formatting
2021-03-12 15:17:11 +01:00
squidfunk
393e05cc0a
Formatting
2021-03-12 15:15:41 +01:00
Benjamin Dobell
0a6869dcb6
Support TOC anchor targets vertical order differing from TOC order.
2021-03-13 00:48:04 +11:00
Martin Donath
781e00f78d
Merge pull request #2401 from polarathene/fix/version-selector-use-title-for-ui
...
fix(Version Selector): Current version should be consistent with drop-down listed version
2021-03-09 21:46:05 +01:00
squidfunk
5c03e8fc9b
Adjusted instant loading for new favicon link
2021-03-09 21:42:30 +01:00
Christian Oliff
68367d3e78
remove 'shortcut' from favicon meta tag
...
This isn't needed and was never part of the spec.
Great article here: https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs#did-we-forget-anyone
Also:
https://mathiasbynens.be/notes/rel-shortcut-icon
2021-03-09 20:39:29 +09:00
Brennan Kinney
48727db010
fix: Version selector should be consistent with drop-down
...
Use the presentational `title` value like the drop-down does; not the `version` value used to match the URL (version subdirectory).
2021-03-08 11:34:52 +13: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
b6779114b0
Fixed evaluation of third-party scripts when using instant loading
2021-03-07 19:04:17 +01:00
squidfunk
66a6713523
Fixed instant loading when used with use_directory_urls: false
2021-03-07 18:44:43 +01:00
squidfunk
1d790c9000
Fixed instant loading when used with use_directory_urls: false
2021-03-07 18:14:33 +01:00
squidfunk
d17c488b49
Fixed regression with header title not being updated correctly
2021-03-07 17:54:43 +01:00
squidfunk
526fbed394
Fixed version selection when using instant loading
2021-03-07 17:12:43 +01:00
squidfunk
f9cfd87708
Formatting
2021-03-07 15:40:20 +01:00
Jeremy Maitin-Shepard
3ee51acca2
Fix instant navigation when clicking on the logo button and logo is svg
2021-03-05 17:19:25 -08:00
squidfunk
5d0cae7ca6
Fixed expanded sections not opening on first click (mobile)
2021-03-05 18:58:12 +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
5a510cedb3
Fixed search index being loaded when search is disabled
2021-03-04 18:28:34 +01:00
squidfunk
f05c34e30d
Fixed expanded sections not collapsing on first click
2021-03-04 18:18:56 +01:00
squidfunk
f87e32debe
Added Islandic translations
2021-03-04 18:05:37 +01:00
squidfunk
eb35ab949c
Fixed localsearch integration
2021-03-01 20:08:59 +01:00
Sean Stewart
63015faf52
Add extracopyright
block to footer.html
2021-03-01 08:00:20 -05:00
squidfunk
71926399c4
Improved example admonition styles for dark backgrounds
2021-02-28 08:37:31 +01:00
squidfunk
dd3a4788cb
Formatting
2021-02-25 17:51:38 +01:00
squidfunk
7d5a463c60
Formatting
2021-02-25 17:29:11 +01:00
squidfunk
f40112e4c5
Fixed invalid version selector URL
2021-02-25 16:28:53 +01:00
squidfunk
d6317dc514
Formatting + moved search index fetching to top level
2021-02-24 18:02:09 +01:00
squidfunk
cb723d4bef
Improved focus outlines for icons
2021-02-24 11:35:45 +01:00
squidfunk
1864463e5c
Fixed double triggering of analytics events
2021-02-24 10:12:40 +01:00
squidfunk
a17b6375f0
Fixed image alignment and details inline positioning
2021-02-24 10:04:42 +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
f27eb1ee07
Fixed search not closing after navigation
2021-02-22 22:32:00 +01:00
squidfunk
ece3253d4f
Added back scroll locking
2021-02-22 22:27:30 +01:00
squidfunk
de49689f99
Fixed linter errors
2021-02-22 21:06:21 +01:00
squidfunk
4bd9fba470
Added support for version selector
2021-02-22 21:01:04 +01:00
squidfunk
99cc2e201b
Added support for language selector
2021-02-22 20:08:49 +01:00
squidfunk
9591265939
Added support for inline admonitions
2021-02-22 18:54:36 +01:00
squidfunk
3039e4150c
Merge branch 'master' into refactor/webpack
2021-02-22 18:29:14 +01:00
squidfunk
b97b747150
Finished migration to custom build
2021-02-22 18:19:00 +01:00
squidfunk
eb819535f6
Added asset manifest generation
2021-02-21 17:35:11 +01:00
squidfunk
4d462c1667
Added back SVG optimization
2021-02-21 14:34:17 +01:00
squidfunk
4957bb467d
Fixed visibility of exports
2021-02-21 11:59:38 +01:00
squidfunk
b65c40308d
Implemented SCSS compilation
2021-02-20 18:03:53 +01:00
Davor Cubranic
15320613d3
Call code font "monospace" instead of "proportional" in SCSS, too.
2021-02-19 06:02:50 -08:00
squidfunk
88fed997f5
Prototyped non-Webpack build
2021-02-18 22:18:45 +01:00
squidfunk
f154dcef80
Removed unnnessary share operator
2021-02-16 18:23:57 +01:00
squidfunk
ad27da16dc
Fixed code blocks not selectable via keyboard after content tabs switch
2021-02-15 18:23:39 +01:00
squidfunk
c5cbbd9ad8
Fixed dark mode for icon search
2021-02-15 17:48:01 +01:00
squidfunk
8de8da222f
Added logging of icon searches
2021-02-15 17:17:11 +01:00
squidfunk
51f6cfece4
Refactored icon search integration
2021-02-15 16:58:04 +01:00
squidfunk
356cde2ad8
Added emoji index to icon search
2021-02-15 15:57:44 +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
ab36f54a4e
Refactored overrides
2021-02-14 16:53:38 +01:00
squidfunk
a3b6ac9dd1
Fixed icon search
2021-02-14 16:19:46 +01:00
squidfunk
4ef15bd440
Improved search result rendering and icon search
2021-02-14 14:51:08 +01:00
squidfunk
a8b5cafa73
Deprecated DOMContentSwitch event
2021-02-13 17:20:55 +01:00
squidfunk
aacb5ca5a7
Added more inline comments and simplified component mounting
2021-02-13 17:03:15 +01:00
squidfunk
96797b471f
Moved form styles and inline clipboard from overrides to main
2021-02-12 18:30:47 +01:00
squidfunk
ed61f60970
Always close drawer on navigation
2021-02-12 17:08:58 +01:00
squidfunk
e7850ca184
Added back keyboard handlers
2021-02-12 16:41:33 +01:00
squidfunk
44751785a0
Added back patched
2021-02-12 16:22:06 +01:00
squidfunk
d664fafa6a
Reintroduced details marker
2021-02-12 16:05:47 +01:00
squidfunk
28d507ecfe
Refactored header autohiding and split overrides
2021-02-12 15:44:53 +01:00
squidfunk
f7907fc09c
Fixed linter errors
2021-02-12 13:38:18 +01:00
squidfunk
2c23f066ea
Merge branch 'master' into refactor/architecture
2021-02-12 13:22:32 +01:00
squidfunk
9c9ea8a64d
Refactored instant loading and some other components
2021-02-12 12:12:49 +01:00
Benjamin Staneck
07c4379221
Replaced deprecated -webkit-details-marker ( #2285 )
...
[Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
2021-02-11 20:33:15 +01:00
squidfunk
884330da3b
Centralized fetch methods
2021-02-11 19:41:34 +01:00
squidfunk
4808b46dfb
Fixed build
2021-02-07 18:14:43 +01:00
squidfunk
975f830dbb
Fixed SCSS linter errors
2021-02-07 18:08:21 +01:00
squidfunk
208c9ac3fd
Migrated to ESLint
2021-02-07 17:43:13 +01:00
squidfunk
4744d5f3f0
Refactored search initialization
2021-02-07 17:18:10 +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
squidfunk
c942a2e527
Fixed linting errors
2021-02-06 12:52:43 +01:00
squidfunk
0116f636f2
Prototyped icon search
2021-02-06 12:35:19 +01:00
squidfunk
08340e42a1
Simplified font configuration CSS
2021-02-06 09:57:40 +01:00
squidfunk
5666b7c625
Moved all overrides to common directory
2021-02-06 09:35:03 +01:00
fugaco
2ba9533c25
Updated Japanese translations ( #2268 )
...
Co-authored-by: fugaco <--global>
2021-02-04 11:39:45 +01:00
squidfunk
e3c608ace6
Fixed auto-closing print dialog when using instant loading
2021-02-02 20:51:42 +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
be1f9c113e
Fixed search not being shown when using header autohiding
2021-01-24 11:51:10 +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
5b1ee2ac98
Fixed Disqus integration being shown on 404 pages
2021-01-09 13:14:42 +01:00
squidfunk
7c0ccd4bff
Added documentation for native Mermaid integration (experimental)
2021-01-02 15:55:31 +01:00