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
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
42d6525c50
Bring back i18n
2017-01-06 18:48:32 +01:00
squidfunk
6364de1a2d
Inline source repository SVGs
2016-12-28 14:47:53 +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
124a6b2438
Put webfonts into separate template block and init fonts
2016-12-27 10:56:13 +01:00
squidfunk
c0fcd8f8c5
Integrated social icons and moved copyright banner below footer navigation
2016-12-26 18:26:34 +01:00
squidfunk
f6d9a91995
Unify access via data attributes
2016-12-26 14:47:50 +01:00
squidfunk
d86dadf4bd
Fix height when main content is shorter than sidebar
2016-12-24 08:10:55 +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
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
41fb9cd97a
Integrated palettes from 0.2.x
2016-12-17 12:53:24 +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
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
Brendan Abbott
3537235d78
Add GithubSourceFacts, which abstracts fact fetching for Github sources
2016-10-23 19:49:22 +10: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
ffe06939a7
Refactored code container
2016-09-23 20:26:27 +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
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
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
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
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
9d9effc106
Updated documentation
2016-02-17 18:08:11 +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
8ab9afeb4c
Changed footer/copyright link to Material theme to GitHub pages
2016-02-11 12:33:08 +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
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
06311058f6
Package theme for submission to PyPI
2016-02-04 15:03:20 +01:00