Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Dev Docs: Add 114 Pages Of New/Rewritten RPC Docs #693
Conversation
|
I haven't reviewed everything but thus far this looks excellent! @harding Do you think we could keep the previous menu order?
Less childs in the menu makes it more readable, while at the same time making titles more obvious in the texts by using tags instead oftags.Regarding the partially auto-generated summaries.md file, how about we edit this file manually (like references.md and others) and at the same time avoid duplicating the "assign summary_*" lines in each individual RPC file? We could perhaps make the "check-for-missing-rpc-summaries" rule also check for orphan summaries? |
|
@saivann thanks! Re: previous menu order: to draw a quick illustration of current vs new order so I can keep things straight:
I like how putting the JSON-RPC subsection and Quick Reference subsection under the main Remote Procedure Calls section in
I've also tried to make titles more obvious in the individual RPCs by not using subheads or all-bold lines at all. (For example, I used all-italics lines for subsection breaks.) Maybe we could use horizontal rules ( Long-term (e.g. probably for the 0.11 release), I think we should probably move these Bitcoin Core API docs into a separate document focused on Bitcoin Core administration and programming. If we do that, we can promote the Remote Procedure Calls subsection to h2 and the RPCs subsection to h3, making the individual RPCs back into h4s. Re: making summaries.md editable. Yeah, there's a lot of trade-offs here and I'm not sure what the best option is. My main goal here is obviously to make sure that if the description gets updated in one place, it gets updated everywhere else it's used. My secondary goal is to make editing the descriptions as easy as possible for new contributors, and it seemed to me that putting the description in the individual RPCs was the easiest way to do that---it put the summary in context and you or I can always run the manual-update command when we merge in the pull. However, if you think maintaining the summaries in a separate file will be easier, I'll happily update the Makefile rules. Let me know. Thanks again! |
|
@harding Thanks for commenting! Please forget my idea of re-organizing the menu, your plans sound good! In order to make the titles more visible, here's an additional styling change I like in case you like it too:
Re: summaries.md, OK let's not waste precious time on this then. Maintaining them in a separate file seemed a bit more consistent to me with how other similar files are managed. Maybe you could add explicit instructions in the error message in the Makefile (see suggestion below)? I think this would prevent the only situation where I see a future contributor could be left confused.
|
harding
added
the
Dev Docs
label
Dec 30, 2014
|
@saivann added commit harding/bitcoin.org@9329c69 and updated preview based on your feedback. Thanks! As previously announced, in the absence of critical feedback, I plan to merge this branch the morning of January 1st. |
harding
merged commit 9329c69
into
bitcoin-dot-org:master
Jan 3, 2015
harding
added a commit
that referenced
this pull request
Jan 3, 2015
|
@harding Thanks! And sorry again for my recent unavailability, I'll open issues or pull request if I find anything at a later time. |
harding commentedDec 25, 2014
Preview: http://dg1.dtrt.org/en/developer-reference#rpc-quick-reference
Note: I plan on merging this January 1st even if it doesn't get any full reviews. Please comment if you oppose that plan. This is a large amount of text and very boring to read, so if nobody has reviewed it within a week, I expect nobody will ever review it. We still display a disclaimer telling users about the high probability of mistakes.
Major Improvements
Minor (But Fun) Improvements
Not Improved
Future Work For Subequent Pulls
A more straightforward description of the changes can be found in the commit message.