Commit Graph

54226 Commits

Author SHA1 Message Date
Jérémie Drouet c03af2d11f landing-page: make header responsive
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 14:11:39 +02:00
Jérémie Drouet 5389d768e0 landing-page: fix header spacing
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 10:45:47 +02:00
Jérémie Drouet 0b4f71340a landing-page: fix font size
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-12 10:19:07 +02:00
Jérémie Drouet feb57a7eea landing page: change style
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-05 16:53:50 +02:00
Usha Mandya 616a4b7c88
Merge pull request #10698 from thaJeztah/remove_it
remove -it from example, as it's not needed for redis
2020-04-24 12:43:19 +00:00
Sebastiaan van Stijn 48040f57be
Update naming for "Linux Mint", and add note about derivatives (#10696)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-24 13:41:06 +01:00
Sebastiaan van Stijn 2ff02c4b2e
remove -it from example, as it's not needed for redis
Adding `-it` on a "detached" (`-d`) container is needed
if the container's main process expects a TTY attached to keep
running.

It's not needed for a redis container, so we can remove it here

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-24 14:04:59 +02:00
Sebastiaan van Stijn c7b5373dff
Get Docker: fix broken links and wrap markdown to 80 char (#10691)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-24 12:20:18 +01:00
ajay143444 fdc7e5bfd4
replaced based off of with based on (#10684)
replaced based off of with based on
2020-04-24 09:02:50 +01:00
Ivan Cheban a494195c46
Typo: form should be from (#10685) 2020-04-24 09:01:12 +01:00
Usha Mandya 9f8c728bd0
Add support for VirtualBox (#10686) 2020-04-24 08:59:29 +01:00
Usha Mandya 53ca727fcf
Merge pull request #10615 from thaJeztah/relative_links
Use relative markdown links
2020-04-23 15:44:55 +00:00
Sebastiaan van Stijn eb948508c1
various: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:53 +02:00
Sebastiaan van Stijn 637bf1e066
storage: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:46 +02:00
Sebastiaan van Stijn c5f3b37ced
registry: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:43 +02:00
Sebastiaan van Stijn dc1f9f7b4d
network: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:39 +02:00
Sebastiaan van Stijn b0f9061565
config: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:36 +02:00
Sebastiaan van Stijn 777c5d23da
engine: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:32 +02:00
Sebastiaan van Stijn cef68d3fa5
docker-hub: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:25 +02:00
Sebastiaan van Stijn 087e391397
desktop: use relative markdown links
Unfortunately, the only reliable way to create internal links
is to use relative links to other Markdown files. This does
match the way links on GitHub work, but makes it harder to
create these links.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:21 +02:00
Sebastiaan van Stijn 9cd60d843e
develop: use relative markdown links
Unfortunately, the only reliable way to create internal links
is to use relative links to other Markdown files. This does
match the way links on GitHub work, but makes it harder to
create these links.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:15 +02:00
Sebastiaan van Stijn 0f3caaca6a
compose: use relative markdown links
Unfortunately, the only reliable way to create internal links
is to use relative links to other Markdown files. This does
match the way links on GitHub work, but makes it harder to
create these links.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:10 +02:00
Usha Mandya 0fffff2ec5
Merge pull request #10549 from thaJeztah/remove_base_href
Template: remove "base href" and fix javascript link-fixing
2020-04-23 11:00:27 +00:00
Sebastiaan van Stijn 342660f7cd
js/anchorlinks.js: remove URL from generated links
Now that we no longer have a baseURL, we can simplify the generated
links to just contain the anchor. This also provents issues if the
visited page already has an anchor set.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:59 +02:00
Sebastiaan van Stijn 80c6d185e3
Only fix links on reference pages
The JavaScript "link fix" looks to be only needed for pages
where Markdown is included, and which contain relative links.

Now that we modified all local includes to use absolute links,
the only location where links are not properly generated, is
in the reference documentation.

If broken links are found elsewhere in the website, those links
are legitimately broken, and should be fixed in the markdown
source, not fixed-up afterwards.

This patch moves the javascript to the cli.md include, so that
the script is only run on the reference pages instead of on every
page.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:57 +02:00
Sebastiaan van Stijn 75bdec14ee
_layouts/docs.html: remove baseURL and fix link-fixing script
The base href caused browsers to produce incorrect URLs for
anchor links on various pages, for example, pointing to:

    https://docs-test.docker.com/engine/reference/#foreground

Instead of

    https://docs-test.docker.com/engine/reference/run/#foreground

Also cleaning up and fixing the JavaScript workaround for links
in include-files;

- only fix up links in the main content, not in other parts
  of the page
- don't fix up anchor links, absolute links, or links that don't
  contain `.md`: for those we can assume they were generated
  correctly, and if not, those are links that should be fixed in
  the markdown source, not fixed afterwards.
- document the function for future readers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:55 +02:00
Sebastiaan van Stijn 5a26b5f3cd
_layouts/docs.html: use spaces for indentation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:27:50 +02:00
Sebastiaan van Stijn 8c3ea575e4
_layouts/docs.html: some formatting and minor cleanup
- remove some stray empty lines
- put liquid code that was before the opening HTML inside a HTML
  comment, to prevent IDE's from marking it as invalid HTML
- fix some indentation
- fix some minor linting issues

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:26:23 +02:00
Sebastiaan van Stijn f39a74da3d
_includes/cli.md: fix generated links to other commands
When generating HTML pages, Jekyll will generate a directory named after the name
of the Markdown file, and generate an index.html file inside that directory. For
example, for a markdown file named /foo/bar/mypage.md, Jekyll generates a HTML
file named  /foo/bar/mypage/index.html.

This means that all links relative to mypage.md, and expect those links to be
relative to the /foo/bar/ directory, will actually end up being relative to
/foo/bar/mypage/.

Unfortunately, Jekyll / Liquid does not have a variable that holds the parent
directory of the _markdown_ file, so we have to generate it by taking `page.path`
(which holds the absolute path of the markdownfile), and remove the filename from
that path.

After generating that path, we prepend that path to URLs linking to related
commands (parent commands and child commands), as all reference files are in the
same path.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:00:48 +02:00
Sebastiaan van Stijn f48a3adc2d
_includes/cli.md: remove "validation" for include-file
Removing this "check" because it made the template difficult to
read, and duilding the docs won't fail if these values are missing.

If a page is empty, it's probably fast to find why anyway.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:00:46 +02:00
Sebastiaan van Stijn 3ad5c44957
_includes/cli.md: some small changes in template:
- remove some redundant whitespace
- use "remove_first" instead of "replace", because the strings to
  replace should only occur once.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:00:44 +02:00
Sebastiaan van Stijn 66d0e68df6
_includes: use absolute links instead of links to Markdown files
We cannot use relative links in includes, because:

- The jekyll-relative-links, is not called on includes, so
  markdown-links are rendered as-is.
- These files are included in various locations on the website;
  because of that, it's not possible to compose a relative link
  to other Markdown files, so we're falling back to using absolute
  URLs, relative to the root of the website.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 10:00:42 +02:00
Usha Mandya 4b1b6826a4
Merge pull request #10659 from ajay143444/patch-2
changed check to check-in
2020-04-22 10:38:28 +00:00
Usha Mandya 72f90f5327
Merge pull request #10680 from thaJeztah/compose_build_network
compose-file: add some options that were missing in changes
2020-04-22 10:38:09 +00:00
ajay143444 2e9d7cf5aa
removed hyphen from check in 2020-04-22 15:49:50 +05:30
ajay143444 21a633cd59
changed lots more to lots of (#10664)
changed lots more to lots of
2020-04-22 09:10:24 +01:00
ajay143444 7bd9befce0
contained by changed to contained in (#10663)
contained by changed to contained in
2020-04-22 09:09:22 +01:00
Sebastiaan van Stijn 3caa2cab82
compose-file: add some options that were missing in changes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-21 20:57:16 +02:00
Sebastiaan van Stijn 40ae8fa097
Merge pull request #10678 from thaJeztah/fix_raspbian_links
engine/install: fix rasbian links on "check" icons
2020-04-21 12:46:14 +02:00
Sebastiaan van Stijn 9f5130c83b
engine/install: fix rasbian links on "check" icons
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-21 12:13:08 +02:00
Usha Mandya 88822c685f
Merge pull request #10668 from thaJeztah/update_reference_yaml
Engine: update YAML-docs with latest version from 19.03 branch
2020-04-21 09:37:45 +00:00
Sebastiaan van Stijn c48c971d93
_includes/cli.md: remove special case for base command
The base command didn't have a description in the YAML file.
Instead of fixing that up in the template, this was fixed upstream.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-20 15:38:52 +02:00
Sebastiaan van Stijn 82092fe879
Update YAML docs with latest version from 19.03 branch
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-20 15:38:44 +02:00
ajay143444 60132211b6
Update develop/dev-best-practices.md
commted your suggestion

Co-Authored-By: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2020-04-20 16:12:58 +05:30
Usha Mandya e3d089f936
Merge pull request #10661 from thaJeztah/dde_links
[ee]: update links to DDE
2020-04-20 10:28:10 +00:00
Sebastiaan van Stijn 8a008e211b
[ee]: update links to DDE
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-20 12:24:22 +02:00
Usha Mandya c44e3f2043
Merge pull request #10640 from usha-mandya/desktop-edge-2300
Release notes for Desktop Edge 2.3.0.0
2020-04-20 10:18:00 +00:00
Sebastiaan van Stijn 2dd6106e04
Merge pull request #10658 from usha-mandya/desktop-ent-docs
Move Desktop Enterprise docs
2020-04-20 12:14:44 +02:00
Usha Mandya f0304e1e0e Release notes for Desktop Edge 2.3.0.0 2020-04-20 11:01:53 +01:00
ajay143444 5f8cedaf5a
changed check to check-in
corrected line 84 by changing check to check-in
2020-04-20 15:25:10 +05:30