Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDeny missing docs #563
Comments
killercup
added
documentation
good first issue
help wanted
labels
Jan 1, 2017
This was referenced Jan 1, 2017
This comment has been minimized.
mattjmcnaughton
commented
Jan 6, 2017
|
@killercup I'd love to take a stab at this if possible (first commit in Rust)! I've modified the code to include the |
This comment has been minimized.
Wow, that's amazing, @mattjmcnaughton! Adding the deny itself will just make it not compile any more until all items in that list have doc comments. So we'll have to wait a bit before we can add this. :) Locally, you could also use That's a lot of items to write documentation for, so I it makes sense to have a lot of smaller PRs adding docs for singular modules or traits. Oh, and I totally forgot to link to these guidelines to keep the doc comment style consistent. (Not that I want each doc comment as extensive as the examples in there, though! Please let me know if you have suggestions to improve these guidelines.) |
This comment has been minimized.
Definitely don't submit one PR fixing all of the documented items. One PR per file is about the right size. We can't accept a PR that adds |
This comment has been minimized.
mattjmcnaughton
commented
Jan 7, 2017
|
Sounds like a plan (and thank you for the quick response)! As I understand the code, and as I get the change, I'll make some separate prs with the documentation changes, and when the documented items are fixed, I'll make a pr that adds |
This comment has been minimized.
|
Exactly. And thank you!
Since there are a lot of items to document, this does not need to (and
probably should not) be a one person job. If more people want to help, I'll
add a check list here to track what has already been documented.
If you have any questions regarding the code or the API to document, feel
free to drop by our Gitter room :)
Matt McNaughton <notifications@github.com> schrieb am Sa. 7. Jan. 2017 um
03:41:
… Sounds like a plan (and thank you for the quick response)! As I understand
the code, and as I get the change, I'll make some separate prs with the
documentation changes, and when the documented items are fixed, I'll make a
pr that adds #![deny(missing_docs)].
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#563 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOXxNUaUBr9jJUyekDKsLrBQW5Yvd7ks5rPvt1gaJpZM4LYwv1>
.
|
This comment has been minimized.
stuartellis
commented
Jan 9, 2017
|
I'm new to Rust, but I'd be happy to help with this. |
This comment has been minimized.
|
I just added a few more details on how contribute to the issue description: #563 (comment) |
This comment has been minimized.
stuartellis
commented
Jan 9, 2017
|
@killercup - Thank you for that. @mattjmcnaughton - FWIW, I think that I'll start with just CONTRIBUTING.md and README.md files before trying anything more in-depth myself. |
This comment has been minimized.
stuartellis
commented
Jan 19, 2017
|
Just to say that I am not going to be able to work on this, unfortunately (too many projects, something has to give). |
This comment has been minimized.
|
Sent a very simple (and probably wrong) PR #592 |
This comment has been minimized.
|
Thank you! Every small contribution counts! Don't worry if it's not perfect
at your first try; that's what code review is for! We'll get there together
:)
Erich Cordoba <notifications@github.com> schrieb am Do. 26. Jan. 2017 um
07:36:
… Sent a very simple (and probably wrong) PR #592
<#592>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#563 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOX1kJnAqU8PzmyYqmzlwtx_3sNFEtks5rWD7sgaJpZM4LYwv1>
.
|
killercup
added this to API docs
in Documentation
Feb 12, 2017
This comment has been minimized.
|
Y'all need to review my open PRs so I can close this. ;P |
killercup commentedJan 1, 2017
•
edited
Diesel should have a thoroughly documented API, and I'd like it to compile with
#[deny(missing_docs)]. To make this evenharderbetter, I'd like it to have an example for each major¹ public item.What needs documenting
CONTRIBUTING.md, andREADME.mdfiles for all crate subfolders to (shortly) describe their purpose. (This will also make contributing to this issue easier!)If you want to help
A good size for pull requests is "one pull request per file". This will reduce git churn and it is in general easier to review short PRs.
I would suggest doing the following:
#![deny(missing_docs)]to it (or#[deny(missing_docs)]for items like structs or traits)¹ definition of 'major public item' pending, suggestions welcome😄
² generated with (get
rqwithcargo install record-query)