Commit Graph

793 Commits

Author SHA1 Message Date
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
e766726e06 Added .vscode to .gitignore 2019-01-01 18:41:10 +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
1dfac969e7 Updated dependencies and package-lock.json 2018-11-17 18:01:39 +01:00
squidfunk
09f979c32c Upgraded Lunr.js to fix search bug in Safarai 2018-11-17 17:39:59 +01:00
squidfunk
61dcde1dda Fixed JavaScript code block evaluation in search results 2018-10-26 12:55:36 +02:00
squidfunk
0bfdd09c02 Adjusted build process 2018-09-11 12:09:54 +02:00
squidfunk
309389befd Prepare 3.0.1 release 2018-08-05 21:45:54 +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
a8dce54dc1 Updated dependencies and package-lock.json 2018-07-29 16:25:43 +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
46154ac92d Updated Promise polyfill 2018-06-10 15:38:46 +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
a7b6b608c0 Prepare 2.7.2 release 2018-04-09 09:50:12 +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
323f83808a Reverted GitHub stars rounding method 2018-02-21 21:12:04 +01:00
squidfunk
3f61b651a6 Replaced yarn with npm 5.6 2018-02-21 21:06:11 +01:00
squidfunk
165218646d Fixed incorrect rounding of amount of GitHub stars 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
3c8f12a41a Prepare 2.6.0 release 2018-02-02 00:28:32 +01:00
squidfunk
b0b559cd27 Added uncommitted assets 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
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
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +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
6d9a48fc80 Prepare 2.2.6 release 2017-12-27 13:50:58 +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
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
823347fcb3 Updated dependencies and yarn.lock 2017-11-18 18:03:32 +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
squidfunk
c2bbb060dc Fixed jumping to anchor inside closed details 2017-11-05 15:20:36 +01:00
squidfunk
87d8855dfe Fixed error when initializing search 2017-10-31 20:52:29 +01:00
squidfunk
4060ad09d9 Added compatibility for mkdocs 0.17 2017-10-22 21:29:25 +02:00
squidfunk
9c3134750e Fixed backward compatibility for localization 2017-10-18 21:56:53 +02:00
squidfunk
00911b7350 Improved passing i18n values to JavaScript 2017-10-18 20:44:15 +02:00
Lukas Geiter
253596c58d Keep search open on enter without selection 2017-10-12 17:02:54 +02:00
squidfunk
aff623aaac Fixed uninitialized overflow scrolling on main pane for iOS 2017-09-01 19:59:48 +07:00
squidfunk
1e5611f1e8 Added polyfill for details and adjusted social footer 2017-08-29 21:17:16 +07:00
squidfunk
4d4c76c979 Added basic implementation for details 2017-08-29 13:17:26 +07:00
squidfunk
fc4d13de7d Added missing files 2017-08-26 18:36:49 +07:00
squidfunk
35dbc1c0bb Refactored Admonition styles 2017-08-26 18:36:49 +07:00
squidfunk
a09d5e5819 Prepare 1.8.1 release 2017-08-07 19:18:12 +02:00
squidfunk
cc7facb199 Fixed missing pagination on GitHub API 2017-08-07 19:10:11 +02:00
squidfunk
c0164698cd Merge branch 'master' into feat/search-separator 2017-08-02 14:15:48 +02:00
squidfunk
bbb3455c52 Added support for lazy rendering of search results 2017-08-02 14:09:13 +02:00
squidfunk
fde1e25a69 Added missing files 2017-08-02 12:21:36 +02:00
squidfunk
d204b63ee4 Added search separator customization option 2017-07-27 23:27:27 +02:00
squidfunk
ef1c5a4043 Added search separator customization option 2017-07-27 22:48:47 +02:00
squidfunk
932be00bc8 Forgot to include built JS 2017-07-25 17:11:44 +02:00
squidfunk
bda96f88df Improved search user experience 2017-07-25 17:07:16 +02:00
squidfunk
357c6f4122 Improved search matching and highlighting 2017-07-25 16:50:15 +02:00
squidfunk
fce9e77c26 Fixed broken forms due to search shortcuts 2017-07-25 16:11:26 +02:00
squidfunk
a2cab75d96 Upgraded dependencies 2017-06-21 11:09:07 +02:00
squidfunk
80c6474683 Upgraded dependencies 2017-06-13 15:11:03 +02:00
squidfunk
ef1a71a973 Upgraded dependencies 2017-06-13 15:11:03 +02:00
squidfunk
ba0b46e9b0 Fixed non-disappearing tooltip 2017-06-06 21:54:39 +02:00
squidfunk
271d974266 Merge branch 'master' into feature/lunr-languages-integration 2017-06-01 09:14:10 +02:00
squidfunk
d17b0fbb90 Fixed search highlighting for non-latin languages 2017-06-01 00:54:06 +02:00
squidfunk
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
squidfunk
0253d6e6c8 Added support for superfences without codehilite 2017-05-31 16:34:20 +02:00
squidfunk
fba1883def Refactored clipboard initialization 2017-05-31 16:22:00 +02:00
squidfunk
13cd1d1a26 Merge branch 'master' into feature/clipboard-js-integration 2017-05-31 15:31:17 +02:00
squidfunk
670ae4a44c Refactored clipboard integration, not finished 2017-05-31 15:22:59 +02:00
squidfunk
f86b79b0e5 Upgraded gulp-uglify and updated pinned dependencies 2017-05-24 16:16:50 +02:00
squidfunk
0e30256604 Fixed JavaScript error for GitHub organization URLs 2017-05-24 16:09:24 +02:00
Martin Donath
db397f3151 Merge branch 'master' into clipboard 2017-05-16 21:07:26 +02:00
squidfunk
e473a1fedc Fixed undefined source stats for private repositories 2017-05-16 19:41:12 +02:00
facelessuser
4b6ffe6628 Add clipboard.js support 2017-05-15 18:31:10 -06:00
squidfunk
6b5629317f Removed ligatures on monospace fonts 2017-05-15 11:27:22 +02:00
squidfunk
58288f87ac Fixed miscalculated sidebar height 2017-05-15 10:53:41 +02:00
squidfunk
7ae0a42654 Fixed following of link if search input is focused 2017-04-23 20:52:27 +02:00
squidfunk
00b7e600a8 Merged master and implemented search overlay 2017-04-22 14:17:25 +02:00
squidfunk
a5b06b9839 Updated babel-loader, flow-bin, lunr and gulp-changed 2017-04-22 13:22:54 +02:00
squidfunk
77e972753c Fixed hijacking of browser search 2017-04-20 18:31:41 +02:00
squidfunk
49ac0e2111 Merge branch 'master' into fix/search-missing-results 2017-04-08 18:52:28 +02:00
squidfunk
5df7a85618 Fixed unresponsive overlay on android 2017-04-08 16:09:33 +02:00
squidfunk
67bea5e152 Fixed highlighting not working for two or more words 2017-04-08 16:04:09 +02:00
squidfunk
2ab6083ebe Fixed JavaScript errors on 404 page 2017-04-06 16:23:08 +02:00
squidfunk
9d066f5f78 Changed keyboard event handlers to key codes for compatibility 2017-03-24 20:02:27 +01:00
squidfunk
de54e6e800 Fixed error when search term contained parentheses 2017-03-24 20:02:27 +01:00
squidfunk
c732082a1c Reset meta text to placeholder if input is cleared 2017-03-24 20:02:27 +01:00
squidfunk
931465af9f Added keyboard events to search modal 2017-03-24 20:02:27 +01:00
squidfunk
544b1243aa Added prototypical arrow up/down result selection 2017-03-24 20:02:27 +01:00
squidfunk
89fff8a6ab Improve search performance 2017-03-24 20:02:27 +01: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
c293fcfb42 Fixed invalid destructuring attempt on NodeList 2017-03-16 17:43:41 +01:00
squidfunk
d77d900479 Truncate search result text for performance reasons 2017-03-16 16:40:55 +01:00
squidfunk
675a75e000 Normalize placeholder names for search results 2017-03-16 16:12:53 +01:00
squidfunk
536554c18b Added support for search localization 2017-03-16 12:11:00 +01:00
squidfunk
1440c62e57 Adjusted mobile styles for search results 2017-03-14 18:30:33 +01:00
squidfunk
ba3565625d Added page grouping for search results 2017-03-12 17:58:34 +01:00
squidfunk
f72a88721e Merge branch 'master' into refactor/search-results 2017-03-11 19:52:46 +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
842146183d Deactivate tabs by default 2017-02-26 15:30:48 +01:00
squidfunk
09d579b516 Fixed Gulp build pipeline 2017-02-26 11:55:47 +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
672a39b697 Fixed issues with JSX.createElement definitions 2017-02-25 14:49:49 +01:00
squidfunk
8f48f0bce6 Fixed inconsistencies in table-styling 2017-02-25 11:36:10 +01:00
squidfunk
7908140dc5 Fixed flow in build process 2017-02-20 23:26:51 +01:00
squidfunk
07e2eb4f85 Tried to rework type safety 2017-02-19 23:33:52 +01:00
squidfunk
af4db15a27 Play with flow type checker 2017-02-19 17:19:30 +01:00
squidfunk
dccfcb8732 Fixed overflowing sidebar and footer scrolling bug 2017-02-18 14:08:00 +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
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
c994ce1dd9 Fixed a bug with breakpoints and sidebar height 2017-01-27 23:09:31 +01:00
squidfunk
4c4edff9cb Cleaned up and refactored tabs implementation 2017-01-27 22:41:55 +01:00
squidfunk
25e1960511 Added dynamic box shadow on header 2017-01-26 22:58:24 +01:00
squidfunk
c3231f1a9e Increased sidebar font size 2017-01-26 21:30:19 +01:00
squidfunk
2c3ae17131 Refactored sidebar/container spacing for arbitrary height elements above content 2017-01-26 14:20:40 +01:00
squidfunk
8b28c1f5a1 Proof-of-concept search highlighting 2017-01-25 00:43:01 +01:00
squidfunk
f474f63d6b Merge master into HEAD 2017-01-24 23:29:22 +01:00
squidfunk
aa8b3a6cf7 Added string pre-processing step to indexing 2017-01-24 23:25:49 +01:00
squidfunk
b09e334f3f Fix requirement for Math.sign 2017-01-22 13:59:23 +01:00
squidfunk
32ffc58d12 Track scroll direction to reset index cache 2017-01-22 13:05:12 +01:00
squidfunk
680725ed3a Revert last PR - still some problems to tackle 2017-01-16 00:35:00 +01:00
squidfunk
61533af0ef No more need for csscalc and container height adjustment logic 2017-01-16 00:18:21 +01:00
squidfunk
f850641437 Fixed IE bug leading to non-expanding navigation 2017-01-13 00:09:16 +01:00
squidfunk
c7ace3eba9 Updated dependencies to latest stable releases 2017-01-12 20:54:20 +01:00
squidfunk
7fd950872c Replace GitHubEmoji with Emoji 2017-01-09 22:25:15 +01:00
squidfunk
ebff8b795b Fix widths for media queries in JavaScript 2017-01-07 18:02:21 +01:00
squidfunk
b273c429d9 Fixed basic authentication for search index retrieval 2017-01-06 18:19:15 +01:00
squidfunk
9617716652 Fix broken selectors for numeric anchors 2017-01-03 22:12:49 +01:00
squidfunk
67b2d84519 Ensure non-conflicting cache entries for loading data from GitHub 2016-12-29 15:31:56 +01:00
squidfunk
5ef3ec7aa3 Add scrollfix for iOS 2016-12-29 14:19:26 +01:00
squidfunk
9edf730873 Close search modal on anchor click 2016-12-29 12:49:45 +01:00
squidfunk
9f3dde3957 Polyfill custom event creation for IE9-11 2016-12-29 10:50:19 +01:00
squidfunk
db73d4863a Compatibility update for Internet Explorer 2016-12-28 18:54:26 +01:00
squidfunk
4ed0b1328f Add ESC handler to search modal 2016-12-28 17:32:56 +01:00
squidfunk
3222ec5a6e Truncate search results only for display 2016-12-28 16:37:50 +01:00
squidfunk
27808a4899 Keep SVG optimizer from removing IDs 2016-12-28 14:58:42 +01:00
squidfunk
6364de1a2d Inline source repository SVGs 2016-12-28 14:47:53 +01:00
squidfunk
113ba5fd8b Fix initialization logic of toc blurring 2016-12-28 12:32:03 +01:00
squidfunk
96ae06f25c Fix initialization logic of sidebar 2016-12-28 12:24:42 +01:00
squidfunk
e1310aa9ee Add -webkit-overflow-scrolling via JavaScript on navigation 2016-12-28 11:49:57 +01:00
squidfunk
36ac36c56a Fix anchor offsets for nav blurring 2016-12-27 16:10:06 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
squidfunk
5000e3ee8d Refactored wrapper structure to allow variable-sized sticky footer 2016-12-26 14:31:16 +01:00
squidfunk
d86dadf4bd Fix height when main content is shorter than sidebar 2016-12-24 08:10:55 +01:00
squidfunk
7702904526 Set max-width for images in typesetted content 2016-12-19 18:32:48 +01:00
Brendan Abbott
6dd7789a2a Only request facts if a repo is present 2016-12-19 14:08:40 +10:00
squidfunk
2c8a324324 Integrated data table styles from 0.2.x 2016-12-18 13:29:03 +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
83c5c7512b Cleaned up search modal styles 2016-10-23 19:31:54 +02:00
Brendan Abbott
3537235d78 Add GithubSourceFacts, which abstracts fact fetching for Github sources 2016-10-23 19:49:22 +10:00
squidfunk
95435e7035 Implemented basic search modal functionality 2016-10-23 10:21:37 +02:00
squidfunk
914ccc4550 Rewrite of Gulp asset pipeline in ES6 and separation of tasks 2016-10-06 12:14:33 +02:00
squidfunk
46f45bb8a9 Introduced ESLint for code style checks 2016-09-30 13:29:45 +02:00
squidfunk
02915210f4 Fix jittery scroll bouncing 2016-09-24 19:12:05 +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
2fd1740f3d Fixed bug in scrollspy 2016-09-23 12:39:47 +02:00
squidfunk
9338045887 Refactored navigation and drawer 2016-09-23 11:56:25 +02:00
squidfunk
37310eb52d Refactored Gulp workflow and added styles for extensions 2016-09-11 19:00:53 +02:00
squidfunk
f5ad733181 General refactoring of rework 2016-09-08 19:43:23 +02:00
squidfunk
6ac4b0f749 Updated resets 2016-09-04 18:13:17 +02:00
squidfunk
5e838ecf4f Introduced SassLint for code style checks 2016-09-04 17:11:58 +02:00
squidfunk
2eed3bdb4f Added support for footnotes 2016-09-02 22:59:14 +02:00
squidfunk
fec7e13bea Admonition styles and removed bower as dependency 2016-09-02 00:33:45 +02:00
squidfunk
c3e10c25f3 Add target support for permalinks 2016-08-10 23:01:31 +02:00
squidfunk
c534800ab9 Added search bar to screen header 2016-08-08 23:33:06 +02:00
squidfunk
7f2444174f Initial commit of rework 2016-08-07 18:01:56 +02:00
squidfunk
c829555313 Set up tracking of site search for Google Analytics 2016-02-27 12:20:49 +01:00
squidfunk
3e508f45f2 Fixed #10: Invisible header after closing search bar with ESC key 2016-02-25 19:05:53 +01:00
squidfunk
ba72ddb949 Fixed #4: Click on Logo/Title without Github-Repository: None 2016-02-21 17:32:36 +01:00
squidfunk
863e1482dc Added option to configure fonts in mkdocs.yml with fallbacks 2016-02-16 13:10:33 +01:00
squidfunk
001fbc130a Updated npm/bower dependencies and refactored Gulpfile 2016-02-11 12:09:58 +01:00
squidfunk
ac54535487 Good to go 2016-02-09 22:57:20 +01:00
squidfunk
dca42dd3c3 Prepare release (continue) 2016-02-09 21:59:37 +01:00
squidfunk
3678fa53f0 Preparing release 2016-02-09 12:58:55 +01:00