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

Better documentation #48

Open
Arwalk opened this issue Jun 25, 2024 · 3 comments
Open

Better documentation #48

Arwalk opened this issue Jun 25, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Arwalk
Copy link
Owner

Arwalk commented Jun 25, 2024

The current documentation is on the "quick and dirty" side. Enough to start using the library in a few minutes, but could have better explanations.

Also documenting the internals would probably be beneficial for contributors, though the code size is short enough for peope to get into fast.

@Arwalk Arwalk added the documentation Improvements or additions to documentation label Aug 13, 2024
@Arwalk Arwalk added this to the v1.1.0 milestone Oct 14, 2024
@inge4pres
Copy link

inge4pres commented Oct 28, 2024

@Arwalk were you thinking of expanding the README or having a full-blown doc website, e.g. with GitHub pages?
I'd love to add an "examples" folder, maybe re-using the existing protos in the tests folder, on how to used the generated code but also including build.zig files to achieve various config types.

@Arwalk
Copy link
Owner Author

Arwalk commented Oct 28, 2024

I'm not sure we need an entire Github-pages-based website, as the library is fairly easy to use (IMO, but maybe i'm biased?). That said, having a few examples in a more structured manner would be better.

I'm open to ideas, i'd prefer that we establish what is needed and useful before starting.

On the top of my head, having examples of library use for all PB types would be nice (string, byte, submessage, ints...), one example / type to make things clear. Adding all the details for ManagedString usages would be nice.

I'll do a review of issues and subjects this week end i think, i should have a bit of time for that.

Thanks a lot for your interest.

@inge4pres
Copy link

I'm open to ideas, i'd prefer that we establish what is needed and useful before starting.

On the top of my head, having examples of library use for all PB types would be nice (string, byte, submessage, ints...), one example / type to make things clear. Adding all the details for ManagedString usages would be nice.

+1, esepcially on the ManagedString 😄
happy to come up with some examples and more changes to the README and propose a PR once we laid out what should be spelled out first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants