Commit Graph

196 Commits

Author SHA1 Message Date
squidfunk
82fddbad77 Refactored JSX factory and added typings 2019-12-18 14:57:37 +01:00
squidfunk
4e4e086af7 Added observable for web worker communication 2019-12-17 15:59:13 +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
XhmikosR
54bd366a71 Fixe invalid character in Google Fonts URL (#1366)
Escape `|` in the Google Fonts URL.
2019-12-04 20:23:14 +01:00
squidfunk
c409fe3953 Fixed Travis and added more components 2019-11-27 19:12:49 +01:00
squidfunk
62ead4092f Documentation 2019-11-26 10:36:04 +01:00
squidfunk
e1cab27714 Fixed L10N JSON format 2019-11-26 10:19:10 +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
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
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
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +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
squidfunk
631846394e Prepare 4.3.0 release 2019-05-17 21:52:14 +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
94d6f2c68b Added font-display: swap to Google Font loading 2019-05-17 18:57:11 +02:00
squidfunk
9a16b9c6ea Fixed Asian search after lunr-languages upgrade 2019-03-12 16:33:58 +01:00
squidfunk
5ec6ad2828 Moved Google Analytics block into head 2019-01-28 11:18:22 +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
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
squidfunk
226cb9f4d9 Added support for Progressive Web App Manifest 2018-11-13 22:24:17 +01:00
squidfunk
13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +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
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
602de62ae3 Added support for different spellings for theme color 2018-06-18 10:19:07 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +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
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
bdaf043039 Reset drawer and search upon back button invocation 2018-03-21 20:21:49 +01:00
squidfunk
6ecf71ee8d Fixed JavaScript error on home page if Disqus is enabled 2018-03-21 20:05:27 +01:00
squidfunk
36ec35c2e4 Added preconnect for Google Fonts for faster loading 2018-02-22 19:15:32 +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
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
4b5c45c656 Refactored search language handling 2018-01-21 23:02:04 +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
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
Martin Donath
81e433bf2e
Refactored Gulp build pipeline with Webpack 2017-11-21 21:32:25 +01:00
Roberto Jimenez Sanchez
e472e2d0b1 Generate Edit button only if page.edit_url 2017-11-18 17:10:26 +01:00
squidfunk
1be9225eb1 Fixed flash of unstyled content 2017-11-01 18:25:42 +01:00
squidfunk
9b0bbe2e04 Fixed horizontal scrollbar between 1220px and 1234px 2017-11-01 18:11:58 +01:00
squidfunk
a0308b0dce Fixed meta source only rendering first character 2017-11-01 15:26:13 +01:00
squidfunk
f4dddaeeee Fixed favicon regression caused by deprecation upstream 2017-11-01 12:07:30 +01:00
squidfunk
72121517e6 Fixed meta title and description only rendering first character 2017-11-01 11:52:11 +01:00
squidfunk
87d8855dfe Fixed error when initializing search 2017-10-31 20:52:29 +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
3afe613e63 Moved palette to theme configuration 2017-10-31 20:07:11 +01:00
Jonas Fonseca
85fedf287e Remove unused template code
It was introduced in 0ff0b46c7a in as an
unrelated change.
2017-10-27 08:59:53 +02:00
squidfunk
4060ad09d9 Added compatibility for mkdocs 0.17 2017-10-22 21:29:25 +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
0ff0b46c7a Fixed footnote backref target offsets regression 2017-10-11 18:37:08 +02:00
squidfunk
a1a18404e3 Removed unnecessary documentation 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
bea89e87c1 Provide x-ua-compatible tag for IE compatibility 2017-06-21 10:50:12 +02:00
jumpei-miyata
876b71466f Fixed support for Japanese search 2017-06-07 12:43:06 +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
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
facelessuser
4b6ffe6628 Add clipboard.js support 2017-05-15 18:31:10 -06:00
squidfunk
6336e5055c Added language from localizations to HTML tag 2017-04-22 14:55:21 +02:00
squidfunk
eaaefe4fc4 Fixed broken source files links 2017-04-22 14:38:51 +02:00
squidfunk
315fa4b590 Fixed deprecated calls for template variables 2017-04-05 11:39:13 +02:00
squidfunk
e00d5fb98a Slightly better distinguishable footnotes 2017-03-11 18:40:44 +01:00
squidfunk
19fb287cef Implemented source file linkage through metadata 2017-03-11 14:42:55 +01:00
squidfunk
12e12135c1 Move button into content block 2017-03-11 14:42:55 +01:00
squidfunk
a911dd31b3 Added source file links, have to fix repaints 2017-03-11 14:42:55 +01:00
squidfunk
d52f605200 Refactored and cleaned up partials 2017-02-26 15:06:50 +01:00
squidfunk
2c3ca5aeb4 Merge branch 'master' into refactor/sidebar-height-spacing 2017-02-26 11:04:12 +01:00
squidfunk
8f48f0bce6 Fixed inconsistencies in table-styling 2017-02-25 11:36:10 +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
80fe7e010d Migrate build pipeline to Webpack 2 2017-02-11 16:26:23 +01:00
squidfunk
885053bfbd Removed webfonts for visual tests 2017-02-10 16:43:32 +01:00
squidfunk
07329f4304 Merge branch 'master' into chore/setup-gemini-test-environment 2017-02-08 23:30:46 +01:00
squidfunk
f40585f528 Fixed Jinja error for raw HTML header tags 2017-02-08 23:17:37 +01:00
squidfunk
8a7d9001fd Added tests for navigation and improved test generation logic 2017-02-01 23:56:57 +01:00
squidfunk
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
71b300aaa1 Added possibility to add tabs 2017-01-26 21:10:52 +01:00
squidfunk
364309d47a Restructured partials 2017-01-13 00:31:37 +01:00
squidfunk
82b8c71059 Removed automatic MathJax inclusion 2017-01-09 21:41:30 +01:00