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

View File

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