Commit Graph

908 Commits

Author SHA1 Message Date
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
eee298ae92 Fixed initialization of index for localsearch 2020-03-06 12:32:14 +01:00
squidfunk
3a25eb46d4 Fixed initialization of index for localsearch 2020-03-06 12:02:38 +01:00
squidfunk
184e5f24e2 Prepare 5.0.0b3-2 release 2020-03-06 10:37:28 +01:00
squidfunk
abec4824bd Fixed intercepting of link clicks when instant loading is disabled 2020-03-05 21:03:51 +01:00
squidfunk
1fdc92ae29 Prepare 5.0.0b3 release 2020-03-05 19:16:25 +01:00
squidfunk
e11ebbee84 Added distribution files 2020-03-05 17:24:14 +01:00
squidfunk
9738c12cc9 Unified components and observable structure 2020-03-05 17:17:15 +01:00
squidfunk
f79075223f Restructured components and observables 2020-03-03 18:19:33 +01:00
squidfunk
301582cc76 Fixed scroll snapping for 2nd+ level items using tabs 2020-03-03 14:59:57 +01:00
squidfunk
067df2f6cf Improved anchor jumps after instant loading and fixed Google Analytics 2020-02-29 20:57:11 +01:00
squidfunk
ab3ef19498 Evaluate script elements upon load when using instant loading 2020-02-29 19:25:42 +01:00
squidfunk
a1393fdbc3 Fixed copy-to-clipboard re-appearing after document switch 2020-02-29 12:38:11 +01:00
squidfunk
6029122f96 Fixed first tab not showing for use_directory_urls: false 2020-02-29 12:23:52 +01:00
squidfunk
68c9cb6dac Fixed search for use_directory_urls: false 2020-02-29 10:47:01 +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
1e0b168570 Reverted 'extra_css with media' feature 2020-02-27 10:32:42 +01:00
squidfunk
2a63915a3e Added active state for parent section in mobile navigation 2020-02-26 09:33:24 +01:00
squidfunk
63a309bd72 Added accent colors to new palette integration 2020-02-26 09:08:50 +01:00
squidfunk
9590cc1c2b Partially ported palette for CSS variables 2020-02-26 08:47:53 +01:00
squidfunk
590612939a Improved pymdownx.tabbed styles and palettes 2020-02-25 22:17:23 +01:00
squidfunk
309c2b7c03 Refactored CSS variables integration 2020-02-25 20:25:05 +01:00
squidfunk
446e55767b Fixed sizing of icons and images in nav and header 2020-02-25 15:02:54 +01:00
squidfunk
43f2a71f03 Fixed incorrect calculation of anchors, huge performance gain 2020-02-25 13:59:57 +01:00
squidfunk
3091883b05 Added identifer to icons to prepare for inlining 2020-02-24 23:23:56 +01:00
squidfunk
dd2ea3fe1c Fixed no-js styles 2020-02-24 22:44:12 +01:00
squidfunk
b65bda08a7 Fixed unnecessary nesting in SCSS, reducing final CSS by 20kb 2020-02-24 21:48:30 +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
c79b786ea6 Refactored to use URLs at all times 2020-02-22 15:56:08 +01:00
squidfunk
eb82c8d586 Fixed edge case in scroll restoration 2020-02-22 15:24:15 +01:00
squidfunk
c362179234 Improved scroll restoration implementation 2020-02-22 13:35:26 +01:00
squidfunk
674e3456f8 Improved browser history navigation in conjunction with instant loading 2020-02-21 17:36:04 +01:00
squidfunk
1020953fa5 Fixed header shadow appearing after document switch 2020-02-21 11:36:32 +01:00
squidfunk
c7e4063d86 Refactored instant loading setup 2020-02-21 10:18:49 +01:00
squidfunk
71758b41b4 Prepare 5.0.0b2-1 release 2020-02-20 19:57:02 +01:00
squidfunk
1704c9d695 Prepare 5.0.0b2 release 2020-02-20 18:02:18 +01:00
squidfunk
ae1ed3d924 Implemented instant loading 2020-02-20 17:42:46 +01:00
squidfunk
3aa251fb03 Improved overall structure 2020-02-20 14:44:41 +01:00
squidfunk
9b0410962d Improved keyboard handlers and added prev/next hotkeys 2020-02-20 10:07:50 +01:00
squidfunk
297a63313d Improved observable flows 2020-02-19 17:29:18 +01:00
squidfunk
03010ddbcd Removed packer worker implementation 2020-02-19 16:57:32 +01:00
squidfunk
577ad4ccc4 Fixed multi-language search 2020-02-19 15:45:52 +01:00
squidfunk
8171fc0ecd Moved keyboard handlers to separate module 2020-02-19 15:09:49 +01:00
squidfunk
b0ebcc8d5b Added support for variable sized header 2020-02-19 14:19:11 +01:00
squidfunk
a6bc272778 Moved source integration into patches 2020-02-19 11:42:51 +01:00
squidfunk
ae05805124 Refactored location observables 2020-02-19 11:07:34 +01:00
squidfunk
d1afa51726 Restructured observables 2020-02-19 08:57:36 +01:00
Isaac Muse
46ecf3b055
Added support for pymdownx-inline (#1468)
* Add support for pymdownx-inline

* Build assets

* Fix rem lint error
2020-02-19 08:55:44 +01:00
squidfunk
dee75ccfbb Jump to anchor inside details tag and refactor tablet styles 2020-02-18 15:39:36 +01:00
squidfunk
b2654777b8 Added dialog for copy-to-clipboard action 2020-02-18 14:30:06 +01:00
squidfunk
fdff60e33d Link header to viewport resizes 2020-02-18 10:17:57 +01:00
squidfunk
ac7c8e20a8 Refactored repository integration and added GitLab support 2020-02-18 10:10:40 +01:00
squidfunk
34ef965511 Updated assets 2020-02-17 17:26:40 +01:00
squidfunk
14df716e63 Prepare 5.0.0b1 release 2020-02-17 17:20:08 +01:00
squidfunk
dd40bc2fcf Refactored header title component 2020-02-17 16:25:49 +01:00
squidfunk
7876148fbd Improved documentation and fixed search reset 2020-02-17 14:37:12 +01:00
squidfunk
2c0177ab56 Fixed search reset button not hiding for empty input 2020-02-17 10:47:52 +01:00
squidfunk
ca260e0faf Fixed permalink characters being part of textContent 2020-02-16 00:53:45 +01:00
squidfunk
a399540940 Fixed anchor jump from mobile search 2020-02-16 00:23:50 +01:00
squidfunk
694eaca889 Fixed disappearance of header shadow on iOS 2020-02-15 21:52:47 +01:00
squidfunk
b26edc05a4 Shaved off ~10% of bundle by introducing tslib 2020-02-14 18:57:42 +01:00
squidfunk
b094573287 Migrated tabs and hero and renamed refactored components 2020-02-14 18:48:46 +01:00
squidfunk
0f77194c23 Cleaned up main entrypoint 2020-02-14 17:45:32 +01:00
squidfunk
adc35b1109 Removed default announcement bar from main template 2020-02-14 15:07:41 +01:00
squidfunk
8d2ea6c65f Prepare 4.6.3 release 2020-02-14 08:44:36 +01:00
Isaac Muse
a348663566
Added support for pymdownx.tabbed via pymdown-extensions 7.0b1 (#1459)
* Add support pymdownx.tabbed via pymdown-extensions 7.0b1

* Rebuild theme

* Use :only-child
2020-02-14 08:16:04 +01:00
squidfunk
c035df94fd Fixed bug in main area observable 2020-02-13 23:42:12 +01:00
squidfunk
e0e559b429 Refactored search observable integration 2020-02-13 16:49:08 +01:00
squidfunk
306530f668 Separated observables from components 2020-02-12 19:13:03 +01:00
squidfunk
76258ee65f Dropped table layout hacks for flexbox 2020-02-12 11:21:24 +01:00
squidfunk
6dba046eae Fixed active layer reset 2020-02-11 17:14:28 +01:00
squidfunk
786b21039d Fixed invalid whitespace in navigation from mobile to screen when tabs are active 2020-02-11 12:49:30 +01:00
squidfunk
de73cac7b8 Fixed emission of active layer element 2020-02-11 12:13:42 +01:00
squidfunk
ec9ad27251 Updated copyright year in docs 2020-02-11 11:05:21 +01:00
squidfunk
286ace2eaf Inlined Material Icons CSS 2020-02-11 11:02:46 +01:00
squidfunk
b486d0beec Switched build process back to Webpack 2020-02-10 18:32:28 +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
f9e13b88ce Prepare 4.6.2 release 2020-02-08 22:56:06 +01:00
squidfunk
5b7b3571ad Fixed margin of superfences code on top-level and mobile 2020-02-08 22:05:31 +01:00
squidfunk
c177506550 Fixed code block highlighting issues with superfences 2020-02-08 21:50:25 +01:00
squidfunk
84c8bb8044 Prepare 4.6.1 release 2020-02-08 10:26:14 +01:00
squidfunk
92bfb148ed Fixed code blocks after Markdown 3.2 release 2020-02-08 10:16:59 +01:00
squidfunk
1fdb65b88f Added loading logic for lunr-languages 2020-01-26 15:42:22 +01:00
squidfunk
d329b6921f Added styles for announcement bar 2020-01-25 15:09:27 +01:00
squidfunk
eb968dfec0 Added support for announcement bar 2020-01-25 14:25:50 +01:00
squidfunk
68272079c3 Added before print hooks and search keyboard handlers 2020-01-08 18:17:19 +01: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
Benjamin Staneck
8c7b2f3f90 Removed first filter from meta name content (#1407)
Fixes #1324
2019-12-25 09:15:18 +01:00
squidfunk
9d67cdfe4a Added support for custom repository icons 2019-12-23 20:24:24 +01:00
squidfunk
bd712ca794 Fixed author in metadata only showing first character 2019-12-23 19:54:01 +01:00
squidfunk
581d7c017c Reduced content shift when icons are loading 2019-12-23 19:39:40 +01:00
squidfunk
6e29fc3723 Moved FontAwesome back into footer 2019-12-22 17:42:58 +01:00
squidfunk
f39c9f9e68 Fixed unmapped components 2019-12-22 17:30:55 +01:00
squidfunk
e04387902c Restructured project 2019-12-22 16:52:28 +01:00
squidfunk
156b070f18 Added built files 2019-12-22 16:23:54 +01:00
squidfunk
6863aeb4a4 Finished search and moved components to setup functions 2019-12-20 18:03:31 +01:00
squidfunk
87e3bc2410 Added search result metadata 2019-12-19 14:44:22 +01:00
squidfunk
29a34d19a8 Added built files + documentation 2019-12-18 17:14:20 +01:00
squidfunk
4e4e086af7 Added observable for web worker communication 2019-12-17 15:59:13 +01:00
squidfunk
d439142f0f Merge branch 'master' into refactor/rxjs-typescript 2019-12-17 09:59:59 +01:00
squidfunk
1ee9e74bc7 Commit before merging master back in 2019-12-17 09:53:16 +01:00
squidfunk
6ef0d123c7 Prepare 4.6.0 release 2019-12-11 18:03:21 +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
633bcace14 Moved manifest.json up one layer 2019-12-10 16:03:11 +01:00
squidfunk
7591ce1454 Prepare 4.5.1 release 2019-12-02 15:51:21 +01:00
squidfunk
c409fe3953 Fixed Travis and added more components 2019-11-27 19:12:49 +01:00
squidfunk
e1cab27714 Fixed L10N JSON format 2019-11-26 10:19:10 +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
squidfunk
fc83e18d98 Prepare 4.4.3 release 2019-10-03 11:19:31 +02:00
squidfunk
a633f4fec7 Migrated first features to RxJS 2019-09-29 00:30:56 +02:00
squidfunk
34cc56bf28 Fixed development environment 2019-09-28 20:39:07 +02: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
3ec9506651 Added missing assets 2019-08-27 17:43:20 +02:00
squidfunk
d9a51e2c03 Merge branch 'master' of github.com:squidfunk/mkdocs-material 2019-08-27 17:42:02 +02:00
squidfunk
af81591cce Prepare 4.4.2 release 2019-08-27 17:41:51 +02:00
Timothy Pharo
422406bed3 Fixed issue where HTML tags were shown in page title (#1220)
* Strip tags from page tile when displaying in header <title> tag

* Build resources for stripping html tags from header <title>
2019-08-23 11:02:28 +02:00
squidfunk
0a93a26364 Prepare 4.4.1 release 2019-08-22 16:16:21 +02:00
squidfunk
6b7535b8cc Added black as a primary color 2019-08-22 16:11:51 +02:00
Timothy Pharo
a47f1efe6d Fixed issue where HTML elements in H1's cause footer layout to be broken (#1217)
* Add striptags to next/previous links to eascape invalid html tags

* Add generated built files for escaped titles in footer
2019-08-22 15:52:49 +02:00
squidfunk
ec09cf6e14 Prepare 4.4.0 release 2019-06-15 15:59:42 +02:00
squidfunk
9d1390f318 Fixed disappearance of tabs for smaller font sizes 2019-06-15 15:54:50 +02:00
squidfunk
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +02:00
squidfunk
f6e08ef4a3 Added Slovenian translations 2019-06-15 14:26:34 +02:00
squidfunk
52eb2e6bc0 Prepare 4.3.1 release 2019-05-23 09:18:05 +02:00
squidfunk
631846394e Prepare 4.3.0 release 2019-05-17 21:52: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
squidfunk
94d6f2c68b Added font-display: swap to Google Font loading 2019-05-17 18:57:11 +02:00
squidfunk
5e6c345fc1 Prepare 4.2.0 release 2019-04-28 12:04:25 +02:00
squidfunk
b245e9f769 Fixed search hotkey stealing focus from non-form textarea 2019-04-28 11:49:40 +02:00
squidfunk
8049185aa8 Fixed search hotkeys to trigger for smaller screen sizes 2019-04-28 10:34:27 +02:00
squidfunk
50ea834759 Fixed search field alignment in tablet landscape mode 2019-04-28 10:20:55 +02:00
squidfunk
185147684c Inlined regex escaping from dependency 2019-04-17 10:40:41 +02:00
squidfunk
aba3263c72 Prepare 4.1.2 release 2019-04-16 11:33:54 +02:00
Lars
bd8eaf4a09 Removed HTML tags from nav item titles (#1073) 2019-04-16 11:29:16 +02:00
squidfunk
6500664b14 Prepare 4.1.1 release 2019-03-28 17:18:12 +01:00
squidfunk
6e43b874f6 Fixed CSS errors detected during validation 2019-03-28 17:16:26 +01:00
squidfunk
c06ba21f18 Prepare 4.1.0 release 2019-03-22 19:23:27 +01:00
squidfunk
1aa8aeb252 Fixed content editable elements losing focus on control keys 2019-03-12 16:51:22 +01:00
squidfunk
9a16b9c6ea Fixed Asian search after lunr-languages upgrade 2019-03-12 16:33:58 +01:00
squidfunk
8a01e0cc8c Fixed HTML entities appearing in search result titles 2019-03-01 13:17:13 +01:00
squidfunk
2f5a4c1e93 Prepare 4.0.1 release 2019-02-13 18:31:41 +01:00
squidfunk
4ca20f1b8b Fixed glitch in sidebar when collapsing items 2019-02-13 18:04:13 +01:00
squidfunk
71fc5d1d37 Added support for automatic expansion of details when printing 2019-02-13 17:22:27 +01:00
squidfunk
9f4e4c8884 Prepare 4.0.0 release 2019-02-13 16:24:37 +01:00
squidfunk
2b2d908d6e Added background on hover for table rows 2019-02-13 16:14:20 +01:00
squidfunk
9a4b142e10 Removed FastClick 2019-02-13 15:49:10 +01:00
squidfunk
946f4f1509 Reset font-size on body for correct inline spacing 2019-02-12 19:21:14 +01:00
squidfunk
2007484306 Added helper function for rem calculation and set base font size to 20px 2019-02-12 19:13:08 +01:00
squidfunk
d25fcefd9f Prepare 3.3.0 release 2019-01-29 11:07:18 +01:00
squidfunk
a182314a15 Fixed too unspecific selector for table of contents blur on scroll 2019-01-29 10:56:27 +01:00
squidfunk
5ec6ad2828 Moved Google Analytics block into head 2019-01-28 11:18:22 +01:00
squidfunk
2f31618d60 Use asynchronous Google Analytics tracking 2019-01-28 11:13:26 +01:00
squidfunk
ee0371d026 Fixed Unicode slugifier breaking table of contents blur on scroll 2019-01-28 09:48:05 +01:00
squidfunk
e766726e06 Added .vscode to .gitignore 2019-01-01 18:41:10 +01:00
squidfunk
a3037c33cc Prepare 3.2.0 release 2018-12-28 15:18:48 +01:00
squidfunk
59ce603ed8 Moved redirect code into main template 2018-12-28 15:09:11 +01:00
Martin Donath
4e72119d20
Upgraded to webpack 4 (#941)
* Upgrade to webpack 4 - partly working

* Upgraded to webpack 4

* Fixed error with webpack ProvidePlugin

* Fixed ESLint errors
2018-12-28 14:44:41 +01:00
Christian Oliff
2712a85b38 Lowercased doctype to shave of 2 byte of gzipped response
* lowercase doctype in HTMLtemplate

This gzip compresses slightly better (can save 2 bytes!)

REF: https://encode.ru/threads/1889-gzthermal-pseudo-thermal-view-of-Gzip-Deflate-compression-efficiency

* lowercase doctype in src
2018-12-20 12:14:03 +01:00
squidfunk
2bf4fb928c Prepare 3.1.0 release 2018-11-17 18:07:46 +01:00
squidfunk
1dfac969e7 Updated dependencies and package-lock.json 2018-11-17 18:01:39 +01:00
squidfunk
09f979c32c Upgraded Lunr.js to fix search bug in Safarai 2018-11-17 17:39:59 +01:00
squidfunk
226cb9f4d9 Added support for Progressive Web App Manifest 2018-11-13 22:24:17 +01:00
squidfunk
fe42b2f7e1 Prepare 3.0.6 release 2018-10-26 13:15:41 +02:00
squidfunk
61dcde1dda Fixed JavaScript code block evaluation in search results 2018-10-26 12:55:36 +02:00
squidfunk
65e67d2155 Prepare 3.0.5 release 2018-10-23 09:00:28 +02:00
squidfunk
13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk
0bfdd09c02 Adjusted build process 2018-09-11 12:09:54 +02:00
squidfunk
cf517e5420 Prepare 3.0.4 release 2018-09-03 09:55:59 +02:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
squidfunk
12a79817f0 Prepare 3.0.3 release 2018-08-07 11:12:37 +02:00
squidfunk
7f08e2849a Fixed #841: Additional path levels for extra CSS and JS 2018-08-07 11:10:19 +02:00
squidfunk
7f8d8adaea Integrated lunr.js fixes [ci skip] 2018-08-06 09:41:01 +02:00
squidfunk
309389befd Prepare 3.0.1 release 2018-08-05 21:45:54 +02:00
squidfunk
2d7e9341f7 Prepare 3.0.0 release 2018-08-05 18:59:58 +02:00
squidfunk
fd75fa8eb7 Added Serbian and Serbo-Croatian translations 2018-08-04 20:35:14 +02:00
squidfunk
159575bbe9 Fixed path concatenation in templates 2018-08-04 20:22:49 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
squidfunk
6e73e2c76d Prepare 2.9.4 release 2018-07-29 16:58:08 +02:00
squidfunk
be7916a8b0 Prepare 2.9.3 release 2018-07-29 16:33:11 +02:00
squidfunk
a8dce54dc1 Updated dependencies and package-lock.json 2018-07-29 16:25:43 +02:00
squidfunk
65ab9fa018 Prepare 2.9.2 release 2018-06-29 11:16:28 +02:00
squidfunk
60d8b01468 Prepare 2.9.1 release 2018-06-18 10:24:04 +02:00
squidfunk
602de62ae3 Added support for different spellings for theme color 2018-06-18 10:19:07 +02:00
squidfunk
4d7f77e88b Formatting and documentation 2018-06-18 10:14:10 +02:00
Isaac Muse
31e561201e Added ".highlighttable" as an alias for ".codehilitetable" (#800)
When codehilite is disabled, or if pymdownx.highlight is used instead of codehilite, the default class "highlight" is used instead of "codehilite".  This also applies to the number table format that, and will use "highlighttable" instead of "codehilitetable".
2018-06-18 10:11:11 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +02:00
squidfunk
87f9a3a25b Fixed rendering of nested tabbed code blocks 2018-06-13 09:51:04 +02:00
squidfunk
a8619c4483 Prepare 2.8.0 release 2018-06-10 18:17:32 +02:00
squidfunk
05e4d17cbf Added support for code tabs 2018-06-10 18:11:36 +02:00
squidfunk
46154ac92d Updated Promise polyfill 2018-06-10 15:38:46 +02:00
squidfunk
2163f58447 Bundled Material icons with theme 2018-06-10 14:52:46 +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
2fbeb28d9d Packaged Material icons with theme (GDPR) 2018-06-10 13:52:51 +02:00
squidfunk
3523c89610 Added temporary scripts for testing 2018-04-26 15:20:34 +02:00
squidfunk
bdecff9736 Added temporary scripts for testing 2018-04-26 15:14:25 +02:00
squidfunk
59a208cc64 Added Finnish translations 2018-04-26 10:38:26 +02:00
squidfunk
a7b6b608c0 Prepare 2.7.2 release 2018-04-09 09:50:12 +02:00
Isaac Muse
a3642c779f Fixed rendering issue for details on MS Edge (#753)
Fixes issue where details are not rendered properly in MS Edge due to the fact that details tags are not styled as block elements.
2018-04-09 09:35:18 +02:00
squidfunk
ed95c1c52c Prepare 2.7.1 release 2018-03-21 20:26:53 +01:00
squidfunk
bdaf043039 Reset drawer and search upon back button invocation 2018-03-21 20:21:49 +01:00
squidfunk
6ecf71ee8d Fixed JavaScript error on home page if Disqus is enabled 2018-03-21 20:05:27 +01:00
squidfunk
e6841b76e9 Prepare 2.7.0 release 2018-03-06 17:59:21 +01:00
squidfunk
1d5817e919 Added ability to set absolute URL for logo 2018-03-06 17:50:54 +01:00
squidfunk
2a48e17d2d Prepare 2.6.6 release 2018-02-22 19:57:26 +01:00
squidfunk
060a5df1f5 Fixed sidebar disappearing if JavaScript is not available and tabs are enabled 2018-02-22 19:53:44 +01:00
squidfunk
36ec35c2e4 Added preconnect for Google Fonts for faster loading 2018-02-22 19:15:32 +01:00
squidfunk
de1c3d515e Prepare 2.6.5 release 2018-02-22 11:37:10 +01:00
squidfunk
3d36463887 Prepare 2.6.4 release 2018-02-21 23:09:22 +01:00
squidfunk
468c1a7543 Fixed incorrect margins for buttons in Firefox and Safari 2018-02-21 21:23:37 +01:00
squidfunk
323f83808a Reverted GitHub stars rounding method 2018-02-21 21:12:04 +01:00
squidfunk
3f61b651a6 Replaced yarn with npm 5.6 2018-02-21 21:06:11 +01:00
squidfunk
dbd0006b01 Prepare 2.6.3 release 2018-02-18 23:31:58 +01:00
squidfunk
5bc0875e7e Prepare 2.6.2 release 2018-02-12 21:43:31 +01:00
squidfunk
165218646d Fixed incorrect rounding of amount of GitHub stars 2018-02-12 21:43:31 +01:00
squidfunk
1a15acc2e7 Prepare 2.6.1 release 2018-02-11 20:01:00 +01:00
squidfunk
b3e293ece9 Fixed duplicate slashes in source file URLs 2018-02-11 20:01:00 +01:00
squidfunk
e55a82b96c Added ability to override Disqus integration using metadata 2018-02-11 20:01:00 +01:00
squidfunk
94acf18d5d Fixed active page highlight not working with default palette 2018-02-11 20:01:00 +01:00
squidfunk
3c8f12a41a Prepare 2.6.0 release 2018-02-02 00:28:32 +01:00
squidfunk
c002cc2881 Fixed search for languages without stemmers 2018-02-02 00:28:32 +01:00
squidfunk
9b717440cc Added Persian translations 2018-02-02 00:28:32 +01:00
squidfunk
1df3bf2148 Prepare 2.5.5 release 2018-01-31 18:03:45 +01:00
squidfunk
64d9a849e9 Prepare 2.5.4 release 2018-01-29 15:09:47 +01:00
squidfunk
3132cee3dd Added Ukrainian translations 2018-01-25 19:43:59 +01:00
squidfunk
ee6b241250 Prepare 2.5.2 release 2018-01-22 19:00:40 +01:00
squidfunk
4f5677d584 Fixed uncaught reference error when search plugin is disabled 2018-01-22 19:00:40 +01:00
squidfunk
4b5c45c656 Refactored search language handling 2018-01-21 23:02:04 +01:00
squidfunk
0edbfdc8aa Added translations for skip-to-content link 2018-01-20 12:16:59 +01:00
squidfunk
9c59f5ebe0 Increased h1 anchor offset 2018-01-18 21:33:22 +01:00
squidfunk
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +01:00
squidfunk
b86463757f Prepare 2.5.0 release 2018-01-13 17:24:30 +01:00
squidfunk
01c9aa5e11 Added support for right-to-left languages 2018-01-13 17:24:30 +01:00
squidfunk
f99f6956be Prepare 2.4.0 release 2018-01-11 23:20:49 +01:00
squidfunk
1020185c82 Improved tabbing behavior in tabs mode 2018-01-11 23:20:49 +01:00
squidfunk
4026513889 Improved reset of tabbing behavior 2018-01-11 23:20:49 +01: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
809f943240 Fixed search bar stealing tab focus 2018-01-11 23:20:49 +01:00
squidfunk
b10e058906 Prepare 2.3.0 release 2018-01-09 22:56:48 +01:00
squidfunk
6d9a48fc80 Prepare 2.2.6 release 2017-12-27 13:50:58 +01:00
squidfunk
be05abf582 Bumped version 2017-12-18 19:39:39 +01:00
squidfunk
1c4b3683df Prepare 2.2.4 release 2017-12-18 08:48:26 +01:00
squidfunk
0321143a30 Prepare 2.2.3 release 2017-12-13 09:24:06 +01:00
squidfunk
96678bd30f Fixed margin issues on admonition 2017-12-12 21:43:04 +01:00
squidfunk
98dfb83d43 Prepare 2.2.2 release 2017-12-08 09:46:16 +01:00
squidfunk
17fb20ddf0 Simplified Admonition styles and fixed padding bug 2017-12-08 09:39:26 +01:00
squidfunk
507d44f264 Adjusted targeted link and footnote offsets 2017-12-02 15:30:18 +01:00
squidfunk
d014b21bd5 Prepare 2.2.1 release 2017-12-02 15:01:52 +01:00
squidfunk
e81054ceb6 Fixed minor styling error with title-only admonition blocks 2017-12-02 15:01:52 +01:00
squidfunk
5305cfcd53 Removed border for table of contents and improved spacing 2017-12-02 14:38:22 +01:00
squidfunk
df9ee02c69 Fixed transition delay for hero teaser 2017-11-22 21:37:12 +01:00
squidfunk
269414d75b Prepare 2.2.0 release 2017-11-22 21:14:58 +01:00
squidfunk
6cabf6d457 Fixed footnote backref target offsets regression 2017-11-22 20:23:31 +01:00
squidfunk
f6c0ea670e Fixed indented hero on animation due to scroll bar 2017-11-22 19:28:43 +01:00
squidfunk
6dc12758bb Fixed lunr search stemmers not being correctly loaded 2017-11-22 19:11:07 +01:00
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
squidfunk
4c8bdd133f Prepare 2.1.1 release 2017-11-21 21:44:22 +01:00
Martin Donath
81e433bf2e
Refactored Gulp build pipeline with Webpack 2017-11-21 21:32:25 +01:00
squidfunk
57142f144b Prepare 2.1.0 release 2017-11-19 18:02:58 +01:00
squidfunk
250f1fd172 Added white to primary colors 2017-11-19 17:49:37 +01:00
squidfunk
e6a5e2e160 Fixed missing ellipsis in header if JavaScript is enabled 2017-11-19 17:49:37 +01:00
squidfunk
354c713e4f Added support for sliding title 2017-11-19 17:49:37 +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
Roberto Jimenez Sanchez
e472e2d0b1 Generate Edit button only if page.edit_url 2017-11-18 17:10:26 +01:00
squidfunk
c622056a7c Fixed redundant clipboard button when using line numbers on code blocks 2017-11-08 08:39:07 +01:00
squidfunk
185c6128d3 Prepare 2.0.4 release 2017-11-05 17:26:08 +01:00
squidfunk
f602de8e10 Prepare 2.0.3 release 2017-11-05 16:16:00 +01:00
squidfunk
c2bbb060dc Fixed jumping to anchor inside closed details 2017-11-05 15:20:36 +01:00
squidfunk
1c11a78f44 Fixed footnote link colors and did some cleanup 2017-11-05 15:20:36 +01:00
squidfunk
f6a6638c78 Prepare 2.0.2 release 2017-11-01 18:30:23 +01:00
squidfunk
1be9225eb1 Fixed flash of unstyled content 2017-11-01 18:25:42 +01:00
squidfunk
f14fa37f4d Fixed vertical scrollbar always appearing 2017-11-01 18:16:50 +01:00
squidfunk
9b0bbe2e04 Fixed horizontal scrollbar between 1220px and 1234px 2017-11-01 18:11:58 +01:00
squidfunk
a0308b0dce Fixed meta source only rendering first character 2017-11-01 15:26:13 +01:00
squidfunk
f4dddaeeee Fixed favicon regression caused by deprecation upstream 2017-11-01 12:07:30 +01:00
squidfunk
72121517e6 Fixed meta title and description only rendering first character 2017-11-01 11:52:11 +01:00
squidfunk
eb232d43f0 Prepare 2.0.1 release 2017-10-31 21:10:28 +01:00
squidfunk
34c2f11afc Fixed wrong colors on nested admonition in details 2017-10-31 21:05:03 +01:00
squidfunk
91d34707ea Fixed styles for link to edit the current page 2017-10-31 21:05:03 +01:00
squidfunk
87d8855dfe Fixed error when initializing search 2017-10-31 20:52:29 +01:00
squidfunk
c5143e890f Prepare 2.0.0 release 2017-10-31 20:29:30 +01:00
squidfunk
240a7afa8d Moved logo to theme configuration and made search optional 2017-10-31 20:07:11 +01:00
squidfunk
5fbba74c80 Moved language and features to theme configuration 2017-10-31 20:07:11 +01:00
squidfunk
a5d90ea2a9 Moved font theme configuration 2017-10-31 20:07:11 +01:00
squidfunk
3afe613e63 Moved palette to theme configuration 2017-10-31 20:07:11 +01:00
Jonas Fonseca
85fedf287e Remove unused template code
It was introduced in 0ff0b46c7a in as an
unrelated change.
2017-10-27 08:59:53 +02:00
squidfunk
b093490b02 Prepare 1.12.2 release 2017-10-26 21:57:44 +02:00
squidfunk
c94457aa3f Prepare 1.12.1 release 2017-10-22 22:06:55 +02:00
squidfunk
4060ad09d9 Added compatibility for mkdocs 0.17 2017-10-22 21:29:25 +02:00
squidfunk
b8b245a1b8 Prepare 1.12.0 release 2017-10-20 09:42:43 +02:00
squidfunk
9f513d6411 Added support for default localization and German translations 2017-10-19 21:11:18 +02:00
squidfunk
9005ae2381 Fixed search bar alignment on big screens 2017-10-19 09:27:42 +02:00
squidfunk
9c3134750e Fixed backward compatibility for localization 2017-10-18 21:56:53 +02:00
squidfunk
c1e541b32b Added localization to clipboard 2017-10-18 20:44:15 +02:00
squidfunk
00911b7350 Improved passing i18n values to JavaScript 2017-10-18 20:44:15 +02:00
squidfunk
ae0ef54212 Prepare 1.10.4 release 2017-10-18 19:46:28 +02:00
Martin Donath
4151875a93 Merge branch 'master' into fix/scrollbar-on-short-content 2017-10-18 19:36:42 +02:00
squidfunk
716971d13d Fixed vertical scrollbar on short pages 2017-10-18 19:35:24 +02:00
Lukas Geiter
253596c58d Keep search open on enter without selection 2017-10-12 17:02:54 +02:00
squidfunk
dd50eb77e2 Prepare 1.10.3 release 2017-10-11 19:31:41 +02:00
squidfunk
85a8b1041b Fixed vertical scrollbar on some MathJax formulas 2017-10-11 19:24:50 +02:00
squidfunk
0ff0b46c7a Fixed footnote backref target offsets regression 2017-10-11 18:37:08 +02:00
squidfunk
872a953ee0 Prepare 1.10.2 release 2017-10-06 11:05:47 +02:00
squidfunk
ea81720a52 Fixed Safari sidebar height bug 2017-10-06 10:59:43 +02:00
squidfunk
ecf5369891 Prepare 1.10.1 release 2017-09-14 11:46:48 +02:00
squidfunk
91b87d1c91 Fixed bold code blocks rendering normal font 2017-09-14 11:35:48 +02:00
squidfunk
a37bdac33e Prepare 1.10.0 release 2017-09-01 20:06:27 +07:00
squidfunk
2537e39c75 Added support for configurable icon as logo 2017-09-01 19:59:48 +07:00
squidfunk
2ae628ed6d Fixed incorrect color transition for nested pane in mobile navigation 2017-09-01 19:59:48 +07:00
squidfunk
bca99813d1 Fixed error in mobile navigation in case JavaScript is not available 2017-09-01 19:59:48 +07:00
squidfunk
6a8eb11378 Improve tasklist checkbox styling 2017-09-01 19:59:48 +07:00
squidfunk
aff623aaac Fixed uninitialized overflow scrolling on main pane for iOS 2017-09-01 19:59:48 +07:00
squidfunk
3f80ada54d Prepare 1.9.0 release 2017-08-29 22:44:46 +07:00
squidfunk
19feb7a67d Replaced ligatures with Unicode code points 2017-08-29 22:28:53 +07:00
squidfunk
1e5611f1e8 Added polyfill for details and adjusted social footer 2017-08-29 21:17:16 +07:00
squidfunk
cf78aa3a9a Added new admonition classes and finished details 2017-08-29 18:46:07 +07:00
squidfunk
4d4c76c979 Added basic implementation for details 2017-08-29 13:17:26 +07:00
squidfunk
35dbc1c0bb Refactored Admonition styles 2017-08-26 18:36:49 +07:00
squidfunk
a09d5e5819 Prepare 1.8.1 release 2017-08-07 19:18:12 +02:00
squidfunk
cc7facb199 Fixed missing pagination on GitHub API 2017-08-07 19:10:11 +02:00
squidfunk
3b6ee1e1cb Prepare 1.8.0 release 2017-08-02 14:35:07 +02:00
squidfunk
c0164698cd Merge branch 'master' into feat/search-separator 2017-08-02 14:15:48 +02:00
squidfunk
bbb3455c52 Added support for lazy rendering of search results 2017-08-02 14:09:13 +02:00
squidfunk
8ff457a7fc Upgraded dependencies and fixed ESLint regression 2017-08-02 12:21:36 +02:00
squidfunk
d204b63ee4 Added search separator customization option 2017-07-27 23:27:27 +02:00
squidfunk
ef1c5a4043 Added search separator customization option 2017-07-27 22:48:47 +02:00
squidfunk
e7fd2b494c Prepare 1.7.5 release 2017-07-25 17:18:42 +02:00
squidfunk
bda96f88df Improved search user experience 2017-07-25 17:07:16 +02:00
squidfunk
357c6f4122 Improved search matching and highlighting 2017-07-25 16:50:15 +02:00
squidfunk
fce9e77c26 Fixed broken forms due to search shortcuts 2017-07-25 16:11:26 +02:00
squidfunk
4aaf9d6491 Prepare 1.7.4 release 2017-06-21 11:21:07 +02:00
squidfunk
a2cab75d96 Upgraded dependencies 2017-06-21 11:09:07 +02:00
squidfunk
bea89e87c1 Provide x-ua-compatible tag for IE compatibility 2017-06-21 10:50:12 +02:00
squidfunk
cb8900d973 Fixed functional link colors in TOC for active palette 2017-06-14 14:57:28 +02:00
squidfunk
80c6474683 Upgraded dependencies 2017-06-13 15:11:03 +02:00
squidfunk
ef1a71a973 Upgraded dependencies 2017-06-13 15:11:03 +02:00
squidfunk
f4fd1c3cea Prepare 1.7.3 release 2017-06-07 12:52:32 +02:00
jumpei-miyata
876b71466f Fixed support for Japanese search 2017-06-07 12:43:06 +02:00
squidfunk
eed002861e Prepare 1.7.2 release 2017-06-06 22:03:17 +02:00
squidfunk
ba0b46e9b0 Fixed non-disappearing tooltip 2017-06-06 21:54:39 +02:00
squidfunk
e5761ccfb1 Fixed offset of search box when repo url is not set 2017-06-06 20:52:14 +02:00