Memoir_content.RoutingPath resolution and routing system
Convert content path to output file path
val determine_content_type : Base.String.t -> Content_types.content_typeDetermine content type from directory path
val create_route :
Content_types.content_page ->
output_dir:string ->
Content_types.routeCreate a route for a content page
val generate_routes :
Content_types.content_page Base.List.t ->
output_dir:string ->
Content_types.route Base.List.tGenerate routes for all content pages
val ensure_output_directory : Content_types.route -> (unit, string) Base.resultEnsure output directory exists for a route
val find_route_by_url_path :
Content_types.route Base.List.t ->
Base.String.t ->
Content_types.route optionFind a route by URL path
val create_sitemap :
Content_types.route Base.List.t ->
base_url:string ->
string Base.List.tCreate a sitemap of all routes