--- doc/build/generate_web_pages.pl 2003/08/19 13:53:44 1.1 +++ doc/build/generate_web_pages.pl 2024/08/06 10:18:40 1.67 @@ -10,7 +10,7 @@ generate_web_pages.pl - generate the web Yeah, it does that. -Basically, there's a few comments in shell.html that we replace with +Basically, there's a few comments in shell.hemp that we replace with what we really want in the files. Pretty simple. The point of this is to look like the main site. @@ -21,24 +21,58 @@ The point of this is to look like the ma # add/subtract/etc. pages. Index is done seperately. # Title, source -my @pages = ( - ['Red Hat 7.3 Install', 'rh73'], - ['Manual Install from Tarballs', 'manual_install'], - ['Upgrading from Previous LON-CAPA install', 'upgrade'], - ['Post-installation Configuration', 'config'], - ['LON-CAPA License (Gnu Public License)', 'license'] +my @longlifecycle = ( + ['Red Hat Enterprise Linux 9 Install','RHEL9_install'], + ['Red Hat Enterprise Linux 8 Install','RHEL8_install'], + ['Red Hat Enterprise Linux 7 Install','RHEL7_install'], + ['Oracle Linux 9 Install','oracle9_install'], + ['Oracle Linux 8 Install','oracle8_install'], + ['Oracle Linux 7 Install','oracle7_install'], + ['AlmaLinux 9 Install','alma9_install'], + ['AlmaLinux 8 Install','alma8_install'], + ['Rocky Linux 9 Install','rocky9_install'], + ['Rocky Linux 8 Install','rocky8_install'], + ['SuSE Linux Enterprise Server 15 Install', 'sles15_install'], + ['SuSE Linux Enterprise Server 12 Install', 'sles12_install'], + ['Debian 12 Install', 'debian12_install'], + ['Debian 11 Install', 'debian11_install'], + ['Debian 10 Install', 'debian10_install'], + ['Ubuntu 24.04 LTS Install', 'ubuntu24LTS_install'], + ['Ubuntu 22.04 LTS Install', 'ubuntu22LTS_install'], + ['Ubuntu 20.04 LTS Install', 'ubuntu20LTS_install'], + ['Ubuntu 18.04 LTS Install', 'ubuntu18LTS_install'], + ['Ubuntu 16.04 LTS Install', 'ubuntu16LTS_install'], + ['CentOS Stream 9 Install','centos9-stream_install'], + ['CentOS Linux 7 Install','centos7_install'], ); +my @shortlifecycle = ( + ['Fedora 40 Install', 'FC40_install'], + ['Fedora 39 Install', 'FC39_install'], + ['Fedora 38 Install', 'FC38_install'], + ); + +my @ancillary = ( + ['Upgrading from Previous LON-CAPA install', 'upgrade'], + ['LON-CAPA License (Gnu Public License)', 'license'] + ); + +my @other_pages = ( + ['Developer Information', 'dev'], + ['Configuration Information', 'config'], + ); + open SHELL, '<', "shell.html"; my $shell = join '', ; $shell =~ s/\r/\n/g; # Call with: The title, breadcrumb, and content sub replaceText { - my ($title, $breadcrumb, $content) = @_; + my ($title, $links, $breadcrumb, $content) = @_; my $page = $shell; $page =~ s/\