-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Documentation - tracking issue #861
Comments
User-oriented documentation on the various types of |
We could also use some larger and more realistic examples, to illustrate and support discussion of good patterns. For example, a client/server chat system could demonstrate concurrent use of multiple streams, in-stream message framing, and shared state on the server, among other things. |
NIce! I added the points to the list. So @Ralith @djc, I am thinking about the getting-started page. I have some ideas on this, we can use GitHub pages and to write a very nice visual documentation for this library. Also, I want to move the buffers and certificate section from the readme to the getting started such that the README will be simpler. What kind of topics would you like to see documentation on in the getting-started/usage book? |
I've previously used mdbook in Askama, and it seems to be pretty nice and simple to build more structured and complex documentation. Askama also already has GitHub Actions workflow you can copy to set it up in GitHub Pages. |
Some ideas, based on what I find myself explaining to people:
|
Note that rcgen also supports building a CA certificate and certificate chain based on that, so that might be a more attractive option compared to easy-rsa? |
Oh, nice, didn't realize. |
@djc I like your proposal to use md-book. Especially if we have code snippets in the documentation. Github pages can be nice if the documentation will not contain (rust) code. @djc so with Askama we can use templates for HTML, however, I am not sure if I see the customization use case yet. As far I can tell mdbook will fulfill our needs.
|
Not sure why you reference Askama here? I didn't mean that we'd need some customization based on Askama -- just that the Askama contains an example of how to set up an mdbook that you could use as a quickstart.
That should be straightforward to set up, and can be done as soon as it becomes necessary to publish the book.
Doesn't seem like a big issue. You should probably start with a PR making the proposed changes, that is, moving some of the content from the README into a newly created book (which can have just this content for now).
I don't see much value in me creating a branch for you. You should just fork Quinn, start a branch in your fork, and create a PR based off of that branch as soon as it's ready for an initial round of review.
We do PRs for every change, however minor. For minor changes, the review process should be very quick, so the overhead is minimal anyway. Still, in the general case you probably shouldn't send a PR for one typo fix (although it's fine if that happens every once in a while).
We've talked about it a little bit, but I at least wasn't sure what the cost/benefit ratio would be over the current setup. Is this relevant to the documentation setup somehow? |
Sorry, was misinterpreting your original comment. However, now I understand that you spoke about your experience with it.
If it would not directly matter for content to be away for ~1.5 months, then perfect 👍
Nice, that would solve some of the burdens. I just want to prevent taking too much of your time if I make silly mistakes and
It is not documentation related, though it is related to the public-facing aspect which I am trying to improve. The biggest reason is opinion-based, to me an organization makes a library look more professional (own URL, logo as pf foto). But also important is that the library will be owner-agnostic, in a way that if you leave or some other worst-case scenario happens, other people can continue working on it. Lastly, it allows multiple repositories to be part of the project Quinn. Take https://github.com/tokio-rs for example. It is very easy to move the whole crate+issues+prs+all settings to a Github organization. It was just something I wondered about. |
No, I'm saying we would directly start publishing the book, even if incomplete, so the content is always available. |
This repo now lives in the quinn-rs organization. |
There's a problem I'm struggling with. I would like to finish this project because my studies are stacking other projects on my table but at the same time, it takes quite a long time before work is reviewed. @Ralith @djc There are probably a lot of things you spend a lot of time on in daily life and that's understandable. But at the same time, I can't do this task without input and feedback from you. Therefore, if you find it possible, I would like to have more input/involvement in this documentation section so that the work can advance quicker. |
For a study exercise, with the agreement of @djc and @Ralith, I will spend 84 hours on this project. Those 84 hours will be filled in by various documentation related tasks. This issue tracks the work that will be performed and can also serve as a place for discussion. Proposals for documentation-related tasks are welcome, I would like to gather ideas on what we want to improve and write. Code examples, GitHub book, videos, are all valid proposals.
Planning
Ideas
Motivations
The text was updated successfully, but these errors were encountered: