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 @@ ...@@ -3,7 +3,7 @@
# must be run from ZMap/doc directory # must be run from ZMap/doc directory
docgen *.html docgen *.html
cd desigm cd Design_notes
docgen *.html docgen *.html
cd modules cd modules
docgen *.html docgen *.html
......
...@@ -22,7 +22,7 @@ sub menudiv ...@@ -22,7 +22,7 @@ sub menudiv
my $in_fieldset = 0; my $in_fieldset = 0;
$file = shift @_; $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>) while ($line = <NAVBAR>)
{ {
......
,Home, ,Home,
index,Documentation Root index,Documentation Root
design/index,Index, Design_notes/index,Index,
design/misc/about,About, Design_notes/misc/about,About,
,ZMap Modules,design/modules/ ,ZMap Modules,Design_notes/modules/
zmapApp,, zmapApp,,
zmapConfig,, zmapConfig,,
zmapControl,, zmapControl,,
......
...@@ -5,8 +5,6 @@ echo "<fieldset> <legend>Summary</legend>" >>$1.html ...@@ -5,8 +5,6 @@ echo "<fieldset> <legend>Summary</legend>" >>$1.html
echo "Forthcoming..." >>$1.html echo "Forthcoming..." >>$1.html
echo "</fieldset>" >>$1.html echo "</fieldset>" >>$1.html
echo ",Related" > $1.rel
docgen $1 docgen $1
echo now update scripts/navbar.rel and design/index.html 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