squidfunk
5894b28571
Moved re-painting logic to anchor component
2019-11-20 17:47:51 +01:00
squidfunk
b711d15dac
Documentation
2019-11-20 15:37:04 +01:00
squidfunk
89214b1897
Moved header to observable
2019-11-20 15:13:42 +01:00
squidfunk
e457d901b2
Added navigation component
2019-11-20 10:09:23 +01:00
squidfunk
919fccd238
Reduced repaints for admonitions on scroll
2019-11-19 13:11:21 +01:00
squidfunk
b49ae6f679
Inverted toggle logic and fixed ref counting of subscriptions
2019-11-18 21:24:56 +01:00
Isaac Muse
401dfd9e20
Switched to Twemoji due to license issues ( #1338 )
2019-11-16 20:47:02 +01:00
squidfunk
a03fa479b8
Refactored anchor blurring
2019-10-29 17:48:57 +01:00
squidfunk
5a90f92bb7
Added further utility functions
2019-10-28 18:01:47 +01:00
squidfunk
4e14ff285e
Refactored sidebar and container components
2019-10-28 16:13:13 +01:00
squidfunk
7a3d28b1ff
Removed unnecessary stuff from index.ts for now
2019-10-27 18:25:12 +01:00
squidfunk
edf7484d98
Added sidebar component implementation
2019-10-27 18:02:05 +01:00
squidfunk
b9be2ee875
Added container component implementation
2019-10-27 16:21:49 +01:00
squidfunk
4b6e0808d1
Make UI observables hot
2019-10-27 15:55:10 +01:00
squidfunk
85a18c64fa
Restructued UI observables
2019-10-27 10:26:54 +01:00
Bastian Diehl
6b869f1d74
Fixed exception on GitHub rate limit error ( #1303 )
...
this is caused by too many request to github
2019-10-11 17:13:31 +02:00
Samuel Colvin
6ac6fa4a9e
Reduced number of GitHub requests ( #1298 )
2019-10-09 15:34:20 +02:00
Kristjan Tärk
0826b9243b
Added Estonian translations ( #1286 )
2019-10-03 11:14:32 +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
cb1acef1df
Improved build dependency resolution
2019-09-28 19:55:08 +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
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
Christian Oliff
ec9a9a62b0
Improved accessibility for IE users ( #1222 )
...
> The <main> element is widely supported. For Internet Explorer 11 and lower, it's suggested that an ARIA role of "main" be added to the <main> element to ensure it is accessible (screen readers like JAWS, used in combination with older versions of Internet Explorer, understand the semantic meaning of the <main> element when this role attribute is included).
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main#Browser_compatibility
2019-08-23 10:59:23 +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
9d1390f318
Fixed disappearance of tabs for smaller font sizes
2019-06-15 15:54:50 +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
Christian Oliff
6182414ae5
Improved Google Font display experience ( #1134 )
...
This fixes : #1133
This change prevents the font changing if the Google font loads within 100ms.
2019-06-14 09:26:51 +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
631846394e
Prepare 4.3.0 release
2019-05-17 21:52:14 +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
157c929faa
Fixed alignment of repository link on tablet and desktop
2019-05-17 21:35:11 +02:00
squidfunk
94d6f2c68b
Added font-display: swap to Google Font loading
2019-05-17 18:57:11 +02:00
squidfunk
b245e9f769
Fixed search hotkey stealing focus from non-form textarea
2019-04-28 11:49:40 +02:00
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