1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-15 00:51:26 +01:00
Commit Graph

52 Commits

Author SHA1 Message Date
squidfunk
e2556d84d6 Merge of features tied to 'Trinidad Scorpion' funding goal 2022-06-02 17:20:33 +02:00
squidfunk
f3926bf444 Fixed filtering of subsequent index.md files when using section index pages 2021-12-19 11:12:30 +01:00
squidfunk
149b0dbc47 Fixed rendering of section index pages with no other pages 2021-10-02 16:51:47 +02:00
squidfunk
12666a3c00 Fixed incompatibility between navigation.sections and navigation.indexes 2021-10-02 11:41:32 +02:00
squidfunk
377b4d648f Merge of Insiders features tied to 'Caribbean Red' funding goal 2021-09-23 08:53:51 +02:00
squidfunk
319db2d57d Fixed empty table of contents being rendered 2021-04-24 11:15:05 +02:00
squidfunk
8d752312aa Fixed table of contents breaking when class is set on h1 2021-04-15 21:21:33 +02:00
squidfunk
dd3a4788cb Formatting 2021-02-25 17:51:38 +01:00
squidfunk
d6317dc514 Formatting + moved search index fetching to top level 2021-02-24 18:02:09 +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
squidfunk
d754bd9a71 Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00: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
squidfunk
52787c6a9c Removed unnecessary title attributes in links 2020-10-04 14:18:10 +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
4ffa866609 Formatting 2020-03-18 17:28:26 +01:00
squidfunk
7840e207f9 Removed IE compatibility meta tag 2020-03-06 15:50:11 +01:00
squidfunk
11d1b839a1 Refactored Material icon integration - bye bye webfonts 2020-02-24 18:07:50 +01:00
squidfunk
a399540940 Fixed anchor jump from mobile search 2020-02-16 00:23:50 +01:00
squidfunk
a55554f90d Removed unnecessary data attributes 2020-02-15 21:51:15 +01:00
squidfunk
6dba046eae Fixed active layer reset 2020-02-11 17:14:28 +01:00
squidfunk
260effaddb Re-added auto-generated code banner 2019-09-28 19:42:54 +02:00
squidfunk
ea931e4617 Switched build process to Makefile 2019-09-28 19:32:02 +02:00
squidfunk
e24f2a3d7e Removed remaining whitespace control tags 2019-06-15 15:23:03 +02:00
squidfunk
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +02:00
squidfunk
b36a725d30 Removed all whitespace from compiled files - saving 700 bytes per page (gzip) 2019-05-17 21:37:21 +02:00
Lars
bd8eaf4a09 Removed HTML tags from nav item titles (#1073) 2019-04-16 11:29:16 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
Isaac Muse
a42fdb33ed Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates

* Revert disqus id change
2018-06-10 14:45:16 +02:00
squidfunk
3217754daa Fixed odd behavior in navigation tab behavior 2018-01-11 23:20:49 +01:00
squidfunk
7a0c464ed6 Fixed lost tab focus on collapsible navigation 2018-01-11 23:20:49 +01:00
squidfunk
042eb374a0 Slight facelift 2017-11-19 17:49:37 +01:00
squidfunk
823347fcb3 Updated dependencies and yarn.lock 2017-11-18 18:03:32 +01:00
squidfunk
c4c7beaefa Fixed case where table of contents icon is missing on mobile navigation 2017-03-16 16:12:53 +01:00
squidfunk
fc4a466346 Fixed incorrectly displayed nested lists 2017-02-26 17:12:26 +01:00
squidfunk
6a68347a87 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-11 23:02:12 +01:00
squidfunk
f40585f528 Fixed Jinja error for raw HTML header tags 2017-02-08 23:17:37 +01:00
squidfunk
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
cecd1f1d7c Drop 'with' in templates to be compatible with Jinja < 2.9 2017-01-10 00:15:44 +01:00
squidfunk
6d01f17193 Fix icons and build due to jinja changes 2017-01-08 18:27:01 +01:00
squidfunk
9e6d347db0 Fix deprecation warning 2017-01-02 08:57:19 +01:00
squidfunk
ca0de52b45 Fix rendering of empty pane in mobile navigation when no headlines are given 2016-12-30 21:11:05 +01:00
squidfunk
5ef3ec7aa3 Add scrollfix for iOS 2016-12-29 14:19:26 +01:00
squidfunk
f4c5344116 Finishing touches on drawer 2016-12-28 16:20:52 +01:00
squidfunk
e1310aa9ee Add -webkit-overflow-scrolling via JavaScript on navigation 2016-12-28 11:49:57 +01:00
squidfunk
fe12548f8e Merge pull request #65 from brendo:issue-63-mkdocs-016-compatible 2016-12-15 16:43:40 +01:00
squidfunk
2fcfb551be Refactored JavaScript architecture 2016-12-15 15:55:40 +01:00
squidfunk
0d5e66d9a5 Refactored JavaScript into components 2016-11-02 19:21:14 +01:00