-
Notifications
You must be signed in to change notification settings - Fork 74
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 developer documentation. #540
Conversation
Codecov Report
@@ Coverage Diff @@
## master #540 +/- ##
=======================================
Coverage 87.22% 87.22%
=======================================
Files 21 21
Lines 16283 16283
Branches 3195 3195
=======================================
Hits 14203 14203
Misses 1020 1020
Partials 1060 1060
Continue to review full report at Codecov.
|
Super useful. I learned things! Maybe I should have ignored this until you took off the "draft" tag though... ? |
Yeah, I'm only half way through editing it, but thanks for the comments anyway. I'm going to use the "draft" tag as a "don't bother looking at this yet" protocol. |
This is ready for review now. I changed it a lot, so comments welcome! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Some minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great stuff, just a few nitpicks and broken links. A lot of this I figured out by reading the CI scripts, so nice to have it in proper docs!
BTW are the "commit suggestions" helpful? I think they are ok for small things only as they immediately resolve the conversation. |
Note to self: add more on documentation. How to do a quick drive-by edit when you're on github. How to document a function. Links to sphinx and rst docs,. |
Why not just add an edit button to each doc page that links to the GitHub edit page? |
https://gist.github.com/mgedmin/6052926 Seems like readthedocs has support for this? sphinx-doc/sphinx#2386 |
To go into the C docs somewhere: -tsk_id_t is an ID for any entity in a table
|
Great thanks, I just batched them all together. |
I've made another pass at this, and put a good bit of effort into documenting the documentation process. There's a handholding bit for editing the docs, this is as simple as it can be I think.
Good idea @benjeffery. I've added the "Edit on GitHub" link to the top of the page which seems to work well. Any chance of another look through helpful reviewers? |
I haven't had a careful read, but spot-checking, it looks wonderful. :yay: |
OK, squashed and ready to go. @benjeffery, if you're happy can you merge please? |
Closes tskit-dev#470 Closes tskit-dev#509 Closes tskit-dev#454 Closes tskit-dev#118
I've fixed a broken link, made the git checkout command consistent with the text and added the command to make an upstream remote. Squashed and then force pushed. This time it didn't close the PR! 👍 |
This is awesome and a real step up for the docs. 🌞 Merging! |
I started writing some documentation to explain how to write documentation and I ended up doing a merge between the msprime docs and here. Still some way to go, but we do need to get all this stuff down on paper.
Closes #470
Closes #509
Closes #454
Closes #118