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 "Edit|History|Report Issue|Discuss" Links To Subheads #682
Conversation
harding
added
the
Dev Docs
label
Dec 13, 2014
|
@harding Great, I like it! My only issue is with readability, I've sent you a pull request to try improving that. Depending on if we keep the "Edit on GitHub" link on the table of content, we should either drop the "sourcefile" information in en/developer-guide|reference|examples, or move this information in each _includes/* files in such a way that we don't set this information twice in two different files IMO. |
|
@saivann thanks! Re: your suggestions,
I updated the preview with both yours and my commits. Thanks again! In the absence of critical feedback, I'll merge this pull in about 48 hours (13:00 UTC Tuesday). |
|
@harding For the record, I haven't had time to test the links or review the new Makefile tests yet, but otherwise this all LGTM. Thanks! |
|
@saivann thanks for all your help! The makefile tests in combination with the new I've scrolled through the entirety of all three pages looking for formatting snafus and checked a bunch of the links without finding any problems. Of course, more testing is always better. |
harding commentedDec 13, 2014
Previews:
This pull adds contextual links below most subheadings. They look like this:
This helps solve a few minor problems with the current Javascript-based left-side links:
Number 3 was my main motivation. On a WIP branch, I've split each of the RPC subsections into a different file, greatly increasing the chance a prospective editor/bug reporter will get the wrong context.
In addition, I think having the links displayed under every section will gently remind users over and over that they too can contribute, or point them in the direction of interactive help if they're confused.
I'm sure this pull can be improved upon, so please let me know what ya'll think.