Commit Graph

629 Commits

Author SHA1 Message Date
squidfunk 611dc9718f Added Norwegian Nynorsk translations 2019-04-28 11:37:56 +02:00
squidfunk 8049185aa8 Fixed search hotkeys to trigger for smaller screen sizes 2019-04-28 10:34:27 +02:00
squidfunk bcc8552876 Fixed linter errors 2019-04-28 10:23:46 +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 13a4c9172d Removed unnecessary Babel plugin 2019-04-17 10:19:55 +02:00
Lars bd8eaf4a09 Removed HTML tags from nav item titles (#1073) 2019-04-16 11:29:16 +02:00
squidfunk 6e43b874f6 Fixed CSS errors detected during validation 2019-03-28 17:16:26 +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 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 2b2d908d6e Added background on hover for table rows 2019-02-13 16:14:20 +01:00
squidfunk 74c473e2d7 Added Greek translations 2019-02-13 15:59:56 +01:00
squidfunk 9a4b142e10 Removed FastClick 2019-02-13 15:49:10 +01:00
squidfunk 163438a425 Fixed stylelint errors 2019-02-12 19:41:13 +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 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 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 cc47bb7464 Updated copyright year 2019-01-01 18:42:00 +01:00
squidfunk 59ce603ed8 Moved redirect code into main template 2018-12-28 15:09:11 +01:00
squidfunk afd2787fea Merge branch 'master' of git://github.com/kcgthb/mkdocs-material into kcgthb-master 2018-12-28 15:01:21 +01:00
squidfunk 635f74686d Formatting 2018-12-28 14:59:45 +01:00
Christian Oliff f9b4a63ebc Added support for Google Analytics async snippet loading (#921)
Snippet from Google: https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet

Recommended by HTML5Boilerplate:
https://github.com/h5bp/html5-boilerplate/blob/master/dist/index.html
2018-12-28 14:46:24 +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
Kilian Cavalotti 05673a2de6 redirect: add metatag to prevent robot indexing 2018-12-04 08:38:28 -08:00
Kilian Cavalotti 6d713cb8f5 redirect: add support to redirect anchors
eg. if url.md contains: "redirect: newurl/"
       //domain.tld/url#foo redirects to //domain.tld/newurl#foo
2018-11-26 15:22:35 -08: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 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 13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk 15e604f797 Fixed missing URL filter in footer for FontAwesome link 2018-10-23 08:35:56 +02:00
Kilian Cavalotti dcf6c34284 redirect: use document.location.replace instead of location.href to
avoid storing old URL in browser history
2018-10-18 08:38:41 -07:00
Kilian Cavalotti 0c17ca3a52 add support for redirects via metadata extension 2018-10-17 14:53:48 -07:00
squidfunk 611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
Ronald Ligteringen b04972ebbe Updated Dutch translations
The correct translation for Table of Contents in Dutch is 'Inhoudsopgave'
2018-09-03 09:33:15 +02:00
Richard Körber 7d20ae8561 Removed preconnect meta tag if Google Fonts are disabled 2018-09-03 09:32:48 +02:00
squidfunk 7f08e2849a Fixed #841: Additional path levels for extra CSS and JS 2018-08-07 11:10:19 +02:00
Waldinar Oliveira Neto cc46c9e5fb Fixed lunr.js import scripts 2018-08-06 09:37:43 +02:00
Waldinar Oliveira Neto 679aa64310 Fixed broken search result links 2018-08-05 21:41:19 +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 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 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 05e4d17cbf Added support for code tabs 2018-06-10 18:11:36 +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
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 416fd474b4 Added Slovak translations 2018-06-02 15:23:48 +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
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 bdaf043039 Reset drawer and search upon back button invocation 2018-03-21 20:21:49 +01: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 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 75d924d4fa Added Catalan translations 2018-02-21 23:08:20 +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 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 bf9b652eca Fixed double-layered borders for tables 2018-02-12 21:43:31 +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 c0dbdcd688 Improved prev/next German translations 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 189d688852 Added Hungarian translations 2018-01-31 18:03:45 +01:00
Balázs Györkös 6984baa16d Create hu.html
Adding hungarian language
2018-01-31 17:24:17 +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
Alicia Perez cb6c3e9541 Add new translation in Spanish (#670)
Added Spanish translations for "skip-to-content" link
2018-01-20 11:34:33 +01:00
Odd Christer Brovig 57209497d2 Updated no with skip.link.title 2018-01-19 09:28:02 +01:00
squidfunk b6fc85f68a Added German translation for skip link 2018-01-18 22:36:23 +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 c3cdb945a6 Updated copyright notice 2018-01-13 17:36:13 +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 b1d8a79471 Removed commented out code 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
gurolg 468bbe9c1b Added Turkish translations 2017-12-21 10:26:33 +01:00
squidfunk b7f1ab665d Prepare 2.2.5 release 2017-12-18 19:24:23 +01:00
squidfunk 1c4b3683df Prepare 2.2.4 release 2017-12-18 08:48:26 +01:00
Joshua Avalon 93223df6a2
Merge branch 'master' into master 2017-12-13 09:11:45 +08:00
squidfunk 4246913d25 Upgraded stylelint 2017-12-12 22:04:31 +01:00
squidfunk 96678bd30f Fixed margin issues on admonition 2017-12-12 21:43:04 +01:00
joshuaavalon 6d8d6fc24d squidfunk/mkdocs-material#632 2017-12-12 17:56:27 +08:00
Bart Van Hooydonck 996e5b5e31 Update nl.html
Better translation for clipboard.copied
2017-12-08 09:39:42 +01:00
Bart Van Hooydonck 6130e46f32 Update nl.html
Added missing translation for clipboard.copied
2017-12-08 09:39:42 +01:00
Bart Van Hooydonck c6b2d1acd0 Added dutch translations 2017-12-08 09:39:42 +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 0457aa1f95 Added note on ligatures in theme configuration 2017-12-02 15:01:52 +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 decdbef787 Replaced teaser image with new look 2017-11-22 21:37:12 +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 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 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
Roberto Jimenez Sanchez e472e2d0b1 Generate Edit button only if page.edit_url 2017-11-18 17:10:26 +01:00
Christian Oliff 0f9a76f452 Update footer.html 2017-11-14 10:34: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 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
miyahan 63ebc684ef Add Japanese translation 2017-11-05 14:48:51 +01:00
squidfunk 1be9225eb1 Fixed flash of unstyled content 2017-11-01 18:25:42 +01:00