From 23297691f1753bfe36be51a8dd14fbb389792a7f Mon Sep 17 00:00:00 2001 From: Max Truxa Date: Tue, 17 May 2022 17:05:56 +0200 Subject: [PATCH] docs: Fix Debian installation instructions (#219) Co-authored-by: Francis Lavoie --- src/docs/markdown/install.md | 4 ++-- src/resources/css/docs.css | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/docs/markdown/install.md b/src/docs/markdown/install.md index 36f3082..6479311 100644 --- a/src/docs/markdown/install.md +++ b/src/docs/markdown/install.md @@ -45,7 +45,7 @@ Installing this package automatically starts and runs Caddy as a [systemd servic Stable releases:
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
 curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
 sudo apt update
 sudo apt install caddy
@@ -53,7 +53,7 @@ Stable releases: Testing releases (includes betas and release candidates):
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
-curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-testing.asc
+curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-testing-archive-keyring.gpg
 curl -1sLf 'https://dl.cloudsmith.io/public/caddy/testing/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-testing.list
 sudo apt update
 sudo apt install caddy
diff --git a/src/resources/css/docs.css b/src/resources/css/docs.css index fde6c34..b6df303 100644 --- a/src/resources/css/docs.css +++ b/src/resources/css/docs.css @@ -386,13 +386,21 @@ pre > code.cmd { } code.cmd.bash, -code.cmd .bash { +code.cmd .bash, +code.cmd.bash-continuation, +code.cmd .bash-continuation { font-weight: bold; } code.cmd.bash::before, code.cmd .bash::before { - content: '$'; + content: '$'; + margin-right: .5rem; +} + +code.cmd.bash-continuation::before, +code.cmd .bash-continuation::before { + content: '>'; margin-right: .5rem; }