* [PATCH 3/3] doc: txt2pre: linkify a add a few more well-known things
2021-11-03 21:01 5% [PATCH 0/3] another round of doc tweaks Eric Wong
@ 2021-11-03 21:01 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-11-03 21:01 UTC (permalink / raw)
To: meta
Maybe these will help folks less familiar with some of these things.
---
Documentation/txt2pre | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/Documentation/txt2pre b/Documentation/txt2pre
index def54473..04bc3b0e 100755
--- a/Documentation/txt2pre
+++ b/Documentation/txt2pre
@@ -76,9 +76,10 @@ for (qw[lei(1)
$xurls{$n} = "$n.html";
}
-for (qw[make(1) flock(2) setrlimit(2) vfork(2) tmpfs(5)]) {
+for (qw[make(1) flock(2) setrlimit(2) vfork(2) tmpfs(5) inotify(7) unix(7)
+ syslog(3)]) {
my ($n, $s) = (/([\w\-]+)\((\d)\)/);
- $xurls{$_} = "http://www.man7.org/linux/man-pages/man$s/$n.$s.html";
+ $xurls{$_} = "https://www.man7.org/linux/man-pages/man$s/$n.$s.html";
}
for (qw[git(1)
@@ -132,6 +133,7 @@ $xurls{'cgitrc(5)'} = 'https://git.zx2c4.com/cgit/tree/cgitrc.5.txt';
$xurls{'prove(1)'} = 'https://perldoc.perl.org/prove.html';
$xurls{'mbox(5)'} = 'https://manpages.debian.org/stable/mutt/mbox.5.en.html';
$xurls{'mmdf(5)'} = 'https://manpages.debian.org/stable/mutt/mmdf.5.en.html';
+$xurls{'mutt(1)'} = 'https://manpages.debian.org/stable/mutt/mutt.1.en.html';
$xurls{'torsocks(1)'} =
'https://manpages.debian.org/stable/torsocks/torsocks.1.en.html';
$xurls{'curl(1)'} = 'https://manpages.debian.org/stable/curl/curl.1.en.html';
@@ -139,6 +141,14 @@ $xurls{'copydatabase(1)'} =
'https://manpages.debian.org/stable/xapian-tools/copydatabase.1.en.html';
$xurls{'xapian-compact(1)'} =
'https://manpages.debian.org/stable/xapian-tools/xapian-compact.1.en.html';
+$xurls{'gzip(1)'} = 'https://manpages.debian.org/stable/gzip/gzip.1.en.html';
+$xurls{'chmod(1)'} =
+ 'https://manpages.debian.org/stable/coreutils/chmod.1.en.html';
+$xurls{'kqueue(2)'} =
+ 'https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2';
+$xurls{'notmuch(1)'} = 'https://notmuchmail.org/manpages/notmuch-1/';
+$xurls{'mairix(1)'} =
+ 'https://manpages.debian.org/stable/mairix/mairix.1.en.html';
my $str = do { local $/; <STDIN> };
my ($title) = ($str =~ /\A([^\n]+)/);
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] another round of doc tweaks
@ 2021-11-03 21:01 5% Eric Wong
2021-11-03 21:01 7% ` [PATCH 3/3] doc: txt2pre: linkify a add a few more well-known things Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-11-03 21:01 UTC (permalink / raw)
To: meta
Eric Wong (3):
doc: add more 3rd-party refs, use Debian manpages for xapian
doc: switch to man(1) for pod => (text|html)
doc: txt2pre: linkify a add a few more well-known things
Documentation/extman.perl | 33 ----------------------------
Documentation/include.mk | 16 +++++---------
Documentation/lei-add-external.pod | 2 +-
Documentation/lei-import.pod | 2 +-
Documentation/lei-q.pod | 2 +-
Documentation/public-inbox-clone.pod | 2 +-
Documentation/public-inbox-fetch.pod | 2 +-
Documentation/txt2pre | 28 +++++++++++++++++------
MANIFEST | 1 -
Makefile.PL | 19 +---------------
10 files changed, 32 insertions(+), 75 deletions(-)
delete mode 100755 Documentation/extman.perl
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-11-03 21:01 5% [PATCH 0/3] another round of doc tweaks Eric Wong
2021-11-03 21:01 7% ` [PATCH 3/3] doc: txt2pre: linkify a add a few more well-known things Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).