Skip to main content

emit_explore_page

Function emit_explore_page 

Source
pub fn emit_explore_page(root: &Value, app_root: &Path) -> Option<String>
Expand description

Emits the explore page contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::emit_explore_page can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_explore_page(std::path::Path::new("."), std::path::Path::new("apps/dev_docs"));