Skip to content
Browse files

* In HTML output, make the filenames in source section clickable.

  They link to that file in cvsweb.
  • Loading branch information...
1 parent 3877fc5 commit 55227f0e7ddaf0bc5c4d68356e7b8e887683d295 @docelic docelic committed
Showing with 6 additions and 4 deletions.
  1. +1 −3 TODO
  2. +5 −1 bin/refs-autogen
View
4 TODO
@@ -1,9 +1,7 @@
Bugs:
- work on bin/mkreport
- search doc se nevidi jer je search neki actionmap
-- on online docs, mention that obsolete examples are obsolete,
- provide search box, provide static files for download,
- describe keys like alt+n
+- provide static files for download, describe keys like alt+n
- u CVS listi, da je fajl nejm link na CVS
- documentation for bounce and restrict is ignored
- some small error in glossary/pragma at the bottom, [tag pragma]0[/tag]
View
6 bin/refs-autogen
@@ -281,6 +281,7 @@ while ( $path = shift @paths) { # Now, for each IC version specified
$_ .
qq{ "<ulink url='http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/} .
$MANIFEST[$i] . $i{cvstag} . "'>" .
+ #'?rev=' . $hash{revision}{$_}->[0] . ';content-type=text/plain' . "'>" .
$MANIFEST[$i] . qq{</ulink>"} . ">\n";
# If this is the last version we generate docs for, also provide
@@ -292,6 +293,7 @@ while ( $path = shift @paths) { # Now, for each IC version specified
$_ .
qq{ "<ulink url='http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/}.
$MANIFEST[$i] . $i{cvstag} . "'>" .
+ #'?rev=' . $hash{revision}{$_}->[0] . ';content-type=text/plain' . "'>" .
$MANIFEST[$i] . qq{</ulink>"} . ">\n";
}
}
@@ -567,11 +569,13 @@ while ( $path = shift @paths) { # Now, for each IC version specified
{ no warnings; # XXX If someone can figure out which of the used vars here is undefined...
#<screen linenumbering='numbered' startinglinenumber='$ls'>
my $id = make_ok_for_id('context', "$loc $revinfo$ctxmeta", 1);
+ ( my $loc_for_link = $loc) =~ s/\//_/g;
+ my $r = $hash{revision}{$loc}->[0];
$$ag{source} .= <<ENDD;
<para>
</para>
<figure id="$id">
-<title>$loc $revinfo$ctxmeta</title>
+<title>&cvsfile$i{series}-$loc_for_link; $revinfo$ctxmeta</title>
<screen>
<![CDATA[$ctxsdata]]>

0 comments on commit 55227f0

Please sign in to comment.
Something went wrong with that request. Please try again.