mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
Generate the enum documentation based of the common/enums.rs
So that makes it harder to forget to update the docs Note that the new builtin_enums.md does not contain a `### Values` section header anymore. Also some enum where documented with the full enum value (such as `TextHorizontalAlignment.left`) while now this is omitted The CI should fail if one forget to run `cargo xtask enumdocs` after adding an enum or changing the docs
This commit is contained in:
parent
fe6463d0ad
commit
9fa59d38cd
10 changed files with 376 additions and 172 deletions
|
@ -8,5 +8,6 @@ The .slint UI Design Language
|
|||
|
||||
Language Reference<markdown/langref.md>
|
||||
markdown/builtin_elements.md
|
||||
markdown/builtin_enums.md
|
||||
markdown/widgets.md
|
||||
markdown/layouting.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue