|
@@ -326,7 +326,7 @@ Class DocsMaker
|
|
|
|
|
|
If Not name
|
|
If Not name
|
|
name=path
|
|
name=path
|
|
- If _module=ctype.transFile.module
|
|
|
|
|
|
+ If module=_module
|
|
Local i:=name.FindLast( "." )
|
|
Local i:=name.FindLast( "." )
|
|
If i<>-1 name=name.Slice( i+1 )
|
|
If i<>-1 name=name.Slice( i+1 )
|
|
Endif
|
|
Endif
|
|
@@ -335,6 +335,28 @@ Class DocsMaker
|
|
Return outer+"[["+module.name+":"+path+"|"+name+"]]"+types
|
|
Return outer+"[["+module.name+":"+path+"|"+name+"]]"+types
|
|
Endif
|
|
Endif
|
|
|
|
|
|
|
|
+ Local etype:=Cast<EnumType>( type )
|
|
|
|
+ If etype
|
|
|
|
+
|
|
|
|
+ Local module:=etype.transFile.module
|
|
|
|
+
|
|
|
|
+ Local outer:=""
|
|
|
|
+ Local cscope:=Cast<ClassScope>( etype.scope.outer )
|
|
|
|
+ If cscope And Not name outer=TypeName( cscope.ctype )+"."
|
|
|
|
+
|
|
|
|
+ Local path:=etype.Name
|
|
|
|
+
|
|
|
|
+ If Not name
|
|
|
|
+ name=path
|
|
|
|
+ If module=_module
|
|
|
|
+ Local i:=name.FindLast( "." )
|
|
|
|
+ If i<>-1 name=name.Slice( i+1 )
|
|
|
|
+ Endif
|
|
|
|
+ Endif
|
|
|
|
+
|
|
|
|
+ Return outer+"[["+module.name+":"+path+"|"+name+"]]"
|
|
|
|
+ Endif
|
|
|
|
+
|
|
Local gtype:=Cast<GenArgType>( type )
|
|
Local gtype:=Cast<GenArgType>( type )
|
|
If gtype
|
|
If gtype
|
|
Return gtype.ident
|
|
Return gtype.ident
|