Creates a wrapper for resolve_filename to strip the virtual group prefix from absolute class paths when generating links inside category landing pages.
Returns:
A callable with the same signature as resolve_filename that strips
Methods
make_resolve_filename_wrapper
make_resolve_filename_wrapper(namespace_name: str, real_resolve_filename: Callable) -> Callable[..., str]
Creates a wrapper for resolve_filename to strip the virtual group prefix from absolute class paths when generating links inside category landing pages.
Returns:
A callable with the same signature as resolve_filename that strips
| Parameter | Type | Description |
|---|---|---|
| namespace_name | str | The namespace these category pages belong to (unused |
| real_resolve_filename | Callable | The renderer’s own resolve_filename bound method. |
Generated with Flude
Copyright © 2026