docbuild.utils.decorators.RegistryDecorator#
- class docbuild.utils.decorators.RegistryDecorator#
A class to register functions in a registry for XML checks.
- __call__(func: F) F #
Register a function as a check.
The method wraps the function unchanged, allowing it to be called with XML elements or trees.
- Parameters:
func – The function to register.
- Returns:
The wrapped function.