djc / askama

Type-safe, compiled Jinja-like templates for Rust
Apache License 2.0
3.35k stars 215 forks source link

Clean up features #1001

Closed Kijewski closed 2 months ago

Kijewski commented 5 months ago
Kijewski commented 5 months ago

@GuillaumeGomez, do you know if it is possible to generate this page https://docs.rs/crate/askama/0.12.1/features locally?

GuillaumeGomez commented 5 months ago

@GuillaumeGomez, do you know if it is possible to generate this page https://docs.rs/crate/askama/0.12.1/features locally?

We use cargo metadata --format-version 1 and then list the features from there. We could then generate a markdown from that and pass it as argument to rustdoc (like rustdoc features.md, because yes, rustdoc can generate HTML from markdown directly :smile: ).

djc commented 4 months ago

@Kijewski ping?