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

*.rel now optional

parent 4a5f9f47
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# must be run from ZMap/doc directory
docgen *.html
cd desigm
cd Design_notes
docgen *.html
cd modules
docgen *.html
......
......@@ -22,7 +22,7 @@ sub menudiv
my $in_fieldset = 0;
$file = shift @_;
open(NAVBAR, $file) or die("Can't open $file\n");
open(NAVBAR, $file) or return; # *.rel is optional, we assume navbar.rel is OK
while ($line = <NAVBAR>)
{
......
,Home,
index,Documentation Root
design/index,Index,
design/misc/about,About,
,ZMap Modules,design/modules/
Design_notes/index,Index,
Design_notes/misc/about,About,
,ZMap Modules,Design_notes/modules/
zmapApp,,
zmapConfig,,
zmapControl,,
......
......@@ -5,8 +5,6 @@ echo "<fieldset> <legend>Summary</legend>" >>$1.html
echo "Forthcoming..." >>$1.html
echo "</fieldset>" >>$1.html
echo ",Related" > $1.rel
docgen $1
echo now update scripts/navbar.rel and design/index.html
\ No newline at end of file
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