This generates a description for pages that don't have one;
- for referene docs, try the "long" description
- fallback to "short" description
- finally, fallback to taking the first 30 words from the
page content
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This is a very hacky way to extract the page title from pages that do not have
front-matter yaml, but have a H1 header. We need to take (id-) attributes into
account, so some hacking is needed.
Note that there's also a Jekyll plugin that features similar functionality, but
it requires additional dependencies, and we only have a few pages that need
this, so for now using this hack.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The existing implementation was broken, and didn't override
the URLs (due to leading, trailing slashes the paths were not
matched).
Instead of using the custom "not_edited_here.yaml", set the
edit-url as front-matter variable through the _config.yml
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This page is used to reserve the "/go/" URL/path for redirecting purposes. This
page is not published, and should not be visible on the documentation website.
Use the `/go/` URL prefix to provide "vanity" URLs linking to the documentation.
These URLs can be used in (for example) the `docker` CLI to provide a short,
permanent link to refer to a topic in the documentation.
Having a fixed `/go/` URL allows you to redirect the URL to the most current
location in the documentation for a given topic, which may evolve over time.
For example, the `docker` CLI can output `https://docs.docker.com/go/some-topic`
in its help output, which can be redirected to elsewhere in the documentation,
using the `redirect_from` metadata field in the target page.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Desktop Edge 2.4.1.0 release notes
* Fix a typo in the download URL
* Fix a typo in the download URL
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Correcting update_config.monitor documentation
The default monitor period is 5s and cannot be set to 0. The lowest possible value is 1ns.
* Correcting default values
* Update ubuntu.md
After doing the 'apt-get rmove', I had to search to determine whether it was safe to remove /var/lib/docker, then found at the bottom of the page that it's OK to do so (if you don't have anything there you need).
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Add release notes for Desktop 2.4.0.0 stable
Signed-off-by: David Scott <dave.scott@docker.com>
* Add more known issues for 2.4.0.0
Signed-off-by: David Scott <dave.scott@docker.com>
* Fix URL typo in the 2.4.0.0 release notes
Signed-off-by: David Scott <dave.scott@docker.com>
* Update the workaround
* Minor update
* Update the workaround
For the known issue on switching users
* Update docker-for-mac/release-notes.md
Co-authored-by: Stefan Scherer <stefan.scherer@docker.com>
* Update docker-for-windows/release-notes.md
Co-authored-by: Stefan Scherer <stefan.scherer@docker.com>
* Update old download URL
* Update old download URL
* Update docker-for-windows/release-notes.md
Co-authored-by: David Scott <djs55@users.noreply.github.com>
* Update docker-for-windows/release-notes.md
Co-authored-by: Stefan Scherer <stefan.scherer@docker.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Co-authored-by: Stefan Scherer <stefan.scherer@docker.com>