From c6867a048b5d66de1c46ab3a1f52370ab4a27c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Fri, 4 Aug 2023 06:04:28 +0200 Subject: [PATCH] feat: add color explanations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christina Sørensen --- Justfile | 5 +++++ man/eza.1.md | 2 +- ...a-colors-explanation.5.md => eza_colors-explanation.5.md} | 4 ++-- man/eza_colors.5.md | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) rename man/{eza-colors-explanation.5.md => eza_colors-explanation.5.md} (97%) diff --git a/Justfile b/Justfile index 0a94fa2b..38a8a068 100644 --- a/Justfile +++ b/Justfile @@ -100,6 +100,7 @@ all-release: build-release test-release mkdir -p "${CARGO_TARGET_DIR:-target}/man" pandoc --standalone -f markdown -t man man/eza.1.md > "${CARGO_TARGET_DIR:-target}/man/eza.1" pandoc --standalone -f markdown -t man man/eza_colors.5.md > "${CARGO_TARGET_DIR:-target}/man/eza_colors.5" + pandoc --standalone -f markdown -t man man/eza_colors-explanation.5.md > "${CARGO_TARGET_DIR:-target}/man/eza_colors-explanation.5" # build and preview the main man page (eza.1) @man-1-preview: man @@ -108,3 +109,7 @@ all-release: build-release test-release # build and preview the colour configuration man page (eza_colors.5) @man-5-preview: man man "${CARGO_TARGET_DIR:-target}/man/eza_colors.5" + +# build and preview the colour configuration man page (eza_colors.5) +@man-5-explanations-preview: man + man "${CARGO_TARGET_DIR:-target}/man/eza_colors-explanation.5" diff --git a/man/eza.1.md b/man/eza.1.md index c0b5b8d3..dfd2b21e 100644 --- a/man/eza.1.md +++ b/man/eza.1.md @@ -273,4 +273,4 @@ SEE ALSO ======== - [eza_colors.5.md](eza_colors.5.md) -- [eza-colors-explanation.md](eza-colors-explanation.md) +- [eza_colors-explanation.5.md](eza_colors-explanation.5.md) diff --git a/man/eza-colors-explanation.5.md b/man/eza_colors-explanation.5.md similarity index 97% rename from man/eza-colors-explanation.5.md rename to man/eza_colors-explanation.5.md index ce1055fd..61f55500 100644 --- a/man/eza-colors-explanation.5.md +++ b/man/eza_colors-explanation.5.md @@ -37,5 +37,5 @@ in the same directory as one of its source files: styles.css will count as compi ## See also -- [exa.1.md](exa.1.md) -- [exa_colors.5.md](exa_colors.5.md) +- [eza.1.md](eza.1.md) +- [eza_colors.5.md](eza_colors.5.md) diff --git a/man/eza_colors.5.md b/man/eza_colors.5.md index de9a3c55..3ab9a82d 100644 --- a/man/eza_colors.5.md +++ b/man/eza_colors.5.md @@ -281,4 +281,4 @@ SEE ALSO ======== - [eza.1.md](eza.1.md) -- [eza-colors-explanation.md](eza-colors-explanation.md) +- [eza_colors-explanation.5.md](eza_colors-explanation.5.md)