Commit Graph

66 Commits

Author SHA1 Message Date
Usha Mandya
71dd82c89f Address review comments
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-12-08 23:17:59 +00:00
Usha Mandya
b060da2d96 More updates to test.md
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-11-30 12:21:20 +00:00
Usha Mandya
fbd84ee22c Update the docs test page
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-11-30 12:04:19 +00:00
Sebastiaan van Stijn
3570e81b96 test.md: fix broken image link
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:13 +02:00
Mark H
86b24990ee Update styles for dark mode, add general bootstrap overrides 2021-07-13 09:53:30 +01:00
Mark H
c45879262e Improve upgrade CTA for dark mode, remove some now-unused variables from notes restyles 2021-07-12 12:00:44 +01:00
Mark H
c84baca51c Add upgrade CTA mixin 2021-07-12 09:47:27 +01:00
Sebastiaan van Stijn
e22984f7d4 use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Sebastiaan van Stijn
a463d3290f use primary-btn instead of outline-btn
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 16:34:01 +02:00
Sebastiaan van Stijn
3a794b3197 (temporarily) replace compose-file deep links to v3 docs
The documentation curently doesn't contain reference docs for the
unified (version-less) compose-file syntax, so for now replacing
all links to point to the v3 compose-file reference, which is still
present.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-07 14:21:37 +01: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
Sebastiaan van Stijn
c119ed174e Use https:// for links and examples
Found these using `http://[^lp10\*`<][^o]` (to exclude "localhost" and IP-addresses)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-13 12:09:11 +02: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
Sebastiaan van Stijn
0bbe9c32fb Fix various broken links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-07 12:49:22 +02: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
lena-larionova
54ca6a523b Fixing glossary links (#9812)
Signed-off-by: Lena Larionova <lena.larionova@docker.com>
2019-11-06 11:00:13 -08:00
Steven Follis
88c50106f7 Added PowerShell sample 2019-02-06 17:45:17 -05:00
Sebastiaan van Stijn
aae9bfc276 Rename / remove edge-related variables
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-14 22:44:58 +01:00
Jeffrey Morgan
d15739c5e7 Merge branch 'master' into consolidation-changes 2018-11-14 18:29:09 -05:00
Jeffrey Morgan
ca466a55ed Rename Docker Store and Docker Cloud - WIP 2018-10-04 19:41:32 -04:00
Oscar Caballero
269c80d2d9 Spelling revision 2018-09-23 21:43:11 +02:00
Tammy Fox
bf14bccb6f put warning example in code block 2018-08-24 16:15:04 -04:00
tfoxnc
06f664aee3 show different between new note and old note 2018-08-03 17:15:00 -04:00
Tammy Fox
4b5ce015de clarify admonition code and how they render 2018-08-03 15:45:39 -04:00
Tammy Fox
c6737887f6 fix link 2018-08-01 21:38:59 -04:00
Akim Demaille
14b53b68c3 Jekyll: don't put {% raw %} directives in pre blocks
Replace all occurrences of

    ```foo
    {% raw %}
    bar
    {% endraw %}
    ```

(which generates spurious empty lines in the rendered pre block) with

    {% raw %}
    ```foo
    bar
    ```
    {% endraw %}

Also, fix some occurrences where the raw section is too large and
prevented interpretation of Jekyll directives.

This is the syntax used in the documentation of Jekyll itself:

https://raw.githubusercontent.com/jekyll/jekyll/master/docs/_docs/templates.md

FTR, done with two perl substitutions:

    '^([\t ]*```[^\n]*
    )([ \t]*\{% raw %\}[^\n]*
    )' '$2$1'

and

    '^([ \t]*\{% endraw %\}[^\n]*
    )([\t ]*```[^\n]*
    )' '$2$1'

and manually tweaks.  A mechanical check would be most useful.

Signed-off-by: Akim Demaille <akim.demaille@docker.com>
2018-03-13 10:28:29 -07:00
Misty Stanley-Jones
a55ddf60a9 Move /engine/installation to /install (#5651)
* Move /engine/installation to /install

* Add Docker for IBM Cloud to the matrix
2018-01-26 10:29:14 -08:00
Misty Stanley-Jones
a4f5e30249 Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00
Misty Stanley-Jones
f688179d86 Add features to CLI ref template (#5736)
* Add features to CLI ref template

- Differentiate CLI experimental from daemon experimental
- When the whole command is experimental, point to docs for
  how to get it to show up
- Make badges links where possible
- Add tooltips to badges for more context
- Document in the test.md how to make badges into links and how to use tooltips
2018-01-16 12:02:10 -08:00
Victoria Bialas
92bd5b3ffa Docs contributor guide: added links to subtopics on left-side menu (#5246)
* Docs contributor guide: added links to subtopics on right side menu

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedits

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* more copyedits

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added back in some of the community pages by request

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added other ways to contribute to left side menu

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedits to contributor home page

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added links to Docker Community pages on GitHub

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* merged ways to contribute, made moby an include, re-org for tocs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed TOC yaml

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed on-page links on community page

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-11-09 13:56:59 -08:00
Gwendolynne Barr
cfc6020a0a Test image background (#5082) 2017-10-24 15:10:00 -07:00
Misty Stanley-Jones
6aae2e4e84 Add pointer to latest API ref (#4897) 2017-10-16 15:04:24 -07:00
Misty Stanley-Jones
b02cca86cf Standardize on site-wide variables for Docker and component versions (#4792) 2017-10-05 16:36:03 -07:00
Misty Stanley-Jones
7c800e7054 Tweak formatting of options tables (#4730) 2017-09-29 17:38:46 -07:00
Victoria Bialas
788532ff45 added note re: setting ENV variables for proxy servers in Dockerfile (#4759)
* added note re: setting ENV variables for proxy servers in Dockerfile

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* review comments

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* reworded note title, removed link out to ENV per review comments

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added info to docs test page about how to link to auto-generated reference pages

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added more info to test on re: linking

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* format ENV as a command

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-09-29 13:29:21 -07:00
Victoria Bialas
b764ab3356 Addressed Windows issues with get started tutorial (#4675)
* how to get scp to work on Windows

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* clarified some commands in part 3

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed links on hyperv, machine pages

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* removing notes about scp and ssh on Windows, WIP

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* WIP: adding docker-machine env commands

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added docker-machine env option, re-worked tabs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* moved extra info re: docker-machine env out of note, to end of part 4

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* updated parts 4, 5 with docker-machine env, added note re: commands

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* changed rest of ssh examples, formatting fixes, copyedit

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedit on docker-machine env example

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* reworded note title

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-09-22 18:55:40 -07:00
Victoria Bialas
02fc66fde8 More info on resource constraints in Compose v3 and v2 (#4651)
* added more info about resource constraints to Compose docs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed link in Compose docs, added instructions in test for adding custom target link link IDs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed links

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-09-18 16:02:05 -07:00
Victoria Bialas
e90b12c425 Added <hr>'s below tabbed topics for SSH and test page (#4232)
* added <hr>'s below tabs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* update Tabs topic on test.md to show use of <hr>'s

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added more information about toc_max/min

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-08-16 19:38:09 -07:00
Joao Fernandes
0d2786b1e3 Update test.md to improve description (#111) 2017-08-15 23:31:15 -07:00
Victoria Bialas
a922be3d0f Update admonitions CSS for consistency and better writer workflow (#4019) 2017-07-31 21:49:56 -07:00
Victoria Bialas
eb25815fb9 Better examples to show Compose file structure, expand/collapse accordion (#3967)
* better examples to show Compose file structure

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* cleaned up leading spaces in Compose file example

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* cleaned up leading spaces, added a test file

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* expand/collapse accordion full implementation, explanation in test.md

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* delete temporary test file from PR

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fix accordion to work on mobile (cursor style)

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* verified fix for mobile worked, added same to test.md, updated notes and content

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* Clarifed details on test page, fixed references for FontAwesome icons

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-07-28 12:32:53 -07:00
Misty Stanley-Jones
cebcf1ec5e Fix links to experimental README (#3796) 2017-07-03 15:54:09 -07:00
Jérôme Petazzoni
e04cbdbd7c Remove extraneous **warning** (#3546)
* Remove extraneous **warning**

The .warning class already prepends "Warning"

* changed Warning tag to vanilla

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-06-21 15:40:34 -07:00
Victoria Bialas
d355122331 added cloud azure video, better links on other vids, how-to for vids on test page (#3369)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-23 19:58:46 -07:00
Victoria Bialas
b62449b3c8 clarified logging options in Compose, fixed glaring note formats (#3272)
* clarified logging options in Compose, fixed glaring note formats

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added link directly to JSON driver in supported drivers docs

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* took off code tags to make link stand out

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* fixed alignment of note text in markdown

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* x-ref to how to set environment variables in containers

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedit in note

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-16 12:02:54 -07:00
Victoria Bialas
80534ec472 Copyedit of test page (#3260)
Copyedit of docs test page re: admonitions
2017-05-13 23:02:54 -07:00
Victoria Bialas
a45b42d19f admonitions with icons and FontAwesome (#3254)
* admonitions with icons and FontAwesome

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* updated important and warning icons per review

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-13 20:20:03 -07:00
Victoria Bialas
7588f3c852 WIP: experiments with glyphicons in admonitions (notes) (#3231)
* experiments with glyphicons in admonitions (notes)

3 new admonition classes, re-write of test page

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedit on code formatting

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* test Liquid admonitions with includes

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* renamed notes.html, reviewed Liquid relationship to CSS

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* added description of Liquid variables experiments

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-05-12 11:20:27 -07:00
Victoria Bialas
8cb2926ce6 copyedits, link fixes on glossary in test.md (#3088)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-04-26 14:45:41 -07:00
Victoria Bialas
a5f5875ea3 fix glossary instructions (#3084)
* fix glossary instructions

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

corrected links

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedits

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2017-04-26 20:19:51 +00:00