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
14a7be164f
Prepare 6.2.4 release
2021-01-09 13:43:17 +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
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
e492ca283a
Prepare 6.2.2 release
2020-12-22 14:24:25 +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
squidfunk
82b16bb6ad
Added distribution files
2020-12-22 12:45:19 +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
squidfunk
7e78c4d8b7
Added distribution files
2020-12-15 09:02:26 +01:00
squidfunk
84251be688
Prepare 6.1.7 release
2020-12-06 11:47:21 +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
4f8012243d
Prepare 6.1.6 release
2020-11-22 12:08:30 +01:00
squidfunk
1f162eb87d
Updated dependencies
2020-11-15 22:38:42 +01:00
squidfunk
576c76b0b5
Updated documentation
2020-11-15 22:31:10 +01:00
squidfunk
874c015984
Fixed scrollbar showing on Windows for math formulas
2020-11-15 17:15:12 +01:00
squidfunk
b2fb2124fd
Prepare 6.1.5 release
2020-11-15 16:05:08 +01:00
squidfunk
0135353b7d
Fixed invalid display strategy of search reset button
2020-11-15 15:55:21 +01:00
squidfunk
aeaa00a625
Reverted ignore-emit-webpack-plugin
2020-11-13 12:38:25 +01:00
squidfunk
5ad3e7b626
Added missing distribution files
2020-11-13 12:32:23 +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
squidfunk
a46b42c5e2
Prepare 6.1.4 release
2020-11-07 13:10:30 +01:00
squidfunk
a9c782768e
Fixed sidebar jitter when scrolling footer into view
2020-11-07 12:26:31 +01:00
squidfunk
6d671bf246
Formatting
2020-11-07 10:17:50 +01:00
squidfunk
5ddd184c41
Prepare 6.1.3 release
2020-11-05 21:17:16 +01:00
squidfunk
72494f08bb
Added support for meta keywords
2020-11-05 21:10:58 +01:00
squidfunk
7c1ffcee95
Fixed distribution files after bad merge
2020-11-03 17:57:37 +01:00
squidfunk
aaa65f4df6
Fixed inconsistent scaling of line numbers for smaller code blocks
2020-11-03 17:54:36 +01:00
squidfunk
45799563be
Removed focus outline on click for scrolling code blocks
2020-10-31 19:10:01 +01:00
squidfunk
a3c0e46d12
Formatting
2020-10-31 18:42:48 +01:00
squidfunk
93692a7950
Fixed defaut link colors for black and white primary colors on slate color scheme
2020-10-31 18:09:15 +01:00
squidfunk
fafe4d2c11
Prepare 6.1.2 release
2020-10-31 15:44:04 +01:00
squidfunk
0aff83ecb3
Fixed sizing of icons after dependency update
2020-10-31 15:42:11 +01:00