Usha Mandya
c0f083cb4f
Merge pull request #11573 from thaJeztah/mind_your_head
...
Fix landing-page mobile menu background color, and other fixes
2020-10-19 16:32:54 +01:00
Sebastiaan van Stijn
a58cd7705d
landing-page: fix mobile navigation background-color
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-19 16:12:49 +02:00
Usha Mandya
5b51e705a4
Update scanning URLs from edge relnotes ( #11571 )
...
* Update scanning URLs from edge relnotes
* Add download URLs
2020-10-19 11:38:08 +01:00
Simon Ferquel
a77ca4bfa6
Update changelogs for Docker Desktop edge 2.4.2.0 ( #11550 )
...
* Update changelogs for Docker Desktop edge 2.4.2.0
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
* Fix edge release notes date
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
* Add note about Vulnerability scanning
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2020-10-19 11:02:00 +01:00
Sebastiaan van Stijn
e2150346b8
fonts: remove unused "Comfortaa" font
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-16 23:19:16 +02:00
Colin Chartier
12f6f2fe82
Login steps for another third party CI platform ( #11504 )
2020-10-16 22:51:00 +02:00
Sebastiaan van Stijn
6ca0cde558
css: remove unused jQuery-ui stylesheet
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-16 22:05:25 +02:00
Sebastiaan van Stijn
402a8eb47d
Load javascripts early, but defer execution
...
This moves our scripts in the head section, but use "defer" loading to allow the
browser to start loading them as soon as possible. Actual execution of deferred
scripts happens once the HTML is fully parsed.
see https://flaviocopes.com/javascript-async-defer/#with-defer-in-the-head
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-16 18:38:41 +02:00
Sebastiaan van Stijn
16ea1a8c31
_includes/head: add missing font, and switch to preload for all
...
Looks like lighthouse doesn't like prefetch for fonts, so switching
to preload. Also adds a missing variant of Geomanist to the list.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-16 18:06:03 +02:00
Usha Mandya
d1313056e1
Merge pull request #11560 from thaJeztah/typography
...
Improve font handling for best practices
2020-10-16 15:19:36 +01:00
Sebastiaan van Stijn
5619dacec7
Improve font handling for best practices
...
preload fonts and add font-display: swap to prevent flickering
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-16 16:05:38 +02:00
Usha Mandya
147af3c5a8
Merge pull request #11555 from usha-mandya/hub-4537
...
Remove stale info on official image scanning
2020-10-16 10:01:00 +01:00
Usha Mandya
49a9a239be
Merge pull request #11556 from usha-mandya/hub-relnotes-patch
...
Add HVS to Hub release notes
2020-10-15 22:59:17 +01:00
Usha Mandya
4e9fa8d59a
Add HVS to Hub release notes
2020-10-15 22:49:06 +01:00
Usha Mandya
fedb474255
Remove stale info on official image scanning
...
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-10-15 21:50:17 +01:00
Usha Mandya
ab0d6134c0
Merge pull request #11524 from thaJeztah/rewrite_search
...
Rewrite/update styling of local search
2020-10-15 17:31:11 +01:00
Sebastiaan van Stijn
0bb9a7ff8f
js/search.js: rewrite local search autocomplete and update styling
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 17:20:28 +02:00
Usha Mandya
0f3920d1c6
Merge pull request #11552 from thaJeztah/accessibility_fixes
...
Accessibility fixes
2020-10-15 15:30:38 +01:00
Sebastiaan van Stijn
52a4c1fe65
accessibility: fix some issues on landing page
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 16:12:36 +02:00
Sebastiaan van Stijn
f9d7f7352a
accessibility: minor fixes in get-docker page
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 16:12:34 +02:00
Usha Mandya
2e892aa22a
Merge pull request #11551 from thaJeztah/cleanup_styles_and_scripts
...
Cleanup styles and scripts
2020-10-15 14:57:36 +01:00
Sebastiaan van Stijn
f48119bbe1
cleanup anchorlinks script
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:10:41 +02:00
Sebastiaan van Stijn
d01d3e8ccd
js/docs.js: cleanup unused parts
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:27 +02:00
Sebastiaan van Stijn
e3e280c54a
_scss: remove unused styles, and combine some
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:25 +02:00
Sebastiaan van Stijn
034c23319b
_scss: combine some overlapping rules, and move some to the right section
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:23 +02:00
Sebastiaan van Stijn
5cdbdac592
_scss: remove unneeded vendor-prefixes, and combine some styles
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:21 +02:00
Sebastiaan van Stijn
2bef56ee81
_scss/_night-mode.scss: remove styles not related to color
...
Dimensions, padding, etc, should not differ between "night mode" and "regular mode".
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-15 15:06:18 +02:00
Usha Mandya
da58e4098c
Merge pull request #11543 from thaJeztah/async_json
...
Load metadata and toc asynchronous
2020-10-15 13:55:37 +01:00
Usha Mandya
cf1fdf58bd
Merge pull request #11549 from docker/stephen-turner-patch-1
...
Fix broken link due to incorrect build number
2020-10-15 11:30:24 +01:00
Stephen Turner
f23cfa0f2d
Fix broken link due to incorrect build number
2020-10-15 10:30:44 +01:00
Sebastiaan van Stijn
5c8580c3f0
search: load metadata asynchronous as JSON
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 22:08:54 +02:00
Sebastiaan van Stijn
e46cfab03c
Load toc.js asynchronously as JSON
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 22:08:50 +02:00
Usha Mandya
0d28c3cb14
Merge pull request #11542 from thaJeztah/separate_themeswitcher
...
js: move theme switcher to its own script, and use localstorage
2020-10-14 16:48:24 +01:00
Sebastiaan van Stijn
6b6ef9fe0d
js: move theme switcher to its own script, and use localstorage
...
rewrite the script to not depend on jQuery, so that it can be run as
soon as possible.
Also switch to use localstorage instead of cookies, which is a more
suitable mechanism for this, and use the same HTML include as was
used on the landing-page for the whole site.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 17:37:21 +02:00
Usha Mandya
934e125ea9
Merge pull request #11541 from thaJeztah/move_polldaddy
...
Move polldaddy script to an include, and update some options
2020-10-14 16:30:36 +01:00
Usha Mandya
6bf479a1fc
Merge pull request #11540 from thaJeztah/some_cleanups
...
Various cleanups and some improvements in theme
2020-10-14 16:24:33 +01:00
Sebastiaan van Stijn
8bf577084a
Move polldaddy script to an include, and update some options
...
- use a config-variable for the ID
- exclude the script if no ID is set
- set default font and font-color
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 15:33:16 +02:00
Sebastiaan van Stijn
77cbdc4fbe
Remove broken "NOT_EDITED_HERE" symlink
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 15:04:22 +02:00
Sebastiaan van Stijn
383455e1ee
js: remove modernizr script as it was unused
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 15:03:33 +02:00
Sebastiaan van Stijn
017b8823a2
js: remove unused js/menu.js
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 15:00:19 +02:00
Sebastiaan van Stijn
68911c8d45
js/docs.js: remove temporary hack for side menu
...
Looks like everything works without this
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 15:00:13 +02:00
Sebastiaan van Stijn
a12ac448d2
_scss: cleanup and reformat comments, remove commented styles
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:52:24 +02:00
Sebastiaan van Stijn
f0ee00befc
css: remove highlightjs styles as we no longer use them
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:39:55 +02:00
Sebastiaan van Stijn
1c2a455346
styles.css: include code-highlight styles in main css document
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:39:53 +02:00
Sebastiaan van Stijn
4a7d872cbe
_includes/body-landing.html: unwrap elements
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-14 14:39:50 +02:00
Usha Mandya
9bebb666d9
Merge pull request #11535 from usha-mandya/desktop-3326
...
Remove osxfs topics from Desktop docs
2020-10-13 19:24:37 +01:00
Usha Mandya
beb163481d
Merge pull request #11536 from thaJeztah/fix_metadata
...
js/metadata.js: fix missing titles and descriptions
2020-10-13 12:43:37 +01:00
Usha Mandya
e827815c56
Merge pull request #11534 from thaJeztah/accessibility_fixes
...
Small (accessibility-)fixes
2020-10-13 12:11:44 +01:00
Sebastiaan van Stijn
373343070e
js/metadata.js: fix missing titles and descriptions
...
Similar changes to how we generate missing titles and descriptions
for upstream resources.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-13 12:51:19 +02:00
Usha Mandya
2d8b420d3c
Merge pull request #11533 from thaJeztah/fixup_links
...
Various link fixes
2020-10-13 11:42:10 +01:00