Increase sidebar density
Dependencies
- [2]
ZVDBFCW7Display arguments when input is invalid - [3]
YTW5RB26Refactor argument type handling into enum - [4]
BMG4FSHNAdd basic `clap` support - [5]
A4E5KLI2Turn arguments into sidebar - [6]
LEJN3E4QGenerate more semantic HTML - [7]
G54GZBS4Remove dependency on clap patches - [8]
ALCCL4VKCreate basic styling - [9]
MIY7QPYKRefactor argument handling into a separate file - [10]
C73UJ7ZYCreate simple `xilem_html` demo
Change contents
- edit in src/main.rs at line 46
el::br(()), - replacement in src/arg.rs at line 4
use xilem_html::{elements as el, Adapt, MessageResult, View, ViewMarker, ViewSequence};use xilem_html::{elements as el, Adapt, MessageResult, View, ViewExt, ViewMarker, ViewSequence}; - replacement in src/arg.rs at line 138
"Error parsing argument, potential defaults:""Error, potential defaults:" - replacement in src/arg.rs at line 148
arg.get_long_help().map(ToString::to_string).unwrap_or_default().strip_prefix(&short_help.to_string()).unwrap_or("No description provided").to_string(),el::blockquote(arg.get_long_help().map(ToString::to_string).unwrap_or_default().strip_prefix(&short_help.to_string()).unwrap_or("No description provided").to_string(),), - edit in src/arg.rs at line 207
.class("arg_item") - edit in index.html at line 5
:root {--section-padding: 10px;}.arg_item {border-top: 1px solid black;margin-bottom: var(--section-padding);}.container {display: flex;} - edit in index.html at line 25
.container {display: flex;} - edit in index.html at line 40
margin-top: 10px; - edit in index.html at line 50
}h3 {margin-top: var(--section-padding);margin-bottom: 5px; - edit in index.html at line 56
ul,h4 {margin-top: 2px;margin-bottom: 0px;}