Crate maudit

Crate maudit 

Source
Expand description

§Maudit Logo of Maudit, a crudely crown Logo of Maudit, a crudely crown

A dire coronation, a situation where nobility, power, or status becomes inextricably tied to disastrous circumstances.

Website Crates.io License Build Status Current Crates.io Version CodSpeed Badge Discord

A library for generating static websites with Rust.

🌍 Visit our website to read the documentation and our news

📦 See the crate on Crates.io, and the reference on Docs.rs.

🐛 Report a bug, please read our contributing guidelines and code of conduct first.

💬 Join the discussion on Github and Discord, if you have any questions, ideas, or suggestions.

§Contributing

Contributions are welcome! See our Contributor Guide for help getting started.

§License

Maudit is licensed under the MIT License. See LICENSE for details.

You are currently reading Maudit API reference. For a more gentle introduction, please refer to our documentation.

Modules§

assets
content
Core functions and structs to define the content sources of your website.
errors
Error types for Maudit.
maudmaud
Traits and methods for Maud, a macro for writing HTML templates.
route
Core traits and structs to define the pages of your website.

Macros§

content_sources
Helps to define all sources of content that should be loaded by coronate().
routes
Helps to define every route that should be build by coronate().
shortcode

Structs§

AssetsOptions
BuildOptions
Maudit build options. Should be passed to coronate().
BuildOutput
Metadata returned by coronate() after a successful build.
PageOutput
Metadata returned by coronate() for a single page after a successful build.
StaticAssetOutput
Metadata returned by coronate() for a single static asset after a successful build.

Enums§

AssetHashingStrategy

Constants§

GENERATOR
The version of Maudit being used.

Functions§

coronate
👑 Maudit entrypoint. Starts the build process and generates the output files.
is_dev
Returns whether Maudit is running in development mode (through maudit dev).