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

379 Commits

Author SHA1 Message Date
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
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
5d9c84bac4 Removed unused partial 2017-10-26 21:57:44 +02:00
squidfunk
b093490b02 Prepare 1.12.2 release 2017-10-26 21:57:44 +02:00
cxlwill
a7c792a51a change directory 2017-10-26 21:33:41 +02:00
cxlwill
dfc1b38c2a modify separator for tokenization 2017-10-26 21:33:41 +02:00
cxlwill
6ae4322ad0 add Simplified Chinese translation 2017-10-26 21:33:41 +02:00
Marc Vertes
56e2a2d6ec fr translation: apply in src/, not material/ 2017-10-25 11:18:17 +02:00
Marc Vertes
4fc5d952f7 Add french translation, per #509 2017-10-25 11:18:17 +02:00
squidfunk
5e7ad632de Improved downward compatibility with custom partials 2017-10-21 18:17:16 +02:00
squidfunk
52097a552a Fixed some warnings from W3C HTML validator 2017-10-20 10:26:01 +02:00
Jonas Fonseca
eda4ff2c14 Add Danish translation
References #509
2017-10-20 09:09:41 +02:00
squidfunk
0ab84b02ed Added documentation for language configuration 2017-10-19 21:11:18 +02:00
squidfunk
9f513d6411 Added support for default localization and German translations 2017-10-19 21:11:18 +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
2537e39c75 Added support for configurable icon as logo 2017-09-01 19:59:48 +07:00
squidfunk
19feb7a67d Replaced ligatures with Unicode code points 2017-08-29 22:28:53 +07:00
squidfunk
bbb3455c52 Added support for lazy rendering of search results 2017-08-02 14:09:13 +02:00
squidfunk
ef1c5a4043 Added search separator customization option 2017-07-27 22:48:47 +02:00
squidfunk
993fb4782c Improved markup of search dialogue for a11y 2017-07-25 16:04:56 +02:00
squidfunk
e5761ccfb1 Fixed offset of search box when repo url is not set 2017-06-06 20:52:14 +02:00
squidfunk
5305e3920a Added double quotes where possible 2017-06-01 22:20:46 +02:00
squidfunk
271d974266 Merge branch 'master' into feature/lunr-languages-integration 2017-06-01 09:14:10 +02:00
squidfunk
d17b0fbb90 Fixed search highlighting for non-latin languages 2017-06-01 00:54:06 +02:00
squidfunk
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
squidfunk
6336e5055c Added language from localizations to HTML tag 2017-04-22 14:55:21 +02:00
squidfunk
00b7e600a8 Merged master and implemented search overlay 2017-04-22 14:17:25 +02:00
squidfunk
758f07cadc Fixed incorrectly set site url, if given 2017-03-30 22:37:39 +02:00
squidfunk
50efda702a Focus search after reset 2017-03-24 20:02:27 +01:00
squidfunk
a2ff177885 Added reset button for search 2017-03-24 20:02:27 +01:00
squidfunk
675a75e000 Normalize placeholder names for search results 2017-03-16 16:12:53 +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
536554c18b Added support for search localization 2017-03-16 12:11:00 +01:00
squidfunk
19fb287cef Implemented source file linkage through metadata 2017-03-11 14:42:55 +01:00
squidfunk
d12f17e520 Reduced repaints for header and sidebars 2017-03-11 14:42:55 +01:00
squidfunk
bbc48e75bf Fixed missing link in tabs navigation on deeply nested items 2017-03-02 16:02:32 +01:00
squidfunk
fc4a466346 Fixed incorrectly displayed nested lists 2017-02-26 17:12:26 +01:00
squidfunk
d52f605200 Refactored and cleaned up partials 2017-02-26 15:06:50 +01:00
squidfunk
0eee81b048 Added support for tabs 2017-02-26 13:59:54 +01:00
squidfunk
2c3ca5aeb4 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-26 11:04:12 +01:00
squidfunk
c6e5159cc6 Merge branch 'master' into chore/flow-type-checking 2017-02-25 17:18:44 +01:00
squidfunk
22a2f084a1 Integrated static type-checking via JSDoc and Flow 2017-02-25 17:13:50 +01:00
squidfunk
de3bd8d665 Added disqus integration 2017-02-24 22:58:30 +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
79f277c8fe Activate root tab when there'e an active page on the root level 2017-01-27 23:54:52 +01:00
squidfunk
82a98ae9d3 Reduce repaints on scroll with new tabs 2017-01-27 23:21:41 +01:00
squidfunk
4c4edff9cb Cleaned up and refactored tabs implementation 2017-01-27 22:41:55 +01:00
squidfunk
71b300aaa1 Added possibility to add tabs 2017-01-26 21:10:52 +01:00
squidfunk
c55cf5cba9 Hide logo on mobile 2017-01-14 20:13:10 +01:00
squidfunk
364309d47a Restructured partials 2017-01-13 00:31:37 +01:00
squidfunk
1a32e9b7e3 Remove icon ligatures from HTML to fix search indexing 2017-01-11 23:49:36 +01:00
squidfunk
cecd1f1d7c Drop 'with' in templates to be compatible with Jinja < 2.9 2017-01-10 00:15:44 +01:00
squidfunk
7a6db53801 Set SVGs to inherit fill color for easier styling 2017-01-09 22:51:18 +01:00
squidfunk
cb9a563a78 Add access key attribute to search input 2017-01-09 22:13:13 +01:00
squidfunk
6d01f17193 Fix icons and build due to jinja changes 2017-01-08 18:27:01 +01:00
squidfunk
d53945a89a Fix search bar offset when there's no repository information 2017-01-06 19:31:56 +01:00
squidfunk
60624bfa82 Localize edit button and hide on print 2017-01-06 19:18:17 +01:00
squidfunk
fde28c3f47 Put repo block definition in source.html 2017-01-06 19:08:09 +01:00
squidfunk
4d4e869f02 Add titles to links in footer 2017-01-06 18:52:12 +01:00
squidfunk
42d6525c50 Bring back i18n 2017-01-06 18:48:32 +01:00
squidfunk
01054414c8 Fixed #79: Modularized social links integration 2017-01-04 20:16:12 +01:00
squidfunk
b22e571f31 Fixes #77: Replace linebreak in footer with CSS solution 2017-01-03 20:57:59 +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
db4a8340d8 Fix sizing of logo in drawer 2016-12-29 15:03:18 +01:00
squidfunk
5ef3ec7aa3 Add scrollfix for iOS 2016-12-29 14:19:26 +01:00
squidfunk
acece94694 Fix output of HTML minifier 2016-12-29 10:27:25 +01:00
squidfunk
3f5957bd01 Fix source repository SVG sizing in IE/Edge 2016-12-28 17:59:29 +01:00
squidfunk
f4c5344116 Finishing touches on drawer 2016-12-28 16:20:52 +01:00
squidfunk
b3fcd629a3 Make logo configurable via mkdocs.yml 2016-12-28 15:32:26 +01:00
squidfunk
27808a4899 Keep SVG optimizer from removing IDs 2016-12-28 14:58:42 +01:00
squidfunk
1e35478b44 Add config.extra.repo_icon option for source icon 2016-12-28 14:50:11 +01:00
squidfunk
6364de1a2d Inline source repository SVGs 2016-12-28 14:47:53 +01:00
squidfunk
84dd88af69 Re-add edit link 2016-12-28 12:11:04 +01:00
squidfunk
e1310aa9ee Add -webkit-overflow-scrolling via JavaScript on navigation 2016-12-28 11:49:57 +01:00
squidfunk
124a6b2438 Put webfonts into separate template block and init fonts 2016-12-27 10:56:13 +01:00
squidfunk
2cb7e30568 Perform line break only when there is a copyright banner 2016-12-26 18:52:25 +01:00
squidfunk
c0fcd8f8c5 Integrated social icons and moved copyright banner below footer navigation 2016-12-26 18:26:34 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
Brendan Abbott
66f8aae310 Handle when no config.repo_url is available 2016-12-19 13:57:45 +10:00
squidfunk
2c8a324324 Integrated data table styles from 0.2.x 2016-12-18 13:29:03 +01:00
squidfunk
b44c503008 Refactored search result styles 2016-12-16 09:21:31 +01:00
squidfunk
420b841ecf Bring back h1 headline handling from 0.2.4 2016-12-15 18:29:46 +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
squidfunk
8cac945757 Finished full integration for CodeHilite 2016-10-30 10:36:18 +01:00
squidfunk
83c5c7512b Cleaned up search modal styles 2016-10-23 19:31:54 +02:00
Martin Donath
e61f12d429 Merge pull request #58 from brendo/dynamic-source-version
Use `extra.version` if it is available when generating source partial
2016-10-23 16:55:46 +02:00
squidfunk
95435e7035 Implemented basic search modal functionality 2016-10-23 10:21:37 +02:00
Brendan Abbott
d5a78ce396 Use extra.version if it is available when generating source partial 2016-10-23 18:11:44 +10:00
squidfunk
a18eb4f982 Add extra.repo_type config option to override link parser 2016-10-16 18:22:07 +02:00
squidfunk
eaeba59dd8 Added guards for repository banner 2016-10-16 17:08:34 +02:00
squidfunk
46f45bb8a9 Introduced ESLint for code style checks 2016-09-30 13:29:45 +02:00
squidfunk
fc7fb28edb Prototyped animation for navigation on desktop 2016-09-24 18:52:37 +02:00
squidfunk
71d022ef39 Refactored repository view and integrated into drawer 2016-09-23 17:46:16 +02:00
squidfunk
9338045887 Refactored navigation and drawer 2016-09-23 11:56:25 +02:00