Commit Graph

10 Commits

Author SHA1 Message Date
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 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 e885a5aeaa Remove Docker Toolbox docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-10-20 18:05:36 +01:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
See https://web.dev/external-anchors-use-rel-noopener/

Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:30 +02:00
David Scott c9f8d88959
Improve Toolbox to Desktop migration (#11297)
* Improve Toolbox to Desktop migration

Previously we recommended converting the disk at the block level.
This is a bit risky as any on-disk format change could prevent it
from working.

It's safer to explicitly `docker commit`, then `docker save` and
`docker load` containers and images.

Signed-off-by: David Scott <dave.scott@docker.com>

* Minor style updates

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-08-27 10:54:02 +01:00
Sebastiaan van Stijn a7806de7c5
Desktop: fix some broken links/images and minor markdown-touch up
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-20 11:54:08 +02:00
Usha Mandya dabe90cbe8
Updating Docker for Win Community content (#9256)
Docker Desktop (Windows) content updates
2019-08-21 15:58:12 +01:00
paigehargrave 219ff06eb3
Update docker-toolbox.md 2019-01-11 09:59:14 -05:00
Akim Demaille b419d141e1 Desktop: networking (#6258) 2018-03-23 05:46:43 -07:00
gtardif 87d8a409c3 Windows toolbox migration instructions (#5939) 2018-02-10 12:19:16 -08:00