commit 176e3a9e67aa4d7a0409cf62791cf9bf6fc340db (patch)
parent 2d7a57c4fd350dd707aef47f8474c83fdeefdb6d
Author: Alex Karle <alex@alexkarle.com>
Date: Wed, 29 Sep 2021 00:34:14 -0400
mdoc: Add several instances of Ql and Pa
Ql is my new favorite way to quote commands (no more
`` markdown style!). Likewise, Pa nicely italicizes
paths :)
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/my-old-man.7 b/my-old-man.7
@@ -116,8 +116,9 @@ devices.
.Pp
And that's really it!
The rest is just listing the man pages I want built,
-with a phony default target depending on the html pages so that a `make` builds
-them all.
+with a phony default target depending on the html pages so that a
+.Ql make
+builds them all.
Check out the full source
.Lk https://git.alexkarle.com/alexkarle.com/file/Makefile.html here .
.Ss Deploying via git hook
@@ -127,9 +128,11 @@ deploy when it receives a push by leveraging git hooks.
For the unfamiliar, git hooks are simply shell scripts that are triggered by
specific git actions.
In this case, I used the post-receive hook to publish
-after the refs were updated via a `git push`.
+after the refs were updated via a
+.Ql git push .
.Pp
-More specifically, I added the following to `<git-dir>/hooks/post-receive`:
+More specifically, I added the following to
+.Pa <git-dir>/hooks/post-receive :
.Bd -literal -offset indent
echo "Deploying to to /var/www/htdocs... "
WT=/var/www/htdocs