Commit Graph

54961 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
ce451cba54 remove machine/index.md (to be replaced)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:35:46 +02:00
Sebastiaan van Stijn
26926972ea machine: handle indexing through config
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:32:17 +02:00
Sebastiaan van Stijn
126c4cf202 _samples: remove titles, keywords and description
These were not used in the generated redirect pages,
so we can remove them.

Also setting the "sitemap" metadata through the _config.yml
so that we don't have to set it in each of the stubs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:09:33 +02:00
Sebastiaan van Stijn
735bbc54ab _samples: redirect Docker Hub sample pages to Docker Hub
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:09:21 +02:00
Sebastiaan van Stijn
3c869fb0e3 _layouts: fix redirect layout for external URLs
This allows `redirect_to` redirects to external websites;

    curl localhost:4000/samples/library/adminer/
    <!DOCTYPE html>
    <html lang="en-US">
      <meta charset="utf-8">
      <title>Redirecting&hellip;</title>
      <link rel="canonical" href="https://hub.docker.com/_/adminer/"><meta http-equiv="refresh" content="0; url=https://hub.docker.com/_/adminer/">
      <meta name="robots" content="noindex">
      <h1>Redirecting&hellip;</h1>
      <a href="https://hub.docker.com/_/adminer/">Click here if you are not redirected.</a>
      <script>location="https://hub.docker.com/_/adminer/"</script>
    </html>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:09:14 +02:00
Sebastiaan van Stijn
03d60f916a Replace "hide_from_sitemap" with "sitemap: false"
The `hide_from_sitemap` metadata variable was a custom thing we implemented
to add a "noindex" meta-header to pages and to exclude a page from the
search auto-complete.

However, pages with that option set would still be included in sitemap.xml,
resulting in search engines to visit those pages (only to discover they
should not index them).

This patch replaces the custom `hide_from_sitemap` value for `sitemap: false`,
which is a metadata variable that's defined by the "jekyll-sitemap" plugin
we use to generate the sitemap.xml;

https://github.com/jekyll/jekyll-sitemap/blob/v1.4.0/README.md#exclusions

Setting this variable will now:

- add a "noindex" metadata header to the page
- exclude the page from the sitemap.xml.
- exclude the page from /js/metadata.json (used for search autocomplete)

Also fixed an issue in the metadata.json where the `notoc` metadata was
used to exclude pages, however that variable is meant to disable the
in-page TOC (right-hand side navigation with anchor links).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:09:11 +02:00
Usha Mandya
1c9b279e09 Merge pull request #11519 from andylibrian/fix-cpu-period-default-value
Update config/containers/resource_constraints.md
2020-10-21 13:53:39 +01:00
Sebastiaan van Stijn
088c702b21 Merge pull request #11587 from usha-mandya/engdocs-354
Remove Docker Toolbox docs
2020-10-20 23:33:50 +02:00
Usha Mandya
7ce11ce954 Merge pull request #11589 from thaJeztah/dde_images
DDE: fix various broken links and links to images
2020-10-20 22:15:27 +01:00
Usha Mandya
3e97e66108 Update _data/advisories.yaml
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2020-10-20 21:38:40 +01:00
Sebastiaan van Stijn
e238ba1815 DDE: fix various broken links and links to images
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-20 21:09:05 +02:00
Usha Mandya
a3fb9a3999 Remove Toolbox advisory 2020-10-20 19:00:45 +01:00
Usha Mandya
2f0792503d Update docker-for-windows/docker-toolbox.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2020-10-20 18:56:00 +01:00
Usha Mandya
5275f249b4 Delete Toolbox files
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-10-20 18:43:55 +01:00
Sebastiaan van Stijn
82b0e8cb84 Merge pull request #11577 from mrl5/GH-11576
docker/docker.github.io#11576 fixed keywords for storage/storagedriver
2020-10-20 19:08:42 +02:00
Usha Mandya
e885a5aeaa Remove Docker Toolbox docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-10-20 18:05:36 +01:00
Usha Mandya
406d70a4b9 Merge pull request #11581 from thaJeztah/remove_broken_content
[Desktop] remove content refering to removed "osxfs" topic
2020-10-20 14:01:16 +01:00
Sebastiaan van Stijn
92e2068c38 [Desktop] remove content refering to removed "osxfs" topic
This topic was removed in 9bebb666d9

We may want to add back the part describing sharing sshagent somewhere,
which is not really a feature related to osxfs. Also, some generic
description about file sharing (permissions, syncing) should probably
be added back.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-20 14:08:46 +02:00
Usha Mandya
f3412acfe5 Merge pull request #11578 from binman-docker/master
Add other limit info and more 3rd parties
2020-10-20 12:24:08 +01:00
Usha Mandya
a9f706b270 Minor style updates 2020-10-20 11:56:30 +01:00
Usha Mandya
5c93b26ca9 Merge pull request #11583 from thaJeztah/remove_unused_images
[desktop] remove some unused images
2020-10-20 11:34:36 +01:00
Usha Mandya
0881f4a12a Merge pull request #11572 from djs55/docker-for-mac-filesharing
Improve Docker Desktop filesharing docs
2020-10-20 11:28:07 +01:00
Usha Mandya
bba548e868 Merge pull request #11582 from thaJeztah/remove_mutagen
[desktop] remove mutagen content
2020-10-20 11:27:43 +01:00
Usha Mandya
e79903c436 Merge pull request #11579 from thaJeztah/notes_cleanup
Notes styles cleanup, and add background color to regular notes
2020-10-20 11:22:33 +01:00
Usha Mandya
0e8c1b63ff Minor style updates 2020-10-20 11:18:18 +01:00
Usha Mandya
eb8e33f321 Minor style updates 2020-10-20 11:12:17 +01:00
Sebastiaan van Stijn
b6fcb46f74 [desktop] remove some unused images
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-20 11:35:23 +02:00
Sebastiaan van Stijn
01dade0652 [desktop] remove mutagen content
It was already redirected to the docker for mac landing page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-20 11:23:19 +02:00
Sebastiaan van Stijn
d96cb12828 Update default background color for notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-19 22:24:37 +02:00
Sebastiaan van Stijn
34fc160c9e _scss: cleanup notes styles
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-19 22:13:49 +02:00
Sebastiaan van Stijn
204d4df024 _scss: reformat _variables.scss, and unify colors in variables file
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-19 21:56:05 +02:00
Brett Inman
98549b194e Merge branch 'master' into master 2020-10-19 12:26:50 -07:00
mrl5
9242ec4525 docker/docker.github.io#11576 fixed keywords for storage/storagedriver 2020-10-19 21:17:30 +02:00
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
David Scott
1cfabd89e4 storage: mention volumes in compose and link to compose docs
Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 11:43:55 +01: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
David Scott
4f181a683f volumes: mention Desktop-specific benefits
Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 11:20:20 +01:00
David Scott
83f6cc1b3f Add Desktop examples to "Good use cases for volumes"
Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 11:13:57 +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
David Scott
e5704d4a17 Windows filesharing tips also apply to Mac now
We use the same implementation on both platforms so the tips apply to
both platforms.

Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 10:42:24 +01:00
David Scott
2c4880a590 Remove limitation of paths which can be shared with docker
We used to have this limitation when we were mounting host filesystems
under / in the docker namespace. We now mount under `/host_mnt` like on
Windows so this limitation nolonger applies.

Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 10:38:33 +01:00
David Scott
4a6ff3358d Remove link to osxfs.md since it has been removed
Signed-off-by: David Scott <dave.scott@docker.com>
2020-10-19 10:35:45 +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