Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
5b9cfab0
Commit
5b9cfab0
authored
15 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
added extra css header and CVS id
parent
fdb84e99
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/scripts/docgen
+5
-2
5 additions, 2 deletions
doc/scripts/docgen
with
5 additions
and
2 deletions
doc/scripts/docgen
+
5
−
2
View file @
5b9cfab0
#!/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";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment