From 8f0bd672a3c38d50347771dc047215889620c0e2 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Fri, 23 Sep 2022 17:50:02 -0400 Subject: [PATCH] Clean up documentation man pages. --- TODO.txt | 4 ++-- docs/td.8 | 7 ++++--- docs/telodendria.conf.5 | 8 +++++--- site/style.css | 3 ++- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/TODO.txt b/TODO.txt index 63ad822..12afb3b 100644 --- a/TODO.txt +++ b/TODO.txt @@ -93,5 +93,5 @@ Documentation [ ] Add other message divs for notes and warnings [x] Convert documentation to man pages - [ ] Clean up dark mode in man page CSS (links) - [ ] Synopsis table should not be styled + [x] Clean up dark mode in man page CSS (links) + [x] Synopsis table should not be styled diff --git a/docs/td.8 b/docs/td.8 index c687189..9cef1d9 100644 --- a/docs/td.8 +++ b/docs/td.8 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: September 22 2022 $ +.Dd $Mdocdate: September 23 2022 $ .Dt TD 8 .Os Telodendria Project .Sh NAME @@ -37,8 +37,9 @@ script is fairly intuitive. It operates somewhat like in that it has recipes that you specify on the command line. To start using it, just run the following command in the Telodendria source directory: -.sp -.D1 $\ . tools/env.sh +.Bd -literal -offset indent +$ . tools/env.sh +.Ed .sp .Sy Note: You will have to run the above command every time you start a new diff --git a/docs/telodendria.conf.5 b/docs/telodendria.conf.5 index df2fdad..24fc3e7 100644 --- a/docs/telodendria.conf.5 +++ b/docs/telodendria.conf.5 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: September 22 2022 $ +.Dd $Mdocdate: September 23 2022 $ .Dt TELODENDRIA.CONF 5 .Os Telodendria Project .Sh NAME @@ -25,8 +25,10 @@ Macro names must start with a letter, digit, or underscore, and may contain only those characters. Macros are not expanded inside quotes. .sp For example: -.D1 macro1 = "value1"; -.D1 directive $macro1; +.Bd -literal -offset indent +macro1 = "value1"; +directive $macro1; +.Ed .Sh GLOBAL OPTIONS Here are the settings that can be set globally: .Bl -tag -width Ds diff --git a/site/style.css b/site/style.css index 6b3ca72..bba6fff 100644 --- a/site/style.css +++ b/site/style.css @@ -211,7 +211,7 @@ h2.Ss { } .Xr { - color: black; + color: var(--color-text); font-weight: bold; } @@ -392,6 +392,7 @@ h2.Ss { table.Nm, table.Nm td { border: none; + width: fit-content; } code.Nm {