mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-18 03:21:07 +00:00
Clean up generated man pages.
This commit is contained in:
parent
e43bbda53c
commit
842b928073
4 changed files with 111 additions and 6 deletions
15
doc/Makefile
15
doc/Makefile
|
|
@ -11,13 +11,16 @@ po4a:
|
|||
|
||||
man: $(MANFILES)
|
||||
|
||||
$(HTMLDIR)/man1/linkchecker.1.html: en/linkchecker.1
|
||||
man2html -r $< | tail -n +2 > $@
|
||||
$(HTMLDIR)/man1/linkchecker.1.html: en/linkchecker.1 linkchecker.1.html.diff
|
||||
man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@
|
||||
patch --no-backup-if-mismatch --quiet $@ linkchecker.1.html.diff
|
||||
|
||||
$(HTMLDIR)/man5/linkcheckerrc.5.html: en/linkcheckerrc.5
|
||||
man2html -r $< | tail -n +2 > $@
|
||||
$(HTMLDIR)/man5/linkcheckerrc.5.html: en/linkcheckerrc.5 linkcheckerrc.5.html.diff
|
||||
man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@
|
||||
patch --no-backup-if-mismatch --quiet $@ linkcheckerrc.5.html.diff
|
||||
|
||||
$(HTMLDIR)/man1/linkchecker-gui.1.html: en/linkchecker-gui.1
|
||||
man2html -r $< | tail -n +2 > $@
|
||||
$(HTMLDIR)/man1/linkchecker-gui.1.html: en/linkchecker-gui.1 linkchecker-gui.1.html.diff
|
||||
man2html -r $< | tail -n +2 | sed 's/Time:.*//g' > $@
|
||||
patch --no-backup-if-mismatch --quiet $@ linkchecker-gui.1.html.diff
|
||||
|
||||
.PHONY: po4a man
|
||||
|
|
|
|||
11
doc/linkchecker-gui.1.html.diff
Normal file
11
doc/linkchecker-gui.1.html.diff
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- linkchecker-gui.1.html.orig 2011-06-14 21:22:16.160383430 +0200
|
||||
+++ linkchecker-gui.1.html 2011-06-14 21:22:23.120641725 +0200
|
||||
@@ -45,7 +45,7 @@
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by
|
||||
-<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||||
+man2html,
|
||||
using the manual pages.<BR>
|
||||
|
||||
</BODY>
|
||||
80
doc/linkchecker.1.html.diff
Normal file
80
doc/linkchecker.1.html.diff
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
--- linkchecker.1.html.orig 2011-06-14 21:14:55.016011206 +0200
|
||||
+++ linkchecker.1.html 2011-06-14 21:17:07.108913849 +0200
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
The most common use checks the given domain recursively, plus any
|
||||
URL pointing outside of the domain:
|
||||
-<BR> <B>linkchecker <A HREF="http://www.example.net/">http://www.example.net/</A></B>
|
||||
+<BR> <B>linkchecker http://www.example.net/</B>
|
||||
<BR>
|
||||
|
||||
Beware that this checks the whole site which can have thousands of URLs.
|
||||
@@ -59,15 +59,15 @@
|
||||
<BR>
|
||||
|
||||
You can skip the <B>http://</B> url part if the domain starts with <B>www.</B>:
|
||||
-<BR> <B>linkchecker <A HREF="http://www.example.com">www.example.com</A></B>
|
||||
+<BR> <B>linkchecker www.example.com</B>
|
||||
<BR>
|
||||
|
||||
You can skip the <B>ftp://</B> url part if the domain starts with <B>ftp.</B>:
|
||||
-<BR> <B>linkchecker -r0 <A HREF="ftp://ftp.example.org">ftp.example.org</A></B>
|
||||
+<BR> <B>linkchecker -r0 ftp.example.org</B>
|
||||
<BR>
|
||||
|
||||
Generate a sitemap graph and convert it with the graphviz dot utility:
|
||||
-<BR> <B>linkchecker -odot -v <A HREF="http://www.example.com">www.example.com</A> | dot -Tps > sitemap.ps</B>
|
||||
+<BR> <B>linkchecker -odot -v www.example.com | dot -Tps > sitemap.ps</B>
|
||||
<A NAME="lbAF"> </A>
|
||||
<H2>OPTIONS</H2>
|
||||
|
||||
@@ -302,8 +302,8 @@
|
||||
|
||||
Multiple entries are separated by a blank line.
|
||||
The example below will send two cookies to all URLs starting with
|
||||
-<B><A HREF="http://example.com/hello/">http://example.com/hello/</A></B> and one to all URLs starting
|
||||
-with <B><A HREF="https://example.org/">https://example.org/</A></B>:
|
||||
+<B>http://example.com/hello/</B> and one to all URLs starting
|
||||
+with <B>https://example.org/</B>:
|
||||
<P>
|
||||
<BR> Host: example.com
|
||||
<BR> Path: /hello
|
||||
@@ -326,15 +326,15 @@
|
||||
variables to ignore any proxy settings for these domains.
|
||||
Setting a HTTP proxy on Unix for example looks like this:
|
||||
<P>
|
||||
-<BR> export http_proxy="<A HREF="http://proxy.example.com:8080">http://proxy.example.com:8080</A>"
|
||||
+<BR> export http_proxy="http://proxy.example.com:8080"
|
||||
<P>
|
||||
Proxy authentication is also supported:
|
||||
<P>
|
||||
-<BR> export http_proxy="<A HREF="http://user1:mypass@proxy.example.org:8081">http://user1:mypass@proxy.example.org:8081</A>"
|
||||
+<BR> export http_proxy="http://user1:mypass@proxy.example.org:8081"
|
||||
<P>
|
||||
Setting a proxy on the Windows command prompt:
|
||||
<P>
|
||||
-<BR> set http_proxy=<A HREF="http://proxy.example.com:8080">http://proxy.example.com:8080</A>
|
||||
+<BR> set http_proxy=http://proxy.example.com:8080
|
||||
<P>
|
||||
<A NAME="lbAO"> </A>
|
||||
<H2>PERFORMED CHECKS</H2>
|
||||
@@ -470,8 +470,8 @@
|
||||
<H2>NOTES</H2>
|
||||
|
||||
URLs on the commandline starting with <B>ftp.</B> are treated like
|
||||
-<B><A HREF="ftp://ftp.">ftp://ftp.</A></B>, URLs starting with <B>www.</B> are treated like
|
||||
-<B><A HREF="http://www.">http://www.</A></B>.
|
||||
+<B>ftp://ftp.</B>, URLs starting with <B>www.</B> are treated like
|
||||
+<B>http://www.</B>.
|
||||
You can also give local files as arguments.
|
||||
<P>
|
||||
If you have your system configured to automatically establish a
|
||||
@@ -584,7 +584,7 @@
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by
|
||||
-<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||||
+man2html,
|
||||
using the manual pages.<BR>
|
||||
</BODY>
|
||||
</HTML>
|
||||
11
doc/linkcheckerrc.5.html.diff
Normal file
11
doc/linkcheckerrc.5.html.diff
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- linkcheckerrc.5.html.orig 2011-06-15 06:38:09.830998286 +0200
|
||||
+++ linkcheckerrc.5.html 2011-06-15 06:38:18.327310373 +0200
|
||||
@@ -487,7 +487,7 @@
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by
|
||||
-<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||||
+man2html,
|
||||
using the manual pages.<BR>
|
||||
|
||||
</BODY>
|
||||
Loading…
Reference in a new issue