From 2fa8a2ad0cba9a1cc03b1870668c69b668585345 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 27 Dec 2021 12:21:41 +0100 Subject: [PATCH] Fix docker-compose syntax in quick-start. GH #1105 (#1169) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix docker-compose syntax in quick-start. GH #1105 * use new mkdocs tabs * fix indentation for tabs Co-authored-by: nils måsén --- docs/index.md | 3 +++ mkdocs.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index ef234ec..1d0b2cc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -45,13 +45,16 @@ and restart it with the same options that were used when it was deployed initial the following command: === "docker run" + ```bash $ docker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower ``` + === "docker-compose.yml" + ```yaml version: "3" services: diff --git a/mkdocs.yml b/mkdocs.yml index 46a941c..57b2f7b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -23,7 +23,8 @@ markdown_extensions: user: containrrr repo: watchtower - pymdownx.saneheaders - - pymdownx.tabbed + - pymdownx.tabbed: + alternate_style: true nav: - 'Home': 'index.md' - 'Introduction': 'introduction.md'