Pyolian gendoc: make links to functions actually work

This commit is contained in:
Davide Andreoli 2019-10-03 22:40:16 +02:00
parent b12f07e52b
commit 5c94f62b6d
2 changed files with 8 additions and 9 deletions

View File

@ -57,8 +57,8 @@ ${OBJECT_STATIC_CONTENT(obj=cls, section='description')}$
<!--(for impl in cls.implements)-->
<!--(if impl.is_property)-->
{{anchor:${impl.short_name}$}}
${IMPLEMENT_FULL(impl=impl, cls=cls)}$
\\
<!--(end)-->
<!--(else)-->
No properties defined in this class.
@ -68,8 +68,8 @@ No properties defined in this class.
<!--(for impl in cls.implements)-->
<!--(if impl.is_method)-->
{{anchor:${impl.short_name}$}}
${IMPLEMENT_FULL(impl=impl, cls=cls)}$
\\
<!--(end)-->
<!--(else)-->
No methods defined in this class.
@ -103,4 +103,6 @@ No extensions defined in this class.
<!--(end)-->
| ''${ev.name}$'' | ${BEST_SUMMARY(obj=ev)}$ ${OBJECT_SCOPE(obj=ev)}$ ${EVENT_TAGS}$ | ${TYPE_LINK(type=ev.type) if ev.type else 'None'}$ |
<!--(end)-->
<!--(else)-->
No events defined in this class.
<!--(end)-->

View File

@ -167,12 +167,9 @@ interface#!
<!--(for n in func.class_.namespaces)-->
:${n.lower()}$#!
<!--(end)-->
<!--(if func.type == Eolian_Function_Type.METHOD)-->
:method#!
<!--(else)-->
:property#!
<!--(end)-->
:${func.short_name}$|${func.short_name}$]]
:${func.class_.short_name}$#!
#${func.short_name}$#!
|${func.short_name}$]]
<!--(end)-->
#!##############################################################################
#!#### FUNC_SCOPE(func) ######################################################
@ -305,7 +302,7 @@ ${', ' if i else ''}$#!
<!--(end)-->
<!--(end)-->
) #!
${IMPLEMENT_TAGS}$ #!
${IMPLEMENT_TAGS(impl=impl)}$ #!
<!--(if impl.is_method)-->
<!--(if impl.function.method_return_type)-->
=> //${impl.function.method_return_type.short_name}$// #!