Replaces :domain:role:target with bare target text.

Returns:

The text with cross-reference markup removed.

Methods

_clean_xrefs

_clean_xrefs(text: str) -> str

Replaces :domain:role:target with bare target text.

Returns:

The text with cross-reference markup removed.

ParameterTypeDescription
textstrThe text to clean.

Generated with Flude

Copyright © 2026