I'm trying to generate documentation information for my Ada project using GNATdoc tool. GNATdoc is able to generate information for all packages except for those packages which are marked as subunits(using the separate identifier). Example -
package body A is
x : Integer;
package B is
y : Natural;
end B;
package body B is separate;
end A;
--------------------------------
separate (A)
package body B is
b1 : Float;
b2 : Character;
end B;
For the above code snippet, GNATdoc does not generate the documentation information for the subunit package contents (b1, b2) even these are present in the .ali files of the respective parent unit.
Any insights as to what maybe wrong here will be much appreciated.