macro_rules! blog_content_map {
() => { ... };
}Expand description
Generates a blog_content_map() function that returns a
HashMap<&'static str, &'static str> from the build-script output.
Place this at module level in your main.rs:
ⓘ
dioxus_docs_kit::blog_content_map!();Requires dioxus-docs-kit-build in [build-dependencies] and a build.rs
that calls dioxus_docs_kit_build::generate_blog_content_map("blog/_blog.json").