diff options
Diffstat (limited to 'docs/exdoc')
-rw-r--r-- | docs/exdoc | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/exdoc b/docs/exdoc index 7ce4b9290cc..058a2f7b962 100644 --- a/docs/exdoc +++ b/docs/exdoc @@ -63,6 +63,7 @@ $css EOF @a = split (/\n/, $files_content[$f]); $strikeextra = ""; + $api_shown = 0; for ($ai = 0; $ai < $#a; $ai++){ $line = $a[$ai]; @@ -134,14 +135,16 @@ EOF open HACKOUT, ">$dir/deploy/$name" || die "Could not open output"; $line = 0; + $doprint = 0; while (<HACK>){ + print HACKOUT $last if ($doprint); $line++; s/^\/\/<!\[CDATA\[//; s/^\/\/\]\]>\/\///; # Remove the junk <span> wrapper generated by AgilityPack if ($line==1){ - s/<?span>//; + s/<span>//; } if (/<style type/){ # Replace the CSS in the XHTML output with the original CSS @@ -151,9 +154,13 @@ EOF last if (/<\/style>/); } } - - print HACKOUT $_; + $last = $_; + $doprint = 1; + } + if (!($last =~ /span/)){ + print HACKOUT $last; } + #system ("cp.exe $dir/html/$name $dir/deploy/$name"); } } |