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

docs(iroh-net): Update toplevel module documentation #2329

Merged
merged 5 commits into from
May 29, 2024

Conversation

flub
Copy link
Contributor

@flub flub commented May 27, 2024

Description

This updates the top-level docs for iroh-net to be a general
overview of what the crate provides, since this is effectively the
docs.rs landing page.

Breaking Changes

None

Notes & open questions

This should include an examples section as well. However... the API
is a bit pants and does not lend itself to a nice echo example here.
Let's tackle this separately.

This does not change the README, that is already fairly decent and
seems compatible with this content.

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • [ ] Tests if relevant.
  • [ ] All breaking changes documented.

This updates the top-level docs for iroh-net to be a general
overview of what the crate provides, since this is effectively the
docs.rs landing page.
@flub flub requested a review from divagant-martian May 27, 2024 10:51
Copy link
Contributor

@divagant-martian divagant-martian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot better.

My two comments:

  1. Mention of dns.
  2. There are a few commas missing, and I most likely didn't point them all. Risking being even more pedantic, here there is a small pdf about commas in english from some us university https://www.svsu.edu/media/writingcenter/activedocs/Using%20Commas%20Within%20Sentences.pdf in particular about subordinating conjunctions like when, as, if etc. These felt more in plsce to me so I, as a non-native english speaker, wanted to be sure. Please consider it an education resource for both more than me being a prick 😅

- Use an explicit RelayUrl
- Some rewording
- Describe DNS node discovery
@flub flub requested a review from divagant-martian May 28, 2024 09:52
@flub
Copy link
Contributor Author

flub commented May 28, 2024

2. There are a few commas missing, and I most likely didn't point them all. Risking being even more pedantic, here there is a small pdf about commas in english from some us university https://www.svsu.edu/media/writingcenter/activedocs/Using%20Commas%20Within%20Sentences.pdf in particular about subordinating conjunctions like when, as, if etc. These felt more in plsce to me so I, as a non-native english speaker, wanted to be sure. Please consider it an education resource for both more than me being a prick 😅

That's totally fine! Good resource.

I also liked https://developers.google.com/tech-writing which I'm trying to keep in mind, at least the parts I remember. But I probably need a refresher on it :)

Copy link
Contributor

@divagant-martian divagant-martian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is far better, thanks.

Submitting an approve since the remaining details are fairly minimal

@flub flub enabled auto-merge May 29, 2024 12:48
@flub flub added this pull request to the merge queue May 29, 2024
Merged via the queue into main with commit 4dd69f4 May 29, 2024
25 checks passed
@flub flub deleted the flub/iroh-net-toplevel-doc branch May 29, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants