From a6add4dab60fc0fa8cfaf3af8d0e23b8396ac676 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 24 Nov 2019 03:58:54 -0500 Subject: [PATCH] doc: Add explicit inheritance support. Adding a `@baseclass` tag will help detect inherited methods and properties without hacks. --- docs/config.ld | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/config.ld b/docs/config.ld index 2b19b604..8d503567 100644 --- a/docs/config.ld +++ b/docs/config.ld @@ -262,6 +262,13 @@ add_custom_tag { } } +-- Define the base class where a method/property is implemented. +-- @baseclass my_module.my_submodule.my_baseclass +add_custom_tag { + name = "baseclass", + hidden = true +} + -- More fitting section names kind_names={topic='Documentation', module='Libraries', script='Sample files'}