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
a339a8afb6
Renamed 'language' partials folder into 'languages' for consistency
2020-12-30 13:21:27 +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
0135353b7d
Fixed invalid display strategy of search reset button
2020-11-15 15:55: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
7c1ffcee95
Fixed distribution files after bad merge
2020-11-03 17:57:37 +01:00
squidfunk
24bcf9de53
Removed unnecessary URL filter
2020-10-18 11:56:29 +02:00
squidfunk
48b4120b8f
Fixed relative homepage links for nested pages when building locally
2020-10-18 11:52:29 +02:00
squidfunk
454339bd35
Fixed site_url (link behind home button) for usage from file://
2020-10-04 18:37:52 +02:00
squidfunk
e149006af9
Escaped link titles where necessary
2020-10-04 14:24:43 +02:00
squidfunk
52787c6a9c
Removed unnecessary title attributes in links
2020-10-04 14:18:10 +02:00
squidfunk
6248412844
Added Georgian translations
2020-10-04 13:29:24 +02:00
squidfunk
8f61fd3b56
Funding goal reached: merged back new search UI/UX from Insiders
2020-09-27 09:40:05 +02:00
squidfunk
e6ceb89d70
Removed deprecated meta data features
2020-09-27 08:54:36 +02:00
squidfunk
1037d591be
Fixed Disqus integration, as the minifier killed the config
2020-08-28 19:41:49 +02:00
squidfunk
96f58edae6
Improved Disqus integration to be non-blocking
2020-08-28 18:26:55 +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
4488256885
Added Esperanto translations
2020-08-26 20:15:26 +02:00
squidfunk
cdb426d54e
Fixed tabs not showing external links
2020-08-26 20:06:47 +02:00
squidfunk
4e8fa6e201
Fixed erroneous comma in template
2020-08-16 14:42:34 +02:00
squidfunk
71bc294b67
Fixed theme colors for Android meta tag
2020-08-16 14:41:19 +02:00
squidfunk
b0bb26ec99
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:54:48 +02:00
squidfunk
6d6811451b
Fixed race condition in instant loading
2020-07-24 10:47:26 +02:00
squidfunk
4e72d31043
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:40:15 +02:00
squidfunk
dd40970865
Fixed Google Analytics not tracking URLs with instant loading
2020-07-24 10:20:40 +02:00
squidfunk
66c939265f
Added source links to docs
2020-07-16 23:05:57 +02:00
squidfunk
71e9b1d745
Improved getting started guide and added further guides
2020-07-16 22:31:39 +02:00
squidfunk
3f4e56157c
Added Bengali (Bangla) translations
2020-06-24 08:20:07 +02:00
squidfunk
e6e7536356
Improved search experience in many languages
2020-06-21 13:22:48 +02:00
squidfunk
36e1e3db8b
Fixed search in German, French and other languages
2020-06-07 13:56:45 +02:00
squidfunk
1df750a9fe
Removed preconnect hint for Google Analytics
2020-06-07 12:08:12 +02:00
squidfunk
98ccd6f944
Merge branch 'master' into refactor/dark-mode
2020-05-09 15:13:57 +02:00
squidfunk
481e511a32
Added Burmese translations
2020-05-09 13:14:13 +02:00
squidfunk
de74821140
Fixed fallback translation in case of empty string
2020-05-09 13:13:50 +02:00
squidfunk
db7c28b20e
Added name attribute to social links and improved defaults
2020-05-03 14:14:59 +02:00
squidfunk
671ec72407
Fixed German translations
2020-04-27 09:16:37 +02:00
squidfunk
0145f6d278
Added note when search is initializing
2020-04-26 18:29:13 +02:00
squidfunk
1ebef6565f
Merge branch 'master' into refactor/dark-mode
2020-04-25 18:11:20 +02:00
squidfunk
524aeb6d88
Ensure source maps are built for stylesheets
2020-04-10 12:26:44 +02:00
squidfunk
184dfea055
Fixed syntax error in Spanish translation
2020-04-07 21:25:03 +02:00
squidfunk
6aef0288b7
Fixed casing in footer
2020-04-04 17:43:56 +02:00
squidfunk
c9b2c1eaab
Moved logo to partials
2020-03-26 15:38:50 +01:00
squidfunk
c7e294c9fa
Merge branch 'master' into refactor/rxjs-typescript
2020-03-26 15:28:55 +01:00
squidfunk
17fae53f31
Fixed header ellipsis when title equals site name
2020-03-25 17:13:48 +01:00
visig
b85b682b8b
Updated zh-TW translations ( #1543 )
2020-03-25 14:35:27 +01:00
squidfunk
e793da18d9
Fixed header
2020-03-23 10:52:00 +01:00
squidfunk
96dc478970
Added lighter theme notice in footer
2020-03-23 10:50:03 +01:00
squidfunk
d56ab36000
Prototyped options menu
2020-03-23 10:45:06 +01:00
squidfunk
035225d6d3
Removed required attribute on search input
2020-03-21 17:13:38 +01:00
squidfunk
5f2f497f0c
Added distribution files
2020-03-19 11:46:52 +01:00
squidfunk
4ffa866609
Formatting
2020-03-18 17:28:26 +01:00
squidfunk
fcbd47c2cb
Fixed error when only setting a single icon
2020-03-11 11:24:40 +01:00
squidfunk
bfea33154f
Added title to social footer links
2020-03-09 21:14:47 +01:00
squidfunk
d71dd2e8a6
Reduced pressure on browser with ResizeObserver
2020-03-06 18:57:27 +01:00
squidfunk
7840e207f9
Removed IE compatibility meta tag
2020-03-06 15:50:11 +01:00
squidfunk
184e5f24e2
Prepare 5.0.0b3-2 release
2020-03-06 10:37:28 +01:00
squidfunk
081d540127
Added missing skip-to-content link titles
2020-03-05 17:36:01 +01:00
squidfunk
9738c12cc9
Unified components and observable structure
2020-03-05 17:17:15 +01:00
squidfunk
067df2f6cf
Improved anchor jumps after instant loading and fixed Google Analytics
2020-02-29 20:57:11 +01:00
squidfunk
6029122f96
Fixed first tab not showing for use_directory_urls: false
2020-02-29 12:23:52 +01:00
squidfunk
ff9ef6a4a7
Added back light shadows to admonitions
2020-02-27 12:27:05 +01:00
squidfunk
eaeac798b1
Refactored icon options for mkdocs.yml
2020-02-27 11:37:02 +01:00
squidfunk
446e55767b
Fixed sizing of icons and images in nav and header
2020-02-25 15:02:54 +01:00
squidfunk
11d1b839a1
Refactored Material icon integration - bye bye webfonts
2020-02-24 18:07:50 +01:00
squidfunk
b345a0b650
Prototyped material icon SVG integration
2020-02-23 13:36:51 +01:00
squidfunk
d21da8d522
Merge branch 'master' into refactor/rxjs-typescript
2020-02-17 18:10:08 +01:00
squidfunk
2c0177ab56
Fixed search reset button not hiding for empty input
2020-02-17 10:47:52 +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
5ce6597d09
Moved FontAwesome icons to the top-level
2020-02-11 08:37:36 +01:00
squidfunk
8c072448eb
Added *.html suffix to FontAwesome icons so MkDocs doesn't bundle them
2020-02-10 15:42:44 +01:00
squidfunk
42540dae9b
Fixed spacing of search on tablet and screen
2020-02-10 14:05:39 +01:00
squidfunk
41dc846753
Merge branch 'master' into refactor/rxjs-typescript
2020-02-10 12:34:58 +01:00
squidfunk
0730aae9c2
Added Romanian translations
2020-02-08 22:15:47 +01:00
squidfunk
24c58d8fd4
Removed platform detection from repository markup
2020-02-01 13:59:12 +01:00
squidfunk
980054a0d1
Always render repo icon, no matter what kind of repository
2020-02-01 13:54:34 +01:00
squidfunk
018e38e9ac
Added support for lunr-languages
2020-01-26 16:03:49 +01:00
squidfunk
68272079c3
Added before print hooks and search keyboard handlers
2020-01-08 18:17:19 +01:00
Roy
9ed1f0bff2
Fixed Japanese translations ( #1413 )
2020-01-01 11:39:19 -03:00
squidfunk
bad16638c4
Formatting
2019-12-25 15:14:02 +01:00
Benjamin Staneck
9c6a4ca64f
Merge branch 'master' into refactor/rxjs-typescript ( #1406 )
...
* Improved Lighthouse score (#1391 )
* a few accessibility fixes from lighthouse report
* add rel="noopener" to external links
* add title attribute to social links
* add mimetype to manifest link and allow it to work behind auth
* add font-display: swap to all the places where external fonts are used
* remove font-display: swap from icon fonts
* removed font-display from style blocks in base
* add target="_blank" to social links
* switch base fonts grabbed from Google back to display:fallback
As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback
* add target="_blank" to the footer links as well
* Set `tabindex` to `0` for skip to content link (#1393 )
see https://web.dev/control-focus-with-tabindex/
* Added diff to CI build
* Added built files
* Bump @babel/cli from 7.7.5 to 7.7.7
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump eslint from 6.7.2 to 6.8.0
Bumps [eslint](https://github.com/eslint/eslint ) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump mini-css-extract-plugin from 0.8.0 to 0.9.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/plugin-transform-react-jsx from 7.7.4 to 7.7.7
Bumps [@babel/plugin-transform-react-jsx](https://github.com/babel/babel ) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump style-loader from 1.0.1 to 1.1.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump webpack from 4.41.2 to 4.41.4
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.2 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel ) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix makefile
* Update packages
* build
* "Fix" lint
* Revert icon and makefile change
Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-25 15:09:36 +01:00
squidfunk
9d67cdfe4a
Added support for custom repository icons
2019-12-23 20:24:24 +01:00
squidfunk
704a7c507d
Updated FontAwesome to v5 and switched to inline SVGs
2019-12-22 18:21:19 +01:00
squidfunk
6e29fc3723
Moved FontAwesome back into footer
2019-12-22 17:42:58 +01:00
squidfunk
37b3870133
Renamed components
2019-12-22 17:18:20 +01:00
squidfunk
156b070f18
Added built files
2019-12-22 16:23:54 +01:00
squidfunk
d1928cc31f
Fixed inline JavaScript minification
2019-12-22 16:15:22 +01:00
squidfunk
d439142f0f
Merge branch 'master' into refactor/rxjs-typescript
2019-12-17 09:59:59 +01:00
squidfunk
afe1d65b15
Updated built files and fixed revision date integration
2019-12-11 17:47:48 +01:00
Tim Vink
f08f2fbf65
Added support for mkdocs-git-revision-date-localized-plugin ( #1373 )
...
* #1350 update base template to include git revision date
* #1350 add localized revision date
* #1350 support for v0.3 of mkdocs-git-revision-date-localized-plugin
* #1350 add translations for source.revision.date
2019-12-11 10:46:03 +01:00
squidfunk
51cf93518b
Added Thai translations
2019-12-02 15:50:04 +01:00
squidfunk
b5ad4ac339
Reformatted HTML templates and moved L10N to inline JSON
2019-11-26 10:03:53 +01:00
squidfunk
0cfd796598
Prototypical implementation of instant loading
2019-11-22 18:42:25 +01:00
squidfunk
8c6ddc9ded
Prepare 4.5.0 release
2019-11-16 21:51:17 +01:00
John Pegioudis
51c4878100
Fixed Greek translations ( #1334 )
2019-11-07 17:51:21 +01:00