Commit Graph

11 Commits

Author SHA1 Message Date
William S Fulton baa725e5ff Python shebang modernisation for python3
PEP-394 recommends specifying python2 or python3 in shebangs unless the
script is known to only run in an activated virtual environment.

PEP-394 also says distributors may not provide the python command.
Newer versions of Ubuntu, at least, no longer provide python unless the
python-is-python3 package is explicitly installed.

Removed some shebangs from testcases (the test-suite does not need them).
2024-09-22 22:11:33 +01:00
Seth R. Johnson 8f9a432040
Update python manual scripts to py3 compatibility (#2204) 2022-03-18 13:29:22 +13:00
William S Fulton 62814e4ab7 Fixes to makechap.py to detect ill-formed headers 2018-05-25 07:56:44 +01:00
William S Fulton abe42bbb16 Correct html documentation linking generated by makechap.py script
Corrects position of heading text to be as mentioned in the 4.01
transitional standard, see http://www.w3.org/TR/html4/struct/links.html#h-12.1.1.
For example, changes

<H1><a name="Introduction"></a>2 Introduction</H1>
to
<H1><a name="Introduction">2 Introduction</a></H1>

The changes will convert the old incorrect usage should an html file
using the old approach be added in the future.
2015-12-30 22:22:31 +00:00
William S Fulton 3c0fba5685 SF patch # 3091116 to remove hard coded path to python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 19:57:28 +00:00
Ahmon Dancy b9f5dd107d allegrocl: add Doc/Manual/Allegrocl.html, which was missing from last commit.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-14 18:28:27 +00:00
John Lenz 13ad5fff85 - Updated documentation to use CSS and <div> instead of blockquotes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 02:56:29 +00:00
William S Fulton 7cb896a5f4 Update to generate valid html for the anchor names
Auto generated anchor names won't override a non auto generated anchor name, thereby making it possible to have anchor names that won't change should an extra heading be added earlier in the file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-04 21:24:32 +00:00
William S Fulton 1e8825a601 missing last line added - patch by Robert de Vries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:45:19 +00:00
Art Yerkes 4ef881fde4 Added <H5> rule to makechap.py.
Ocaml.html: Added more about array usage and director typemaps (I got these
questions from users recently).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 18:55:34 +00:00
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00