1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00
Commit Graph

562 Commits

Author SHA1 Message Date
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
0eb24a04ae Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-28 17:57:37 +01:00
squidfunk
c4ba189c05 Only show active subsection on screen when tabs are active 2017-01-28 17:56:34 +01:00
squidfunk
79f277c8fe Activate root tab when there'e an active page on the root level 2017-01-27 23:54:52 +01:00
squidfunk
9a36dd67b2 Remove headerlink on top-level headline again 2017-01-27 23:37:24 +01:00
squidfunk
82a98ae9d3 Reduce repaints on scroll with new tabs 2017-01-27 23:21:41 +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
53e1977c65 Only directly show shadow on header, in case JS is not available 2017-01-26 23:20:38 +01:00
squidfunk
33616c7deb Merge branch 'master' into refactor/sidebar-height-spacing 2017-01-26 23:08:31 +01:00
squidfunk
25e1960511 Added dynamic box shadow on header 2017-01-26 22:58:24 +01:00
squidfunk
758ae36c92 Fixed offsets of targetted headlines 2017-01-26 22:39:42 +01:00
squidfunk
e9af74f3df Merge branch 'master' of github.com:squidfunk/mkdocs-material into refactor/sidebar-height-spacing 2017-01-26 21:33:49 +01:00
squidfunk
c3231f1a9e Increased sidebar font size 2017-01-26 21:30:19 +01:00
squidfunk
fc71fd4c71 Added style for tabs 2017-01-26 21:18:31 +01:00
squidfunk
71b300aaa1 Added possibility to add tabs 2017-01-26 21:10:52 +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
b04c3d1354 Merge branch 'master' into chore/setup-gemini-test-environment 2017-01-22 14:10:43 +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
21f2617c9c Remove ... on hooks 2017-01-18 23:26:22 +01:00
squidfunk
203087bcb1 Initial setup of Gemini and first testcases 2017-01-18 23:23:45 +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
460164b560 Scrollwrap must be stretched to full height for mobile 2017-01-15 15:14:08 +01:00
squidfunk
ceea88e066 Only set shadow on search results when active 2017-01-15 15:00:38 +01:00
squidfunk
ed1ae7226a Further reduction of repaints by refactoring sidebar 2017-01-15 14:57:06 +01:00
squidfunk
823b24aa9c Setting overflow to hidden removes appearing scrollbar 2017-01-14 22:55:58 +01:00
squidfunk
e0855d4002 Remove float on inner content area 2017-01-14 22:40:55 +01:00
squidfunk
c55cf5cba9 Hide logo on mobile 2017-01-14 20:13:10 +01:00
squidfunk
180da60770 Set overflow property to auto 2017-01-14 19:48:00 +01:00
squidfunk
7178bb4180 Fixed footer back reference positions 2017-01-14 18:42:07 +01:00
squidfunk
4086c2c973 Fixed massive repaints when scrolling 2017-01-13 13:02:28 +01:00
squidfunk
364309d47a Restructured partials 2017-01-13 00:31:37 +01:00
squidfunk
f850641437 Fixed IE bug leading to non-expanding navigation 2017-01-13 00:09:16 +01:00
squidfunk
1a32e9b7e3 Remove icon ligatures from HTML to fix search indexing 2017-01-11 23:49:36 +01:00
squidfunk
2dbf60affd Don't break links inside tables 2017-01-10 00:19:51 +01:00
squidfunk
cecd1f1d7c Drop 'with' in templates to be compatible with Jinja < 2.9 2017-01-10 00:15:44 +01:00
squidfunk
6033519d15 Added max-width for iframe and svg 2017-01-10 00:02:37 +01:00
squidfunk
bfca02762d Fix target offset for footnotes 2017-01-09 23:43:11 +01:00
squidfunk
7a6db53801 Set SVGs to inherit fill color for easier styling 2017-01-09 22:51:18 +01:00
squidfunk
fcbe7f6384 Improved contrast for code blocks 2017-01-09 22:46:19 +01:00
squidfunk
7fd950872c Replace GitHubEmoji with Emoji 2017-01-09 22:25:15 +01:00
squidfunk
cb9a563a78 Add access key attribute to search input 2017-01-09 22:13:13 +01:00
squidfunk
3568043dea Added block styles for critic extension 2017-01-09 22:10:09 +01:00
squidfunk
82b8c71059 Removed automatic MathJax inclusion 2017-01-09 21:41:30 +01:00
squidfunk
6d01f17193 Fix icons and build due to jinja changes 2017-01-08 18:27:01 +01:00
squidfunk
03604c5e27 Added some inline documentation fixes 2017-01-07 20:23:04 +01:00
squidfunk
ebff8b795b Fix widths for media queries in JavaScript 2017-01-07 18:02:21 +01:00
squidfunk
d53945a89a Fix search bar offset when there's no repository information 2017-01-06 19:31:56 +01:00
squidfunk
60624bfa82 Localize edit button and hide on print 2017-01-06 19:18:17 +01:00
squidfunk
f37bb76d18 Update copyright 2017-01-06 19:11:18 +01:00
squidfunk
fde28c3f47 Put repo block definition in source.html 2017-01-06 19:08:09 +01:00
squidfunk
56207162fe Adjust maximum grid width so 80 char code fits without overflow 2017-01-06 19:04:52 +01:00
squidfunk
41121cf582 Keep colors when printing 2017-01-06 18:57:43 +01:00
squidfunk
4d4e869f02 Add titles to links in footer 2017-01-06 18:52:12 +01:00
squidfunk
42d6525c50 Bring back i18n 2017-01-06 18:48:32 +01:00
squidfunk
b273c429d9 Fixed basic authentication for search index retrieval 2017-01-06 18:19:15 +01:00
squidfunk
33c183754c Added iOS overflow scrolling to MathJax integration 2017-01-05 08:37:54 +01:00
squidfunk
45208dea73 Fixed: admonition codes did not match those of RTD theme 2017-01-05 08:31:58 +01:00
squidfunk
01054414c8 Fixed #79: Modularized social links integration 2017-01-04 20:16:12 +01:00
squidfunk
0198e5e98e Fixes #84: Icon overlaps text in mobile menu 2017-01-04 19:47:41 +01:00
squidfunk
ddd7e33581 Correct text alignment in tables 2017-01-03 22:22:30 +01:00
squidfunk
9617716652 Fix broken selectors for numeric anchors 2017-01-03 22:12:49 +01:00
squidfunk
b22e571f31 Fixes #77: Replace linebreak in footer with CSS solution 2017-01-03 20:57:59 +01:00
squidfunk
510c0fdf5e Added styles for abbreviations 2017-01-03 20:45:40 +01:00
squidfunk
6806139d38 Fixed #82: Long links don't break 2017-01-03 20:23:11 +01:00
squidfunk
983e5bbf72 Simplify table styles 2017-01-02 22:41:15 +01:00
squidfunk
344ce1f4fa Make theme installable 2017-01-02 08:58:18 +01:00
squidfunk
9e6d347db0 Fix deprecation warning 2017-01-02 08:57:19 +01:00
squidfunk
232e997ddc Replaced SASS Lint with Stylelint 2017-01-01 15:59:44 +01:00
squidfunk
ca0de52b45 Fix rendering of empty pane in mobile navigation when no headlines are given 2016-12-30 21:11:05 +01:00
squidfunk
763c23eebb Fix footnotes pseudo elements for offsets 2016-12-29 17:43:22 +01:00
squidfunk
67b2d84519 Ensure non-conflicting cache entries for loading data from GitHub 2016-12-29 15:31:56 +01:00
squidfunk
db4a8340d8 Fix sizing of logo in drawer 2016-12-29 15:03:18 +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
9f8ef33545 Add scroll shadow to drawer 2016-12-29 12:10:51 +01:00
squidfunk
a1105b81f1 CSS fixes for Firefox 2016-12-29 11:48:59 +01:00
squidfunk
9f3dde3957 Polyfill custom event creation for IE9-11 2016-12-29 10:50:19 +01:00
squidfunk
acece94694 Fix output of HTML minifier 2016-12-29 10:27:25 +01:00
squidfunk
584a59ef8b Remove 'x' on search input in IE 2016-12-28 19:00:04 +01:00
squidfunk
db73d4863a Compatibility update for Internet Explorer 2016-12-28 18:54:26 +01:00
squidfunk
3f5957bd01 Fix source repository SVG sizing in IE/Edge 2016-12-28 17:59:29 +01:00
squidfunk
4ed0b1328f Add ESC handler to search modal 2016-12-28 17:32:56 +01:00
squidfunk
9d4a8409f9 Fix search mode 2016-12-28 17:13:07 +01:00
squidfunk
5ee95e4fe2 Better tints for source inside drawer + lighter footer credits 2016-12-28 16:54:59 +01:00
squidfunk
3222ec5a6e Truncate search results only for display 2016-12-28 16:37:50 +01:00
squidfunk
5e97b74471 Hide nav titles in collapsible navigation 2016-12-28 16:28:40 +01:00
squidfunk
f4c5344116 Finishing touches on drawer 2016-12-28 16:20:52 +01:00
squidfunk
b3fcd629a3 Make logo configurable via mkdocs.yml 2016-12-28 15:32:26 +01:00
squidfunk
27808a4899 Keep SVG optimizer from removing IDs 2016-12-28 14:58:42 +01:00
squidfunk
1e35478b44 Add config.extra.repo_icon option for source icon 2016-12-28 14:50:11 +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
84dd88af69 Re-add edit link 2016-12-28 12:11:04 +01:00
squidfunk
e1310aa9ee Add -webkit-overflow-scrolling via JavaScript on navigation 2016-12-28 11:49:57 +01:00
squidfunk
be5c94128d Replace icons in mobile navigation with right chevrons 2016-12-28 10:21:25 +01:00
squidfunk
dd59ed1f00 Remove anchor on h1, as it doesn't make any sense 2016-12-27 16:20:55 +01:00
squidfunk
36ac36c56a Fix anchor offsets for nav blurring 2016-12-27 16:10:06 +01:00
squidfunk
64874a9583 Correct wrong value for background-color 2016-12-27 12:46:07 +01:00
squidfunk
02296f6605 Full integration with PyMdown extensions 2016-12-27 12:26:25 +01:00
squidfunk
124a6b2438 Put webfonts into separate template block and init fonts 2016-12-27 10:56:13 +01:00
squidfunk
2cb7e30568 Perform line break only when there is a copyright banner 2016-12-26 18:52:25 +01:00
squidfunk
457315315b Small visual fixes for new footer meta section 2016-12-26 18:34:42 +01:00
squidfunk
c0fcd8f8c5 Integrated social icons and moved copyright banner below footer navigation 2016-12-26 18:26:34 +01:00
squidfunk
e08802aed1 Correct footer padding so that it matches header padding 2016-12-26 14:54:10 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
squidfunk
72cfa5b7bc Credit source for variable-height sticky footers [ci skip] 2016-12-26 14:34:17 +01:00
squidfunk
5000e3ee8d Refactored wrapper structure to allow variable-sized sticky footer 2016-12-26 14:31:16 +01:00
squidfunk
de177ca0c5 Corrected formatting of transition definitions 2016-12-24 15:16:21 +01:00
squidfunk
d86dadf4bd Fix height when main content is shorter than sidebar 2016-12-24 08:10:55 +01:00
squidfunk
13b55fa165 Fix off-by-one error in anchor blurring logic 2016-12-24 07:24:42 +01:00
squidfunk
7702904526 Set max-width for images in typesetted content 2016-12-19 18:32:48 +01:00
Martin Donath
f2662fad38 Merge pull request #70 from brendo/fix-no-repo-header
Handle when no config.repo_url is available
2016-12-19 18:18:23 +01:00
Martin Donath
df4351e6bc Merge pull request #72 from brendo/easier-templating
Add a 'header' template block for easier customisation
2016-12-19 18:17:30 +01:00
Brendan Abbott
5783e9de08 Add a 'header' template block for easier customisation 2016-12-19 16:20:09 +10:00
Brendan Abbott
bf98f49819 Allow a user to scale the site if they'd like 2016-12-19 15:44:52 +10:00
Brendan Abbott
6dd7789a2a Only request facts if a repo is present 2016-12-19 14:08:40 +10:00
Brendan Abbott
66f8aae310 Handle when no config.repo_url is available 2016-12-19 13:57:45 +10:00
squidfunk
91c4926fe3 Fix highlight colors for navigation links 2016-12-18 14:22:08 +01:00
squidfunk
2ae22c2e3b Added pandoc table styles to specimen 2016-12-18 14:02:20 +01:00
squidfunk
2c8a324324 Integrated data table styles from 0.2.x 2016-12-18 13:29:03 +01:00
squidfunk
bb9a4a752d Fix specificity problem for permalinks color 2016-12-17 13:00:15 +01:00
squidfunk
41fb9cd97a Integrated palettes from 0.2.x 2016-12-17 12:53:24 +01:00
squidfunk
b44c503008 Refactored search result styles 2016-12-16 09:21:31 +01:00
squidfunk
3a73abad08 Added breadcrumbs in header 2016-12-15 20:04:30 +01:00
squidfunk
420b841ecf Bring back h1 headline handling from 0.2.4 2016-12-15 18:29:46 +01:00
Martin Donath
ab99591d76 Merge branch 'rework' into specimen-updates 2016-12-15 16:48:42 +01:00
squidfunk
fe12548f8e Merge pull request #65 from brendo:issue-63-mkdocs-016-compatible 2016-12-15 16:43:40 +01:00
squidfunk
49020c51ae Remove unused import 2016-12-15 15:58:53 +01:00
squidfunk
2fcfb551be Refactored JavaScript architecture 2016-12-15 15:55:40 +01:00
Brendan Abbott
9eae3956b7 Correct table styles, fix inline code link style 2016-12-03 15:17:42 +10:00
squidfunk
65f23355c8 Added support for tasklist and critic extension + em fixes 2016-11-05 23:26:07 +01:00
squidfunk
0d5e66d9a5 Refactored JavaScript into components 2016-11-02 19:21:14 +01:00
squidfunk
18fd27024c Added lighter and smoother styles for admonition 2016-11-01 21:38:06 +01:00
squidfunk
f1af230918 Finished footnotes integration 2016-10-30 11:02:18 +01:00
squidfunk
8cac945757 Finished full integration for CodeHilite 2016-10-30 10:36:18 +01:00
squidfunk
669d7cbc19 Added print styles for links 2016-10-25 10:14:55 +02:00
squidfunk
d3ed8ccec6 Added basic styles for @media print 2016-10-24 18:02:53 +02:00
squidfunk
26b1de049b Removed temporary rules in shame 2016-10-23 19:32:27 +02:00
squidfunk
83c5c7512b Cleaned up search modal styles 2016-10-23 19:31:54 +02:00
Martin Donath
e61f12d429 Merge pull request #58 from brendo/dynamic-source-version
Use `extra.version` if it is available when generating source partial
2016-10-23 16:55:46 +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
Brendan Abbott
d5a78ce396 Use extra.version if it is available when generating source partial 2016-10-23 18:11:44 +10:00
squidfunk
46b7e0f5fe Refactored admonition styles to be slightly lighter 2016-10-21 21:15:35 +02:00
squidfunk
507e98871e Improve performance by reducing compound repaints 2016-10-18 20:53:08 +02:00
squidfunk
a18eb4f982 Add extra.repo_type config option to override link parser 2016-10-16 18:22:07 +02:00
squidfunk
eaeba59dd8 Added guards for repository banner 2016-10-16 17:08:34 +02:00
squidfunk
82eef9340f Integrated karma for unit tests 2016-10-07 16:38:13 +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
e32562fb1e Repair build 2016-09-23 20:58:55 +02:00
squidfunk
ffe06939a7 Refactored code container 2016-09-23 20:26:27 +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
b387f2abee Corrected BEM nesting depths 2016-09-13 20:58:28 +02:00
squidfunk
0111478b65 Added icons for GitHub, GitLab and BitBucket integrations 2016-09-11 19:58:22 +02:00
squidfunk
37310eb52d Refactored Gulp workflow and added styles for extensions 2016-09-11 19:00:53 +02:00
squidfunk
841b493df6 Adjusted error handling in px2em 2016-09-08 22:29:26 +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
ba788dcaba Fix errors in generated SassDoc 2016-09-04 17:32:12 +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
d7d7ef566c Fix indent 2016-09-02 00:44:04 +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
cf8e992c24 Fixed empty list in table of contents when no headline is defined 2016-03-12 13:20:19 +01:00
squidfunk
bf227de93e Fixed #13: Table cells don't wrap 2016-03-12 13:15:15 +01: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
e256360619 Remove bottom border on footer hover and fix default label 2016-02-24 17:30:42 +01:00
squidfunk
0eb02a0d10 Fixed #7: Better colors for links inside admonition notes and warnings 2016-02-24 16:40:00 +01:00
squidfunk
32a14cbb12 Fixed #6: Include multiple color palettes via mkdocs.yml 2016-02-24 16:24:32 +01:00
squidfunk
bf8be26e0a Fixed #9: Text for prev/next footer navigation should be customizable 2016-02-24 12:40:02 +01:00
squidfunk
610d8c0e95 Fixed #5: Page without headlines renders empty list in table of contents 2016-02-21 18:19:25 +01:00
squidfunk
ba72ddb949 Fixed #4: Click on Logo/Title without Github-Repository: None 2016-02-21 17:32:36 +01:00
squidfunk
e7a41822a0 Moved Modernizr to top to ensure basic usability in IE8 2016-02-20 17:25:14 +01:00
squidfunk
fd290d0d7c Fixed #2: Ordered lists within an unordered list have ::before content 2016-02-20 17:03:27 +01:00
squidfunk
9d9effc106 Updated documentation 2016-02-17 18:08:11 +01:00
squidfunk
075d144ca1 Changed styles for admonition notes and warnings 2016-02-16 16:49:48 +01:00
squidfunk
cf37693e2b Fixed print styles in mobile/tablet configuration 2016-02-16 15:51:07 +01:00
squidfunk
42ba9c32cf Fixed styles for deep navigational hierarchies 2016-02-16 14:49:37 +01:00
squidfunk
cec4f1885b Set up tracking of outgoing links and actions for Google Analytics 2016-02-16 13:11:43 +01:00
squidfunk
863e1482dc Added option to configure fonts in mkdocs.yml with fallbacks 2016-02-16 13:10:33 +01:00
squidfunk
9233074124 Set download link to latest version if available 2016-02-13 17:24:16 +01:00
squidfunk
8ab9afeb4c Changed footer/copyright link to Material theme to GitHub pages 2016-02-11 12:33:08 +01:00
squidfunk
001fbc130a Updated npm/bower dependencies and refactored Gulpfile 2016-02-11 12:09:58 +01:00
squidfunk
ee05f7d870 Fixed #1: GitHub stars don't work if the repo_url ends with a '/' 2016-02-10 14:09:30 +01:00
squidfunk
869687b5df Aaaaand we're good 2016-02-09 23:48:01 +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
squidfunk
e03c58f487 Fixed navigation/toc issues when h1 is present 2016-02-05 15:34:19 +01:00
squidfunk
7d1a71e9a5 Added missing highlighting classes 2016-02-05 15:33:24 +01:00
squidfunk
3978af06e1 Fixed some visual bugs and harmonized typography 2016-02-05 15:32:53 +01:00
squidfunk
056b09fcbb Fixed error in fetching stargazer count 2016-02-05 15:31:44 +01:00
squidfunk
06311058f6 Package theme for submission to PyPI 2016-02-04 15:03:20 +01:00
squidfunk
4fdcb8de92 Initial commit 2016-01-28 23:27:15 +01:00