Browse Source

* check for redirects also on other level. Fixes tbufdataset.active in the FCL index

git-svn-id: trunk@42138 -
marco 6 years ago
parent
commit
ad44f618da
1 changed files with 7 additions and 2 deletions
  1. 7 2
      utils/fpdoc/dw_htmlchm.inc

+ 7 - 2
utils/fpdoc/dw_htmlchm.inc

@@ -289,7 +289,7 @@ var
   ParentElement: TPasElement;
   ParentElement: TPasElement;
   MemberItem: TChmSiteMapItem;
   MemberItem: TChmSiteMapItem;
   Stream: TMemoryStream;
   Stream: TMemoryStream;
-  s: String;
+  s,s2: String;
 
 
 begin
 begin
   DoLog('Generating Index...');
   DoLog('Generating Index...');
@@ -354,7 +354,12 @@ begin
 
 
           TmpItem := MemberItem.Children.NewItem;
           TmpItem := MemberItem.Children.NewItem;
           TmpItem.Text := ParentElement.Name;
           TmpItem.Text := ParentElement.Name;
-          TmpITem.addLocal(FixHTMLpath(Allocator.GetFilename(TmpElement, 0)));
+          s2:=Allocator.GetFilename(TmpElement, 0);
+          if s<>s2 then
+            begin
+              writeln('Hint: Index2 Resolved:',tmpitem.local,' to ',s);
+              TmpItem.AddLocal(s);
+            end;
         end;
         end;
       end;
       end;
       // routines
       // routines