1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-13 18:40:54 +01:00
Commit Graph

252 Commits

Author SHA1 Message Date
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
Kristjan Tärk
0826b9243b Added Estonian translations (#1286) 2019-10-03 11:14:32 +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
f02d4aa47f Added copyright banners to minified JavaScript 2019-09-22 12:46:35 +02:00
squidfunk
3ec9506651 Added missing assets 2019-08-27 17:43:20 +02:00
squidfunk
af81591cce Prepare 4.4.2 release 2019-08-27 17:41: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
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
fb981cf92a Fixed search for Slovak and Slovenian 2019-06-15 14:30:34 +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
76eebf53c2 Added support for changing header through metadata 'title' property 2019-05-17 21:42:02 +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
611dc9718f Added Norwegian Nynorsk translations 2019-04-28 11:37:56 +02:00
Lars
bd8eaf4a09 Removed HTML tags from nav item titles (#1073) 2019-04-16 11:29:16 +02:00
squidfunk
9a16b9c6ea Fixed Asian search after lunr-languages upgrade 2019-03-12 16:33:58 +01:00
squidfunk
74c473e2d7 Added Greek translations 2019-02-13 15:59:56 +01:00
squidfunk
1b45a24113 Fixed loading method for Google Analytics 2019-02-12 18:11:40 +01:00
squidfunk
a27372eee3 Removed blocks in partials - Jinja doesn't support them 2019-02-09 18:02:46 +01:00
squidfunk
9d46c27a9e Removed Google Tag Manager and reverted to Google Analytics 2019-02-09 17:54:08 +01:00
squidfunk
2f31618d60 Use asynchronous Google Analytics tracking 2019-01-28 11:13:26 +01:00
squidfunk
635f74686d Formatting 2018-12-28 14:59:45 +01:00
squidfunk
1dfac969e7 Updated dependencies and package-lock.json 2018-11-17 18:01:39 +01:00
squidfunk
fe42b2f7e1 Prepare 3.0.6 release 2018-10-26 13:15:41 +02:00
squidfunk
d72e46b65d Removed unnecessary overrides of search tokenizer 2018-10-23 08:58:03 +02:00
squidfunk
793263f40f Added Indonesian translations 2018-10-23 08:56:37 +02:00
squidfunk
330229fdbc Added Croatian translations 2018-10-23 08:47:09 +02:00
squidfunk
15e604f797 Fixed missing URL filter in footer for FontAwesome link 2018-10-23 08:35:56 +02:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
squidfunk
fd75fa8eb7 Added Serbian and Serbo-Croatian translations 2018-08-04 20:35:14 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
squidfunk
4bc97f1f36 Fixed build error after MkDocs upgrade 2018-07-29 16:55:17 +02:00
squidfunk
7f3c72bff2 Added link to home for logo in mobile navigation 2018-07-29 16:19:04 +02:00
squidfunk
65cefb835a Added Hindi and Czech translations 2018-06-29 11:14:23 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +02:00
Ed Morley
ca773de86c Fixed: Changed links to mkdocs.org to HTTPS
To prevent the unnecessary HTTP 301 (and reduce the redirects noise
when running the W3C link checker tool against generated pages).

Also fixes the anchor fragment for `#using-the-theme-custom_dir`.
2018-06-10 15:30:26 +02:00
squidfunk
c90c57d2b4 Fixed missing material icons 2018-06-10 15:21:49 +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
416fd474b4 Added Slovak translations 2018-06-02 15:23:48 +02:00
squidfunk
59a208cc64 Added Finnish translations 2018-04-26 10:38:26 +02:00
squidfunk
34afab9fd6 Added Galician translations 2018-03-21 20:11:06 +01:00
squidfunk
6ecf71ee8d Fixed JavaScript error on home page if Disqus is enabled 2018-03-21 20:05:27 +01:00
squidfunk
ef9cfdd076 Added Hebrew translations 2018-03-06 17:53:25 +01:00
squidfunk
1d5817e919 Added ability to set absolute URL for logo 2018-03-06 17:50:54 +01:00
squidfunk
75d924d4fa Added Catalan translations 2018-02-21 23:08:20 +01:00
squidfunk
b96c7380f8 Added Vietnamese translations 2018-02-18 23:29:11 +01:00
squidfunk
165218646d Fixed incorrect rounding of amount of GitHub stars 2018-02-12 21:43:31 +01:00
squidfunk
e55a82b96c Added ability to override Disqus integration using metadata 2018-02-11 20:01:00 +01:00
squidfunk
c0dbdcd688 Improved prev/next German translations 2018-02-11 20:01:00 +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
189d688852 Added Hungarian translations 2018-01-31 18:03:45 +01:00
squidfunk
3132cee3dd Added Ukrainian translations 2018-01-25 19:43:59 +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
cxlwill
29e4ddf0d6 Update zh.html
Add translation for skip
2018-01-19 09:27:45 +01:00
squidfunk
b6fc85f68a Added German translation for skip link 2018-01-18 22:36:23 +01:00
squidfunk
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +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
6d9a48fc80 Prepare 2.2.6 release 2017-12-27 13:50:58 +01:00
squidfunk
1c4b3683df Prepare 2.2.4 release 2017-12-18 08:48:26 +01:00
joshuaavalon
6d8d6fc24d squidfunk/mkdocs-material#632 2017-12-12 17:56:27 +08:00
squidfunk
98dfb83d43 Prepare 2.2.2 release 2017-12-08 09:46:16 +01:00
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
squidfunk
7859acf6f5 Added portuguese translations 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
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
Christian Oliff
f5b9969011 Remove unnecessary title tag from links in footer
Remove unnecessary title tag from links in footer
2017-11-14 10:34:26 +01:00
Christian Oliff
aa58f72a8b https link 2017-11-10 09:05:44 +01:00
squidfunk
1c11a78f44 Fixed footnote link colors and did some cleanup 2017-11-05 15:20:36 +01:00
squidfunk
e8200730b3 Added Russian translations 2017-11-01 14:05:18 +01:00
squidfunk
87d8855dfe Fixed error when initializing search 2017-10-31 20:52:29 +01:00
squidfunk
f68d7beb94 Updated documentation and simplified search tokenizer configuration 2017-10-31 20:07:11 +01:00