pub fn handle_page_route(app_root: &Path, page_id: &str) -> Option<String>Expand description
Handles one page route by returning its declared template path.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::handle_page_route.page_id: Input consumed bycrate::runtime::json_commands::handle_page_route.
§Returns
Returns Some when crate::runtime::json_commands::handle_page_route can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::handle_page_route(std::path::Path::new("apps/dev_docs"), "home");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.