]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/lilypond-texi2html.init
Build: another ugly hack for website integration.
[lilypond.git] / Documentation / lilypond-texi2html.init
index 9635e3a41b9f206d7756ea9dd51669c43f42b586..8efff62b1022dce8bcb7f11a144a508a81750f01 100644 (file)
@@ -1029,6 +1029,15 @@ sub lilypond_external_href($$$)
   if (defined $file) {
     $href = &$default_external_href($node, $node_id, $node_hxmlt_id, lc($file));
     remove_unneeded_anchor($href);
+
+    # TODO: very yucky, but will be fixed in issue 1004
+    if ($web_manual) {
+      my $only_web = $ENV{ONLY_WEB};
+      if ($only_web) {
+        $href = "../../doc/v2.13/Documentation/web/".$href;
+      }
+    }
+
     return $href;
   } else {
     $href = &$default_external_href($node, $node_id, $node_hxmlt_id);