pub trait LinkResolver: Send + Sync {
// Required method
fn resolve<'a>(
&'a self,
link: &'a str,
source_path: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'a>>;
}Expand description
A handler for resolving internal links.
This allows the caller to provide custom link resolution logic, including dependency tracking for incremental rebuilds.