-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve the hello world tutorial #107
Conversation
|
dc9d96a
to
0a737f0
Compare
55c6e17
to
f453af3
Compare
I love it! Thanks for the making the hello world tutorial so much nicer. I think this will be a improvement for those new to rust and ratatui. |
code/hello-world-tutorial/Cargo.toml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of having all the code in a top level folder. This is not what is currently done in the rest of the book. I think we should move all the code to the way you've structured it in this PR. Probably a good first issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ideally we'd have a workspace at the root. That way we can build all sources with cargo build. I didn't want to shift things too much in this PR though.
Feel free to merge when you think it is ready! |
- Remove the excess side quests and information in the tutorial (e.g. rustup, LICENSE / README, release compilation, backend choice, specific ratatui versions). - add imports and 4 character indents so that the code is more idiomatic - add simple explanations about the sections of the code - fix heading size (h2 not h3) - add a `code` folder to contain tutorial code which is imported rather than included in the tutorial itself - update images to match the new code TODO: - fix windows reset command
f453af3
to
87456d7
Compare
rustup, LICENSE / README, release compilation, backend choice,
specific ratatui versions).
code
folder to contain tutorial code which is imported ratherthan included in the tutorial itself
TODO: