Skip to content

Commit df131bc

Browse files
author
automatic-merge
committed
Merge remote branch 'origin/master' into edge
2 parents 28adc8d + 6b2bb65 commit df131bc

19 files changed

+636
-132
lines changed

source/backend/gnatdoc-backend-html.adb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,21 @@ package body GNATdoc.Backend.HTML is
408408

409409
Copy_Static (Self.System_Resources_Root);
410410
Copy_Static (Self.Project_Resources_Root);
411+
412+
if not Self.Image_Directories.Is_Empty then
413+
declare
414+
Images_Dir : constant GNATCOLL.VFS.Virtual_File :=
415+
Self.Output_Root / "images";
416+
Success : Boolean;
417+
418+
begin
419+
Images_Dir.Make_Dir;
420+
421+
for Directory of reverse Self.Image_Directories loop
422+
Directory.Copy (Images_Dir.Full_Name.all, Success);
423+
end loop;
424+
end;
425+
end if;
411426
end Initialize;
412427

413428
----------

0 commit comments

Comments
 (0)