From 6312c0e598076fa1fc6a2b7aecbffd650f4ce154 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 18 Mar 2022 19:21:14 +0100 Subject: doc: Add openscad dependency to man page --- doc/ranger.pod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/ranger.pod b/doc/ranger.pod index bc9f8e21..b5908535 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -292,6 +292,10 @@ C or C for JSON files C for font previews +=item - + +C for 3D model previews (stl, off, dxf, scad, csg) + =back =back -- cgit 1.4.1-2-gfad0 From 8c7486798abb5f5d6b531e148b8bf54a36f5aa73 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 18 Mar 2022 19:22:49 +0100 Subject: doc: Split lines in man page --- doc/ranger.pod | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/ranger.pod b/doc/ranger.pod index b5908535..5980f16f 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -254,7 +254,8 @@ C, C, C and/or C<7z> to preview archives =item - -C, C, C, C and/or C (and C) to preview archives as their first image +C, C, C, C and/or C (and C) to preview +archives as their first image =item - @@ -262,7 +263,8 @@ C, C or C to preview html pages =item - -C or C (and C) for textual pdf previews, C to preview as image +C or C (and C) for textual pdf previews, C to +preview as image =item - -- cgit 1.4.1-2-gfad0 From bd94515a788a0f43d55132342a94a48cfb714f54 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 18 Mar 2022 19:25:33 +0100 Subject: Makefile: Drop README.md from man page requisites I believe at some point I added the `README.md` to the prerequisites for the man pages so we wouldn't forget to update them whenever the README was touched. This hasn't worked very well and it often makes particularly the rifle man page regenerate when not needed. --- Makefile | 4 ++-- doc/ranger.1 | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3479bb2d..568ebd42 100644 --- a/Makefile +++ b/Makefile @@ -135,13 +135,13 @@ test_other: test: test_py test_shellcheck @echo "$(bold)Finished testing: All tests passed!$(normal)" -doc/ranger.1: doc/ranger.pod README.md +doc/ranger.1: doc/ranger.pod pod2man --stderr --center='ranger manual' \ --date='$(NAME)-$(VERSION)' \ --release=$(shell date -u '+%Y-%m-%d') \ doc/ranger.pod doc/ranger.1 -doc/rifle.1: doc/rifle.pod README.md +doc/rifle.1: doc/rifle.pod pod2man --stderr --center='rifle manual' \ --date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \ --release=$(shell date -u '+%Y-%m-%d') \ diff --git a/doc/ranger.1 b/doc/ranger.1 index 22c2adc6..377930ed 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.3" "2022-02-27" "ranger manual" +.TH RANGER 1 "ranger-1.9.3" "2022-03-18" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -318,11 +318,13 @@ are automatically used when available but completely optional. .IP "\-" 2 \&\f(CW\*(C`atool\*(C'\fR, \f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR and/or \f(CW\*(C`7z\*(C'\fR to preview archives .IP "\-" 2 -\&\f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`tar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR, \f(CW\*(C`unzip\*(C'\fR and/or \f(CW\*(C`zipinfo\*(C'\fR (and \f(CW\*(C`sed\*(C'\fR) to preview archives as their first image +\&\f(CW\*(C`bsdtar\*(C'\fR, \f(CW\*(C`tar\*(C'\fR, \f(CW\*(C`unrar\*(C'\fR, \f(CW\*(C`unzip\*(C'\fR and/or \f(CW\*(C`zipinfo\*(C'\fR (and \f(CW\*(C`sed\*(C'\fR) to preview +archives as their first image .IP "\-" 2 \&\f(CW\*(C`lynx\*(C'\fR, \f(CW\*(C`w3m\*(C'\fR or \f(CW\*(C`elinks\*(C'\fR to preview html pages .IP "\-" 2 -\&\f(CW\*(C`pdftotext\*(C'\fR or \f(CW\*(C`mutool\*(C'\fR (and \f(CW\*(C`fmt\*(C'\fR) for textual pdf previews, \f(CW\*(C`pdftoppm\*(C'\fR to preview as image +\&\f(CW\*(C`pdftotext\*(C'\fR or \f(CW\*(C`mutool\*(C'\fR (and \f(CW\*(C`fmt\*(C'\fR) for textual pdf previews, \f(CW\*(C`pdftoppm\*(C'\fR to +preview as image .IP "\-" 2 \&\f(CW\*(C`djvutxt\*(C'\fR for textual DjVu previews, \f(CW\*(C`ddjvu\*(C'\fR to preview as image .IP "\-" 2 @@ -337,6 +339,8 @@ are automatically used when available but completely optional. \&\f(CW\*(C`python\*(C'\fR or \f(CW\*(C`jq\*(C'\fR for \s-1JSON\s0 files .IP "\-" 2 \&\f(CW\*(C`fontimage\*(C'\fR for font previews +.IP "\-" 2 +\&\f(CW\*(C`openscad\*(C'\fR for 3D model previews (stl, off, dxf, scad, csg) .RE .RS 2 .RE -- cgit 1.4.1-2-gfad0