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

1182 Commits

Author SHA1 Message Date
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
squidfunk
9203255595 Removed ResizeObserver polyfill due to decent browser support 2021-01-01 17:16:24 +01:00
squidfunk
b825d222a4 Refactored resize observer 2020-12-30 18:40:34 +01:00
squidfunk
a339a8afb6 Renamed 'language' partials folder into 'languages' for consistency 2020-12-30 13:21:27 +01:00
squidfunk
45aff3cfc5 Fixed table of contents highlighting for active anchor links 2020-12-30 11:05:23 +01:00
squidfunk
82b0ea8b0e Added syntax highlighting for binary numbers (Pygments) 2020-12-30 10:52:10 +01:00
squidfunk
b89705bb2e Added back hidden overflow on root container 2020-12-27 11:35:17 +01:00
squidfunk
afff64df99 Fixed cropping of MathJax formulas on some browsers 2020-12-22 17:42:57 +01:00
squidfunk
f3ad7e2f28 Reverted scroll-margin-top solution for anchors due to poor Safari support 2020-12-22 12:30:32 +01:00
squidfunk
65b41bbc9d Updated documentation 2020-12-21 17:38:58 +01:00
squidfunk
7a9147cfb7 Adjusted color of horizontal ruler 2020-12-20 16:09:42 +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
ca05a2d342 Fixed stats for private GitHub repositories 2020-12-06 11:15:13 +01:00
squidfunk
02260682ea Fixed Admonition rendering for right-to-left languages 2020-11-22 18:24:19 +01:00
squidfunk
4735169b29 Reduced upper glow (shadow) on Admonition bar 2020-11-22 14:00:32 +01:00
squidfunk
cda11a529a Removed box shadow on collapsed Admonitions 2020-11-22 13:51:41 +01:00
squidfunk
c90b9211f4 Updated documentation 2020-11-15 22:25:11 +01:00
squidfunk
874c015984 Fixed scrollbar showing on Windows for math formulas 2020-11-15 17:15:12 +01:00
squidfunk
0135353b7d Fixed invalid display strategy of search reset button 2020-11-15 15:55:21 +01:00
squidfunk
3872efc0fe Fixed unnecessary repaint when scrolling up with tabs 2020-11-13 11:20:46 +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