Benjamin Staneck
72891b8bcb
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
2019-12-18 20:42:40 +01:00
squidfunk
d439142f0f
Merge branch 'master' into refactor/rxjs-typescript
2019-12-17 09:59:59 +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
9b85c980ac
Update badge in README
2019-12-06 15:58:27 +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
4fc4876fc8
Optimized HTML structure
2019-11-22 17:53:12 +01:00
Kristjan Tärk
0826b9243b
Added Estonian translations ( #1286 )
2019-10-03 11:14:32 +02:00
Christian Oliff
44196408a3
Removed unnecessary title tags from table of contents ( #1240 )
2019-09-05 07:05:16 +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
Christian Oliff
4f41b9aa52
Removed unneeded title attributes from text links in nav and sidebar ( #1224 )
2019-08-23 17:32:44 +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
zaxayn
2a8fd8c414
Improved Chinese translations
...
I am Chinese, which is more in line with Chinese habits. If you have Chinese friends, you can check with him:)
2019-05-29 08:08:17 +02:00
Janus
6b90dea369
Fixed spelling error in danish translation
...
It should be indtast not indtask.
2019-05-23 09:15:25 +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
cc47bb7464
Updated copyright year
2019-01-01 18:42:00 +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
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
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
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
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
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
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
gurolg
468bbe9c1b
Added Turkish translations
2017-12-21 10:26:33 +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
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
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
Christian Oliff
0f9a76f452
Update footer.html
2017-11-14 10:34:26 +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
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
cxlwill
f12069ece9
Minor correction
2017-10-26 21:33:41 +02:00
cxlwill
45b0a87cb7
changle language code
2017-10-26 21:33:41 +02:00
cxlwill
b4c797358d
Add Traditional Chinese translation
2017-10-26 21:33:41 +02:00
cxlwill
a7c792a51a
change directory
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
Odd Christer Brovig
6ad162c6b6
Adds norwegian bokmål translation
2017-10-25 11:12:56 +02:00
markainick
73a11d399e
Add italian translation
2017-10-25 11:11:48 +02:00
squidfunk
5e7ad632de
Improved downward compatibility with custom partials
2017-10-21 18:17:16 +02:00
Alicia P
9dd7aac430
adding Spanish translation
2017-10-21 17:21:00 +02:00
Martin B
c69db960b3
Added swedish translation
2017-10-20 12:07:26 +02:00
Max
ddb562f816
Added Polish translation file
2017-10-20 11:24:59 +02:00
squidfunk
52097a552a
Fixed some warnings from W3C HTML validator
2017-10-20 10:26:01 +02:00
squidfunk
b8b245a1b8
Prepare 1.12.0 release
2017-10-20 09:42:43 +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
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
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
f37bb76d18
Update copyright
2017-01-06 19:11:18 +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
232e997ddc
Replaced SASS Lint with Stylelint
2017-01-01 15:59:44 +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
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
3a73abad08
Added breadcrumbs in header
2016-12-15 20:04:30 +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