Web pages for the SWIG web site at http://www.swig.org
The majority of the SWIG web site consists of pages generated by tools. The subdirectories containing the documentation are generated by developers when a new version of SWIG is released. The remaining pages are generated from the files in this directory by running a simple Python script as follows:
python makeweb.py
- The .ht files contain html markup and fill in the main content of each generated .html file.
- The .ph files contain html markup and php code and contain the main content of each generated .php file.
- The default.* files are template files and are used to provide the same html markup at the top, bottom and side of each of the generated .html and .php files.
The most common changes are made by editing the .ht files, running the Python script then viewing the resulting html pages.
SWIG developers should look at the Makefile for updating the documentation for new releases and for pushing contents to the web server.