pub fn link_to_python(python_path: &str, from_rust_path: &str) -> StringExpand description
Generate a relative Markdown link from a Rust page to a Python item.
§Arguments
python_path- Full Python path (e.g., “mypackage.module.ClassName”)from_rust_path- The Rust module path (e.g., “crate::utils”)
§Returns
A Markdown link string like [ClassName](../../mypackage/module.md#class-classname)
§Example
use plissken_core::render::link_to_python;
let link = link_to_python("mypackage.utils.Config", "crate::utils");
assert!(link.contains("mypackage/utils.md"));
assert!(link.contains("#class-config"));