Skip to content
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

Improve documentation and examples #186

Open
17 of 31 tasks
emilk opened this issue Feb 20, 2021 · 3 comments
Open
17 of 31 tasks

Improve documentation and examples #186

emilk opened this issue Feb 20, 2021 · 3 comments
Labels
docs and examples Improving and adding documentation and examples good first issue Good for newcomers help wanted Extra attention is needed

Comments

@emilk
Copy link
Owner

emilk commented Feb 20, 2021

Tracking issue for improving the egui docs. Other suggestions for improvements welcome!

All doc-examples need to be part of the doctests (i.e. they should never be marked ignore, though no_run can maybe sometimes be motivated).

egui

The crate-level docs for egui (at https://docs.rs/egui generated from egui/src/lib.rs) should be improved with a tutorial. In addition, all major parts of egui should have a quick example in the crate-level docs

  • Crate-level:
  • Crate-level AND item-level examples for:
    • Label
    • Hyperlink
    • TextEdit
    • Button
    • CheckBox
    • RadioButton
    • SelectableLabel
    • Image
    • ComboBox
    • Slider
    • DragValue
    • Separator
    • CollapsingHeader
    • horizontal and vertcial layouts
    • centered vertical layouts
    • Grid
    • tooltips (on_hover_text)
  • Add a few gifs to the docs (not too many though, as they are difficult to maintain)
  • Links from the web demo to the docs
    • Link from the widget gallery to the docs
    • Link from the slider demo to the docs for the slider
  • Links from the docs to the web demo
    • Link from the crate-level docs to the web demo
    • Link from the Slider-docs to the slider demo window
  • Links from the web demo to its own source code

other

@emilk emilk added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 20, 2021
@olivereanderson
Copy link

Thank you for creating this issue Emil :)

@emilk emilk changed the title Improve documentation Improve documentation and examples Apr 16, 2021
@emilk emilk added the docs and examples Improving and adding documentation and examples label Jan 17, 2022
@pm100
Copy link
Contributor

pm100 commented Jun 8, 2024

Also note that the eframe tutorial video is 3 years old and the code created does not compile anymore

@CalinZBaenen
Copy link

CalinZBaenen commented Jul 23, 2024

I think egui::Options needs better documentation.
I feel like "Some global options that you can read and write." doesn't really explain what it's meant to be used for. — At least with egui::ImageOptions and egui::TextureOptions their purpose is in the name.

This, or maybe Options should be renamed to make its usage more clear.

(I'm a noob though, so maybe I just have to use the library more.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs and examples Improving and adding documentation and examples good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants