Pyolian gendoc: highlight classes in beta state

This commit is contained in:
Davide Andreoli 2019-10-05 10:30:34 +02:00
parent 13e856075c
commit 40676af383
6 changed files with 33 additions and 7 deletions

View File

@ -2,6 +2,10 @@
~~Title: ${alias.name}$~~
====== ${alias.name}$ (alias) ======
<!--(if alias.is_beta)-->
''beta'' This alias is still in beta, api will probably change
<!--(end)-->
${BEST_SUMMARY(obj=alias)}$
${BEST_DESCRIPTION(obj=alias)}$

View File

@ -2,6 +2,10 @@
~~Title: ${cls.name}$~~
====== ${cls.name}$ (${CLS_TYPE}$) ======
<!--(if cls.is_beta)-->
''beta'' This class is still in beta, api will probably change
<!--(end)-->
${BEST_SUMMARY(obj=cls)}$
${BEST_DESCRIPTION(obj=cls)}$

View File

@ -2,6 +2,10 @@
~~Title: ${enum.name}$~~
====== ${enum.name}$ (enum) ======
<!--(if enum.is_beta)-->
''beta'' This enumeration is still in beta, api will probably change
<!--(end)-->
${BEST_SUMMARY(obj=enum)}$
${BEST_DESCRIPTION(obj=enum)}$

View File

@ -216,6 +216,7 @@ interface#!
<!--(elif ev.is_restart)-->
''restart'' #!
<!--(end)-->
${OBJ_TAGS(obj=ev)}$
<!--(end)-->
#!##############################################################################
#!#### IMPLEMENT_TAGS(impl) ##################################################
@ -228,6 +229,15 @@ interface#!
<!--(elif impl.is_prop_set)-->
''write only'' #!
<!--(end)-->
${OBJ_TAGS(obj=impl)}$
<!--(end)-->
#!##############################################################################
#!#### OBJ_TAGS(obj) #########################################################
#!##############################################################################
<!--(macro OBJ_TAGS)-->
<!--(if obj.is_beta)-->
''beta'' #!
<!--(end)-->
<!--(end)-->
#!##############################################################################
#!#### PARAM_DIRECTION_TAG(param) ############################################

View File

@ -17,49 +17,49 @@ so it can be considered valid for all languages.
<!--(if i == 0)-->
^ Regular Classes ^^
<!--(end)-->
| ${CLS_LINK}$ | ${BEST_SUMMARY(obj=cls)}$ |
| ${CLS_LINK}$ ${OBJ_TAGS(obj=cls)}$ | ${BEST_SUMMARY(obj=cls)}$ |
<!--(end)-->
#!
<!--(for i, cls in enumerate(sorted(ns.abstracts)))-->
<!--(if i == 0)-->
^ Abstract Classes ^^
<!--(end)-->
| ${CLS_LINK}$ | ${BEST_SUMMARY(obj=cls)}$ |
| ${CLS_LINK}$ ${OBJ_TAGS(obj=cls)}$ | ${BEST_SUMMARY(obj=cls)}$ |
<!--(end)-->
#!
<!--(for i, cls in enumerate(sorted(ns.mixins)))-->
<!--(if i == 0)-->
^ Mixins ^^
<!--(end)-->
| ${CLS_LINK}$ | ${BEST_SUMMARY(obj=cls)}$ |
| ${CLS_LINK}$ ${OBJ_TAGS(obj=cls)}$ | ${BEST_SUMMARY(obj=cls)}$ |
<!--(end)-->
#!
<!--(for i, cls in enumerate(sorted(ns.interfaces)))-->
<!--(if i == 0)-->
^ Interfaces ^^
<!--(end)-->
| ${CLS_LINK}$ | ${BEST_SUMMARY(obj=cls)}$ |
| ${CLS_LINK}$ ${OBJ_TAGS(obj=cls)}$ | ${BEST_SUMMARY(obj=cls)}$ |
<!--(end)-->
#!
<!--(for i, typedecl in enumerate(sorted(ns.aliases)))-->
<!--(if i == 0)-->
^ Aliases ^^
<!--(end)-->
| ${TYPEDECL_LINK}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
| ${TYPEDECL_LINK}$ ${OBJ_TAGS(obj=typedecl)}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
<!--(end)-->
#!
<!--(for i, typedecl in enumerate(sorted(ns.structs)))-->
<!--(if i == 0)-->
^ Structures ^^
<!--(end)-->
| ${TYPEDECL_LINK}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
| ${TYPEDECL_LINK}$ ${OBJ_TAGS(obj=typedecl)}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
<!--(end)-->
#!
<!--(for i, typedecl in enumerate(sorted(ns.enums)))-->
<!--(if i == 0)-->
^ Enumerations ^^
<!--(end)-->
| ${TYPEDECL_LINK}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
| ${TYPEDECL_LINK}$ ${OBJ_TAGS(obj=typedecl)}$ | ${BEST_SUMMARY(obj=typedecl)}$ |
<!--(end)-->
<!--(end)-->

View File

@ -2,6 +2,10 @@
~~Title: ${struct.name}$~~
====== ${struct.name}$ (struct) ======
<!--(if struct.is_beta)-->
''beta'' This struct is still in beta, api will probably change
<!--(end)-->
${BEST_SUMMARY(obj=struct)}$
${BEST_DESCRIPTION(obj=struct)}$