pub fn resolve_docsite_path(request_path: &str) -> Option<PathBuf>Expand description
Resolve a request path to a file in the docsite directory.
Tries the exact path first, then appends .html as fallback.
Returns None if no matching file exists or docsite is not configured.
ยงExamples
use backend_test::backend::docsite::resolve_docsite_path;
// Without docsite configured, always returns None
assert!(resolve_docsite_path("/docs/foo").is_none());