Просмотр исходного кода

feat: add color explanations

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 лет назад
Родитель
Сommit
c6867a048b
4 измененных файлов с 9 добавлено и 4 удалено
  1. 5 0
      Justfile
  2. 1 1
      man/eza.1.md
  3. 2 2
      man/eza_colors-explanation.5.md
  4. 1 1
      man/eza_colors.5.md

+ 5 - 0
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"

+ 1 - 1
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)

+ 2 - 2
man/eza-colors-explanation.5.md → 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)

+ 1 - 1
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)