Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(release): bump versions and changelogs (#31)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

authored by

github-actions[bot]
github-actions[bot]
and committed by
GitHub
8e437493 d5a7fad5

+78 -85
-7
.sampo/changesets/cranky-runesinger-vipunen.md
··· 1 - --- 2 - packages: 3 - - maudit 4 - release: minor 5 - --- 6 - 7 - The data URI and average RGBA for thumbnails is now calculated lazily, as such the `average_rgba` and `data_uri` fields have been replaced by methods.
-7
.sampo/changesets/gallant-guardian-otso.md
··· 1 - --- 2 - packages: 3 - - maudit 4 - release: patch 5 - --- 6 - 7 - Added caching mechanism to placeholder and image transformation
-51
.sampo/changesets/gallant-knight-louhi.md
··· 1 - --- 2 - packages: 3 - - maudit 4 - release: minor 5 - --- 6 - 7 - Added support for shortcodes in Markdown. Shortcodes allows you to substitute custom content in your Markdown files. This feature is useful for embedding dynamic content or reusable components within your Markdown documents. 8 - 9 - For instance, you might define a shortcode for embedding YouTube videos using only the video ID, or for inserting custom alerts or notes. 10 - 11 - ```markdown 12 - {{ youtube id="FbJ63spk48s" }} 13 - ``` 14 - 15 - Would render to: 16 - 17 - ```html 18 - <iframe 19 - width="560" 20 - height="315" 21 - src="https://www.youtube.com/embed/FbJ63spk48s?si=hUGRndTWIThVY-72" 22 - title="YouTube video player" 23 - frameborder="0" 24 - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 25 - referrerpolicy="strict-origin-when-cross-origin" 26 - allowfullscreen 27 - ></iframe> 28 - ``` 29 - 30 - To define and register shortcodes, pass a MarkdownShortcodes instance to the MarkdownOptions when rendering Markdown content. 31 - 32 - ```rust 33 - let mut shortcodes = MarkdownShortcodes::new(); 34 - 35 - shortcodes.register("youtube", |args, _ctx| { 36 - let id: String = args.get_required("id"); 37 - format!( 38 - r#"<iframe width="560" height="315" src="https://www.youtube.com/embed/{}" frameborder="0" allowfullscreen></iframe>"#, 39 - id 40 - ) 41 - }); 42 - 43 - MarkdownOptions { 44 - shortcodes, 45 - ..Default::default() 46 - } 47 - 48 - // Then pass options to, i.e. glob_markdown in a content source 49 - ``` 50 - 51 - Note that shortcodes are expanded before Markdown is rendered, so you can use shortcodes anywhere in your Markdown content, for instance in your frontmatter. Additionally, shortcodes may expand to Markdown content, which will then be rendered as part of the overall Markdown rendering process.
-7
.sampo/changesets/jovial-firebringer-aurelien.md
··· 1 - --- 2 - packages: 3 - - maudit 4 - release: minor 5 - --- 6 - 7 - Add `is_dev()` function to allow one to toggle off things whenever running in dev
-7
.sampo/changesets/wily-runesinger-joukahainen.md
··· 1 - --- 2 - packages: 3 - - maudit-cli 4 - release: patch 5 - --- 6 - 7 - Fixed dev server reloading for no apparent reason on macOS
+7
crates/maudit-cli/CHANGELOG.md
··· 1 1 # maudit-cli 2 2 3 + ## 0.4.2 4 + 5 + ### Patch changes 6 + 7 + - [da95572](https://github.com/bruits/maudit/commit/da955725e460be405898b5749d64877404636e69) Fixed dev server reloading for no apparent reason on macOS — Thanks @Princesseuh! 8 + 9 + 3 10 ## 0.4.1 4 11 5 12 ### Patch changes
+1 -1
crates/maudit-cli/Cargo.toml
··· 1 1 [package] 2 2 name = "maudit-cli" 3 3 description = "CLI to operate on maudit projects." 4 - version = "0.4.1" 4 + version = "0.4.2" 5 5 license = "MIT" 6 6 edition = "2021" 7 7
+57
crates/maudit/CHANGELOG.md
··· 1 1 # maudit 2 2 3 + ## 0.5.0 4 + 5 + ### Minor changes 6 + 7 + - [d5a7fad](https://github.com/bruits/maudit/commit/d5a7fad563e9642be46b24d8db500e753c1175f5) The data URI and average RGBA for thumbnails is now calculated lazily, as such the `average_rgba` and `data_uri` fields have been replaced by methods. — Thanks @Princesseuh! 8 + - [0403ac9](https://github.com/bruits/maudit/commit/0403ac9996f9d4e79945758fe06e7510729e383e) Add `is_dev()` function to allow one to toggle off things whenever running in dev — Thanks @Princesseuh! 9 + - [39db004](https://github.com/bruits/maudit/commit/39db004b63ab7aa582a92593082e1261bae55b92) Added support for shortcodes in Markdown. Shortcodes allows you to substitute custom content in your Markdown files. This feature is useful for embedding dynamic content or reusable components within your Markdown documents. 10 + 11 + For instance, you might define a shortcode for embedding YouTube videos using only the video ID, or for inserting custom alerts or notes. 12 + 13 + ```markdown 14 + {{ youtube id="FbJ63spk48s" }} 15 + ``` 16 + 17 + Would render to: 18 + 19 + ```html 20 + <iframe 21 + width="560" 22 + height="315" 23 + src="https://www.youtube.com/embed/FbJ63spk48s?si=hUGRndTWIThVY-72" 24 + title="YouTube video player" 25 + frameborder="0" 26 + allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 27 + referrerpolicy="strict-origin-when-cross-origin" 28 + allowfullscreen 29 + ></iframe> 30 + ``` 31 + 32 + To define and register shortcodes, pass a MarkdownShortcodes instance to the MarkdownOptions when rendering Markdown content. 33 + 34 + ```rust 35 + let mut shortcodes = MarkdownShortcodes::new(); 36 + 37 + shortcodes.register("youtube", |args, _ctx| { 38 + let id: String = args.get_required("id"); 39 + format!( 40 + r#"<iframe width="560" height="315" src="https://www.youtube.com/embed/{}" frameborder="0" allowfullscreen></iframe>"#, 41 + id 42 + ) 43 + }); 44 + 45 + MarkdownOptions { 46 + shortcodes, 47 + ..Default::default() 48 + } 49 + 50 + // Then pass options to, i.e. glob_markdown in a content source 51 + ``` 52 + 53 + Note that shortcodes are expanded before Markdown is rendered, so you can use shortcodes anywhere in your Markdown content, for instance in your frontmatter. Additionally, shortcodes may expand to Markdown content, which will then be rendered as part of the overall Markdown rendering process. — Thanks @Princesseuh! 54 + 55 + ### Patch changes 56 + 57 + - [d5a7fad](https://github.com/bruits/maudit/commit/d5a7fad563e9642be46b24d8db500e753c1175f5) Added caching mechanism to placeholder and image transformation — Thanks @Princesseuh! 58 + 59 + 3 60 ## 0.4.0 4 61 5 62 ### Minor changes
+2 -2
crates/maudit/Cargo.toml
··· 4 4 documentation = "https://docs.rs/maudit" 5 5 homepage = "https://maudit.org" 6 6 repository = "https://github.com/bruits/maudit" 7 - version = "0.4.0" 7 + version = "0.5.0" 8 8 license = "MIT" 9 9 edition = "2024" 10 10 ··· 47 47 blake3 = "1.8.2" 48 48 oxc_sourcemap = "4.1.0" 49 49 rayon = "1.11.0" 50 - quanta = "0.12.6" 50 + quanta = "0.12.6"
+8
crates/oubli/CHANGELOG.md
··· 1 + # oubli 2 + 3 + ## 0.1.1 4 + 5 + ### Patch changes 6 + 7 + - Updated dependencies: maudit@0.5.0 8 +
+3 -3
crates/oubli/Cargo.toml
··· 1 1 [package] 2 2 name = "oubli" 3 3 description = "Library for generating documentation websites with Maudit." 4 - version = "0.1.0" 4 + version = "0.1.1" 5 5 license = "MIT" 6 6 edition = "2021" 7 7 8 8 [dependencies] 9 - maudit = { path = "../maudit", version = "*" } 9 + maudit = { path = "../maudit", version = "0.5.0" } 10 10 maud = { workspace = true } 11 - serde = { workspace = true } 11 + serde = { workspace = true }