Commit Graph

3195 Commits

Author SHA1 Message Date
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
d38be547b6 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-01-12 17:14:50 +01:00
squidfunk
6cb4c86c77 Removed Snippets extension for demonstration purposes 2021-01-12 17:14:41 +01:00
dependabot-preview[bot]
9b4a554ea8 Bump @types/resize-observer-browser from 0.1.4 to 0.1.5
Bumps [@types/resize-observer-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/resize-observer-browser) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/resize-observer-browser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:42:56 +00:00
dependabot-preview[bot]
4584678129 Bump sass from 1.32.0 to 1.32.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.0 to 1.32.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.0...1.32.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:42:24 +00:00
dependabot-preview[bot]
c8cefeb597 Bump ts-loader from 8.0.13 to 8.0.14
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.13 to 8.0.14.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.13...v8.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:42:06 +00:00
dependabot-preview[bot]
5f7d30eb96 Bump postcss from 8.2.2 to 8.2.4
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.2 to 8.2.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.2...8.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:41:22 +00:00
dependabot-preview[bot]
6442428f4a Bump @types/node from 14.14.19 to 14.14.20
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.19 to 14.14.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:40:00 +00:00
dependabot-preview[bot]
7df6099029 Bump tslib from 2.0.3 to 2.1.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.3...2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:39:17 +00:00
dependabot-preview[bot]
42aea8db8f Bump autoprefixer from 10.1.0 to 10.2.1
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.1.0 to 10.2.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.1.0...10.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 05:38:18 +00:00
squidfunk
14a7be164f Prepare 6.2.4 release 2021-01-09 13:43:17 +01:00
squidfunk
5c36dfbbfd Updated README 2021-01-09 13:16:25 +01:00
squidfunk
5b1ee2ac98 Fixed Disqus integration being shown on 404 pages 2021-01-09 13:14:42 +01:00
David Young
e193d2f721
Update getting started guide for the requirement for "Improved Container Support" (#2195) 2021-01-09 11:18:54 +01:00
Andre_601
c07172804a
Fixed stale link to meta data extension (#2194) 2021-01-09 11:17:08 +01:00
Jannis Vajen
75a565a908
Updated copyright year (#2189)
Happy new year!
2021-01-06 17:19:59 +01:00
squidfunk
64e9a496f6 Fixed Docker image for default themes 2021-01-05 19:29:48 +01:00
squidfunk
022cd8ec97 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2021-01-05 18:50:16 +01:00
squidfunk
0c7055fafd Fixed documentation 2021-01-05 18:50:08 +01:00
dependabot-preview[bot]
1ba1e1e1d5 Bump preact from 10.5.7 to 10.5.9
Bumps [preact](https://github.com/preactjs/preact) from 10.5.7 to 10.5.9.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.5.7...10.5.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:43:32 +00:00
dependabot-preview[bot]
52c5186510 Bump @types/node from 14.14.16 to 14.14.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.16 to 14.14.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:40:13 +00:00
dependabot-preview[bot]
078300bab5 Bump sass from 1.30.0 to 1.32.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.30.0 to 1.32.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.30.0...1.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:39:19 +00:00
dependabot-preview[bot]
5b3c4b7a13 Bump postcss from 8.2.1 to 8.2.2
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.1...8.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:38:56 +00:00
dependabot-preview[bot]
ce413997b2 Bump webpack-cli from 4.3.0 to 4.3.1
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.3.0...webpack-cli@4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:38:18 +00:00
dependabot-preview[bot]
dac039abcf Bump @types/copy-webpack-plugin from 6.3.0 to 6.4.0
Bumps [@types/copy-webpack-plugin](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/copy-webpack-plugin) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/copy-webpack-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:37:30 +00:00
dependabot-preview[bot]
b7114fcb33 Bump ts-loader from 8.0.12 to 8.0.13
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.12 to 8.0.13.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.12...v8.0.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 05:36:11 +00:00
squidfunk
7f2f98fade Fixed typo in documentation 2021-01-02 16:43:46 +01:00
squidfunk
fe554ade3e Updated changelog 2021-01-02 15:57:02 +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
a6509496a8 Updated Insiders documentation 2020-12-30 19:02:02 +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
0041f3a162 Downgraded webpack-asset-manifest - again 2020-12-28 12:33:09 +01:00
dependabot-preview[bot]
888383cc3a Bump webpack-assets-manifest from 3.1.1 to 4.0.0
Bumps [webpack-assets-manifest](https://github.com/webdeveric/webpack-assets-manifest) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/webdeveric/webpack-assets-manifest/releases)
- [Commits](https://github.com/webdeveric/webpack-assets-manifest/compare/v3.1.1...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 05:28:59 +00:00
dependabot-preview[bot]
ae4fa23384 Bump @types/node from 14.14.14 to 14.14.16
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.14 to 14.14.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 05:25:19 +00:00
dependabot-preview[bot]
6bfcd688a8 Bump webpack-cli from 4.2.0 to 4.3.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.2.0...webpack-cli@4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 05:24:56 +00:00
squidfunk
b194b211c1 Prepare 6.2.3 release 2020-12-27 11:41:20 +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
95ebc7e816 Updated Insiders video 2020-12-22 16:38:35 +01:00
squidfunk
20b82de944 Updated Insiders documentation 2020-12-22 15:08:43 +01:00
squidfunk
6fadb290a5 Updated changelog 2020-12-22 14:37:15 +01:00
squidfunk
e492ca283a Prepare 6.2.2 release 2020-12-22 14:24:25 +01:00
squidfunk
cf4805d4b3 Removed Python Markdown version range limitation 2020-12-22 14:20:20 +01:00
squidfunk
886c889f8a Prepare 6.2.1 release 2020-12-22 13:09:10 +01:00
squidfunk
a95b871fc7 Reverted webpack-asset-manifest-plugin, as it broke everything 2020-12-22 13:06:03 +01:00