squidfunk
e1c5953ae6
Fixed #1418 : set background color to white
2020-01-30 20:47:34 +01:00
squidfunk
018e38e9ac
Added support for lunr-languages
2020-01-26 16:03:49 +01:00
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
4196de39a9
Merge branch 'refactor/rxjs-typescript' of github.com:squidfunk/mkdocs-material into refactor/rxjs-typescript
2020-01-25 14:26:14 +01:00
squidfunk
eb968dfec0
Added support for announcement bar
2020-01-25 14:25:50 +01:00
Benjamin Staneck
656c76f933
Remove unnecessary CSS properties ( #1437 )
...
Property is ignored due to the display. With 'display: block', vertical-align should not be used.
2020-01-23 22:59:34 +01:00
squidfunk
68272079c3
Added before print hooks and search keyboard handlers
2020-01-08 18:17:19 +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
abc851b64c
Added support for repository information on mobile
2019-12-24 18:06:09 +01:00
squidfunk
74c458d559
Implemented repository information
2019-12-24 17:59:26 +01:00
squidfunk
48817cfb18
Fixed wrong search result locations
2019-12-24 16:52:26 +01:00
squidfunk
9d67cdfe4a
Added support for custom repository icons
2019-12-23 20:24:24 +01:00
squidfunk
581d7c017c
Reduced content shift when icons are loading
2019-12-23 19:39:40 +01:00
squidfunk
c736cd9939
Fixed blurry table of contents
2019-12-22 18:43:30 +01:00
squidfunk
704a7c507d
Updated FontAwesome to v5 and switched to inline SVGs
2019-12-22 18:21:19 +01:00
squidfunk
a18d0a58e4
Refactored search result component
2019-12-22 17:32:51 +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
e04387902c
Restructured project
2019-12-22 16:52:28 +01:00
squidfunk
fe86225ff9
Temporarily fixed linting errors
2019-12-20 18:08:04 +01:00
squidfunk
6863aeb4a4
Finished search and moved components to setup functions
2019-12-20 18:03:31 +01:00
squidfunk
c7dfcb87cc
Fixed position of details icon
2019-12-20 11:08:29 +01:00
squidfunk
fc16b41d96
Added anchor list implementation
2019-12-20 10:47:30 +01:00
squidfunk
1bbd179c55
Catch errors in search worker
2019-12-20 10:24:50 +01:00
squidfunk
b31061dbeb
Catch errors in search worker
2019-12-20 10:24:06 +01:00
squidfunk
2fa347aaae
Fixed excessive repaints on non-retina devices
2019-12-19 18:25:13 +01:00
squidfunk
87e3bc2410
Added search result metadata
2019-12-19 14:44:22 +01:00
squidfunk
a18ac26f59
Implemented lazy rendering of search results
2019-12-19 14:05:00 +01:00
squidfunk
6b1ff5ef1d
Fixed element typings
2019-12-19 09:48:16 +01:00
squidfunk
63c8544371
Added type guards for worker messages
2019-12-18 22:06:59 +01:00
squidfunk
68b1e44d1a
Documentation
2019-12-18 21:26:52 +01:00
squidfunk
40120a6241
Fixed highlighting of search terms
2019-12-18 21:24:33 +01:00
squidfunk
60330fd18d
Merge
2019-12-18 20:58:31 +01:00
squidfunk
29a34d19a8
Added built files + documentation
2019-12-18 17:14:20 +01:00
squidfunk
c32c7a8a20
Added path mappings
2019-12-18 16:38:36 +01:00
squidfunk
13ffcb490f
Added search templates + filtered rogue quantifiers
2019-12-18 16:18:09 +01:00
squidfunk
82fddbad77
Refactored JSX factory and added typings
2019-12-18 14:57:37 +01:00
squidfunk
2f3e7e4515
Fixed module resolution to allow for tree shaking
2019-12-18 12:22:42 +01:00
squidfunk
6c7db82ccd
Moved compression to separate worker + added JSX factory
2019-12-18 11:47:52 +01:00
squidfunk
c62d3050ad
Restructured project
2019-12-18 10:06:03 +01:00
squidfunk
745cb39c3e
Renamed ui into agent
2019-12-17 17:21:55 +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
1ee9e74bc7
Commit before merging master back in
2019-12-17 09:53:16 +01:00
squidfunk
c409fe3953
Fixed Travis and added more components
2019-11-27 19:12:49 +01:00
squidfunk
a70a42cdd1
Refactored entrypoint and observable setup
2019-11-26 17:56:45 +01:00
squidfunk
0cfd796598
Prototypical implementation of instant loading
2019-11-22 18:42:25 +01:00
squidfunk
f422c8f90e
Added prerequisites for instand loading
2019-11-22 17:55:00 +01:00
squidfunk
aeded5b844
Added component map observables
2019-11-22 16:46:22 +01:00
squidfunk
526c663af9
Removed commented out and unused code
2019-11-20 21:56:14 +01:00
squidfunk
04e3fc5884
Added operator functions for painting
2019-11-20 21:46:46 +01:00
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
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
squidfunk
6b7535b8cc
Added black as a primary color
2019-08-22 16:11:51 +02:00
squidfunk
9d1390f318
Fixed disappearance of tabs for smaller font sizes
2019-06-15 15:54:50 +02:00
squidfunk
157c929faa
Fixed alignment of repository link on tablet and desktop
2019-05-17 21:35:11 +02:00
squidfunk
b245e9f769
Fixed search hotkey stealing focus from non-form textarea
2019-04-28 11:49:40 +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
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
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
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
a182314a15
Fixed too unspecific selector for table of contents blur on scroll
2019-01-29 10:56:27 +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
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
squidfunk
61dcde1dda
Fixed JavaScript code block evaluation in search results
2018-10-26 12:55:36 +02:00
Waldinar Oliveira Neto
679aa64310
Fixed broken search result links
2018-08-05 21:41:19 +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
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
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
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
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
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
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
94acf18d5d
Fixed active page highlight not working with default palette
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
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
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
squidfunk
b1d8a79471
Removed commented out code
2018-01-11 23:20:49 +01:00
squidfunk
1020185c82
Improved tabbing behavior in tabs mode
2018-01-11 23:20:49 +01:00
squidfunk
4026513889
Improved reset of tabbing behavior
2018-01-11 23:20:49 +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
b10e058906
Prepare 2.3.0 release
2018-01-09 22:56:48 +01:00
squidfunk
6d9a48fc80
Prepare 2.2.6 release
2017-12-27 13:50:58 +01:00
squidfunk
b7f1ab665d
Prepare 2.2.5 release
2017-12-18 19:24:23 +01:00
squidfunk
4246913d25
Upgraded stylelint
2017-12-12 22:04:31 +01:00
squidfunk
96678bd30f
Fixed margin issues on admonition
2017-12-12 21:43:04 +01:00
squidfunk
17fb20ddf0
Simplified Admonition styles and fixed padding bug
2017-12-08 09:39:26 +01:00
squidfunk
507d44f264
Adjusted targeted link and footnote offsets
2017-12-02 15:30:18 +01:00
squidfunk
d014b21bd5
Prepare 2.2.1 release
2017-12-02 15:01:52 +01:00
squidfunk
e81054ceb6
Fixed minor styling error with title-only admonition blocks
2017-12-02 15:01:52 +01:00
squidfunk
5305cfcd53
Removed border for table of contents and improved spacing
2017-12-02 14:38:22 +01:00
squidfunk
decdbef787
Replaced teaser image with new look
2017-11-22 21:37:12 +01:00
squidfunk
6cabf6d457
Fixed footnote backref target offsets regression
2017-11-22 20:23:31 +01:00
squidfunk
f6c0ea670e
Fixed indented hero on animation due to scroll bar
2017-11-22 19:28:43 +01:00
squidfunk
6dc12758bb
Fixed lunr search stemmers not being correctly loaded
2017-11-22 19:11:07 +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
squidfunk
250f1fd172
Added white to primary colors
2017-11-19 17:49:37 +01:00
squidfunk
e6a5e2e160
Fixed missing ellipsis in header if JavaScript is enabled
2017-11-19 17:49:37 +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
c622056a7c
Fixed redundant clipboard button when using line numbers on code blocks
2017-11-08 08:39:07 +01:00
squidfunk
185c6128d3
Prepare 2.0.4 release
2017-11-05 17:26:08 +01:00