Skip to content
Snippets Groups Projects
Commit 5b9cfab0 authored by mh17's avatar mh17
Browse files

added extra css header and CVS id

parent fdb84e99
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/perl
# <!-- $Id: docgen,v 1.3 2010-03-09 09:49:03 mh17 Exp $ -->
# generate a *.shtml file to STDOUT from headerless *.html
# css is in ZMap/doc/css/dev_server.css
# menu data is in ZMap/doc/<design>/scripts/ plus also the current dir (file.rel)
......@@ -95,6 +96,7 @@ sub get_dirs
}
$css = "css/dev_server.css"; # relative to $base
$zmap_css = "css/zmap_doc.css"; # tweaks to dev_server standard
return(($dir,$doc,$mydir,$css,$base));
}
......@@ -103,9 +105,10 @@ sub gen_file
print OFILE "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
print OFILE "<html>\n<head>\n\t<title>ZMap Design Documentation</title>\n";
print OFILE "<base href=\"file://$base\" />\n";
print OFILE "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"$css\" />\n</head>\n";
print OFILE "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"$css\" />\n";
print OFILE "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"$zmap_css\" />\n";
print OFILE "<body>\n";
print OFILE "</head>\n<body>\n";
# generate a navbar div using a global as list of links and then adding on local ones
print OFILE "<div class=\"left\">\n";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment