squidfunk
1fdb65b88f
Added loading logic for lunr-languages
2020-01-26 15:42:22 +01:00
squidfunk
d329b6921f
Added styles for announcement bar
2020-01-25 15:09:27 +01:00
squidfunk
a5858e4694
Added support for announcement bar
2020-01-25 14:26:06 +01:00
squidfunk
bad16638c4
Formatting
2019-12-25 15:14:02 +01:00
Benjamin Staneck
9c6a4ca64f
Merge branch 'master' into refactor/rxjs-typescript ( #1406 )
...
* 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
* Set `tabindex` to `0` for skip to content link (#1393 )
see https://web.dev/control-focus-with-tabindex/
* Added diff to CI build
* Added built files
* Bump @babel/cli from 7.7.5 to 7.7.7
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump eslint from 6.7.2 to 6.8.0
Bumps [eslint](https://github.com/eslint/eslint ) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump mini-css-extract-plugin from 0.8.0 to 0.9.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.8.0...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/plugin-transform-react-jsx from 7.7.4 to 7.7.7
Bumps [@babel/plugin-transform-react-jsx](https://github.com/babel/babel ) from 7.7.4 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump style-loader from 1.0.1 to 1.1.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases )
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.1...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump webpack from 4.41.2 to 4.41.4
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.2 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel ) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix makefile
* Update packages
* build
* "Fix" lint
* Revert icon and makefile change
Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-25 15:09:36 +01:00
squidfunk
9d67cdfe4a
Added support for custom repository icons
2019-12-23 20:24:24 +01:00
squidfunk
bd712ca794
Fixed author in metadata only showing first character
2019-12-23 19:54:01 +01:00
squidfunk
581d7c017c
Reduced content shift when icons are loading
2019-12-23 19:39:40 +01:00
squidfunk
6e29fc3723
Moved FontAwesome back into footer
2019-12-22 17:42:58 +01:00
squidfunk
f39c9f9e68
Fixed unmapped components
2019-12-22 17:30:55 +01:00
squidfunk
37b3870133
Renamed components
2019-12-22 17:18:20 +01:00
squidfunk
6863aeb4a4
Finished search and moved components to setup functions
2019-12-20 18:03:31 +01:00
squidfunk
87e3bc2410
Added search result metadata
2019-12-19 14:44:22 +01:00
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