diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2011-01-08 23:17:23 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2011-01-08 23:17:23 +0000 |
commit | 162ced78f42760515136afa1c8ed9677a5119c71 (patch) | |
tree | cf57b33b200b6d5b12acdf220365490e46800224 | |
parent | 892caec201744b4af004ecaa5db18a60c3dbc2dc (diff) | |
download | swig-162ced78f42760515136afa1c8ed9677a5119c71.tar.gz |
Better linkchecker configuration for checking html links. Fix broken links and update redirected links.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Doc/Manual/CSharp.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Contents.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Guile.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Introduction.html | 6 | ||||
-rw-r--r-- | Doc/Manual/Java.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Makefile | 7 | ||||
-rw-r--r-- | Doc/Manual/Modula3.html | 13 | ||||
-rw-r--r-- | Doc/Manual/Ocaml.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Octave.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Python.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Sections.html | 2 | ||||
-rw-r--r-- | Doc/Manual/linkchecker.config | 5 | ||||
-rw-r--r-- | Doc/Manual/maketoc.py | 2 |
13 files changed, 26 insertions, 23 deletions
diff --git a/Doc/Manual/CSharp.html b/Doc/Manual/CSharp.html index 94a3b5f47..6691400b7 100644 --- a/Doc/Manual/CSharp.html +++ b/Doc/Manual/CSharp.html @@ -57,7 +57,7 @@ PInvoke is part of the ECMA/ISO C# specification. It is also better suited for robust production environments due to the Managed C++ flaw called the <a href="http://msdn.microsoft.com/en-us/library/aa290048(VS.71).aspx">Mixed DLL Loading Problem</a>. SWIG C# works equally well on non-Microsoft operating systems such as Linux, Solaris and Apple Mac using -<a href="http://www.mono-project.com/">Mono</a> and <a href="http://www.dotgnu.org/pnet.html">Portable.NET</a>. +<a href="http://www.mono-project.com/Main_Page">Mono</a> and <a href="http://www.dotgnu.org/pnet.html">Portable.NET</a>. </p> <p> diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index 1582bbc4f..a828fdd94 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -5,7 +5,7 @@ <TITLE>SWIG Users Manual</TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> -<H1>SWIG Users Manual</H1> +<H1><a name="Contents"></a>SWIG Users Manual</H1> <p> diff --git a/Doc/Manual/Guile.html b/Doc/Manual/Guile.html index da0b11dd8..111c48214 100644 --- a/Doc/Manual/Guile.html +++ b/Doc/Manual/Guile.html @@ -429,7 +429,7 @@ upper half of the CAR is read from this struct. To get the pointer represented by a smob, the wrapper code calls the function <code>SWIG_ConvertPtr()</code>, passing a pointer to a struct representing the expected pointer type. See also -<a href="Typemaps.html#runtime_type_checker">The run-time type checker</a>. +<a href="Typemaps.html#Typemaps_runtime_type_checker">The run-time type checker</a>. If the Scheme object passed was not a SWIG smob representing a compatible pointer, a <code>wrong-type-arg</code> exception is raised. diff --git a/Doc/Manual/Introduction.html b/Doc/Manual/Introduction.html index 24579d946..a8d15a5c2 100644 --- a/Doc/Manual/Introduction.html +++ b/Doc/Manual/Introduction.html @@ -372,9 +372,9 @@ Microsoft Visual Studio. <p> If you are using the GNU Autotools -(<a href="http://www.gnu.org/software/autoconf">Autoconf</a>/ -<a href="http://www.gnu.org/software/automake">Automake</a>/ -<a href="http://www.gnu.org/software/libtool">Libtool</a>) +(<a href="http://www.gnu.org/software/autoconf/">Autoconf</a>/ +<a href="http://www.gnu.org/software/automake/">Automake</a>/ +<a href="http://www.gnu.org/software/libtool/">Libtool</a>) to configure SWIG use in your project, the SWIG Autoconf macros can be used. The primary macro is <tt>ax_pkg_swig</tt>, see <a href="http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html#ax_pkg_swig">http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html#ax_pkg_swig</a>. diff --git a/Doc/Manual/Java.html b/Doc/Manual/Java.html index 05c5b3114..ef5604a05 100644 --- a/Doc/Manual/Java.html +++ b/Doc/Manual/Java.html @@ -2745,7 +2745,7 @@ Call the <tt>System.runFinalizersOnExit(true)</tt> or <tt>Runtime.getRuntime().r This method is inherently unsafe. It may result in finalizers being called on live objects while other threads are concurrently manipulating those objects, resulting in erratic behavior or deadlock. </i></div> <p>In many cases you will be lucky and find that it works, but it is not to be advocated. -Have a look at <a href="http://java.sun.com">Sun's Java web site</a> and search for <tt>runFinalizersOnExit</tt>. +Have a look at <a href="http://www.oracle.com/technetwork/java/index.html">Java web site</a> and search for <tt>runFinalizersOnExit</tt>. </p></li> <li><p> diff --git a/Doc/Manual/Makefile b/Doc/Manual/Makefile index 011261e76..42149ba3a 100644 --- a/Doc/Manual/Makefile +++ b/Doc/Manual/Makefile @@ -69,7 +69,10 @@ test: validate: all=`sed '/^#/d' chapters`; for a in $$all; do validate --emacs $$a; done; -# Link checking using linkchecker (can take a while - 30 mins) +# Link checking using linkchecker linkchecker: - linkchecker --anchors Contents.html + @echo ----------------------------------------------------------------------- + @echo Note linkchecker versions prior to 6.1 do not work properly wrt anchors + @echo ----------------------------------------------------------------------- + linkchecker --config=./linkchecker.config index.html diff --git a/Doc/Manual/Modula3.html b/Doc/Manual/Modula3.html index 1fd82b459..f9400abee 100644 --- a/Doc/Manual/Modula3.html +++ b/Doc/Manual/Modula3.html @@ -142,7 +142,7 @@ Modula-3 has integrated support for calling C functions. This is also extensively used by the standard Modula-3 libraries to call OS functions. The Modula-3 part of SWIG and the corresponding SWIG library -<a href="../../Lib/modula3/modula3.swg"><tt>modula3.swg</tt></a> +modula3.swg contain code that uses these features. Because of the built-in support there is no need for calling the SWIG kernel to generate wrappers written in C. @@ -394,8 +394,7 @@ so I'm not sure if this is possible or sensible, yet. There are different Modula-3 compilers around: cm3, pm3, ezm3, Klagenfurth Modula-3, Cambridge Modula-3. SWIG itself does not contain compiler specific code -but the library file -<a href="../../Lib/modula3/modula3.swg"><tt>modula3.swg</tt></a> +but the modula3.swg library file may do so. For testing examples I use Critical Mass cm3. </p> @@ -499,9 +498,7 @@ or for a return value. A further typemap may specify the direction that is used for certain parameters. I have chosen this separation -in order to be able to write general typemaps for the typemap library -<a href="../../Lib/modula3/modula3.swg"><tt>modula3.swg</tt></a> -. +in order to be able to write general typemaps for the modula3.swg typemap library. In the library code the final usage of the type is not known. Using separate typemaps for each possible use allows appropriate definitions for each case. @@ -782,9 +779,7 @@ Unqualified import is not supported. <p> It is cumbersome to add this typemap to each piece of Modula-3 code. It is especially useful when writing general typemaps -for the typemap library -<a href="../../Lib/modula3/modula3.swg"><tt>modula3.swg</tt></a> -. +for the modula3.swg typemap library. For a monolithic module you might be better off if you add the imports directly: </p> diff --git a/Doc/Manual/Ocaml.html b/Doc/Manual/Ocaml.html index 1a7c4c97c..56c3db142 100644 --- a/Doc/Manual/Ocaml.html +++ b/Doc/Manual/Ocaml.html @@ -93,7 +93,7 @@ examples and test-suite which come with SWIG. You can do this by running The Ocaml module has been tested using the system's dynamic linking (the usual -lxxx against libxxx.so, as well as with Gerd Stolpmann's <a - href="http://www.ocaml-programming.de/packages/documentation/dl/">Dl package + href="http://download.camlcity.org/download/">Dl package </a>. The ocaml_dynamic and ocaml_dynamic_cpp targets in the file Examples/Makefile illustrate how to compile and link SWIG modules that will be loaded dynamically. This has only been tested on Linux so far. diff --git a/Doc/Manual/Octave.html b/Doc/Manual/Octave.html index 548b518bd..3c08d849b 100644 --- a/Doc/Manual/Octave.html +++ b/Doc/Manual/Octave.html @@ -46,7 +46,7 @@ <p> Octave is a high-level language intended for numerical programming that is mostly compatible with MATLAB. -More information can be found at <a href="http://www.octave.org">www.octave.org</a>. +More information can be found at <a href="http://www.gnu.org/software/octave/">Octave web site</a>. </p> <p> diff --git a/Doc/Manual/Python.html b/Doc/Manual/Python.html index cacb9a368..1b8a3f671 100644 --- a/Doc/Manual/Python.html +++ b/Doc/Manual/Python.html @@ -262,7 +262,7 @@ how you might go about compiling and using the generated files. <p> The preferred approach to building an extension module for python is to compile it with distutils, which comes with all recent versions of python -(<a href="http://docs.python.org/dist/dist.html">Distutils Docs</a>). +(<a href="http://docs.python.org/distutils/index.html">Distutils Docs</a>). </p> <p> diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html index e41954b1c..8f171b985 100644 --- a/Doc/Manual/Sections.html +++ b/Doc/Manual/Sections.html @@ -43,7 +43,7 @@ Last update : SWIG-2.0.2 (in progress) <li><a href="Lisp.html#Lisp">Common Lisp support</a></li> <li><a href="Lua.html#Lua">Lua support</a></li> <li><a href="Modula3.html#Modula3">Modula3 support</a></li> -<li><a href="Mzscheme.html#MzScheme">MzScheme support</a></li> +<li><a href="Mzscheme.html#Mzscheme">MzScheme support</a></li> <li><a href="Ocaml.html#Ocaml">Ocaml support</a></li> <li><a href="Octave.html#Octave">Octave support</a></li> <li><a href="Perl5.html#Perl5">Perl5 support</a></li> diff --git a/Doc/Manual/linkchecker.config b/Doc/Manual/linkchecker.config new file mode 100644 index 000000000..a947b278a --- /dev/null +++ b/Doc/Manual/linkchecker.config @@ -0,0 +1,5 @@ +[checking] +anchors=1 + +[filtering] +ignorewarnings=http-robots-denied diff --git a/Doc/Manual/maketoc.py b/Doc/Manual/maketoc.py index f08804e05..d8c4aa759 100644 --- a/Doc/Manual/maketoc.py +++ b/Doc/Manual/maketoc.py @@ -12,7 +12,7 @@ print >>f, """ <TITLE>SWIG Users Manual</TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> -<H1>SWIG Users Manual</H1> +<H1><a name="Contents"></a>SWIG Users Manual</H1> <p> """ |