www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Even better navigation - thanks Nick Treleaven!

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
We just deployed Nick's work at 
https://github.com/D-Programming-Language/dlang.org/pull/726, which 
enables jump-to navigation for structures. For example, from 
http://dlang.org/phobos/std_array.html#.Appender one can jump easily to 
its methods.

Thanks, Nick!

Andrei
Jan 07 2015
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 1/7/2015 3:18 PM, Andrei Alexandrescu wrote:
 We just deployed Nick's work at
 https://github.com/D-Programming-Language/dlang.org/pull/726, which enables
 jump-to navigation for structures. For example, from
 http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its
 methods.
Schweet!
Jan 07 2015
prev sibling next sibling parent reply "MattCoder" <stop spam.com> writes:
On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu 
wrote:
 ...
 from http://dlang.org/phobos/std_array.html#.Appender one can 
 jump easily to its methods.

 Thanks, Nick!
Well done! I just think that would be nice to have a link to "go back" (Like a Up Arrow on the right corner for example) of each method. Matheus.
Jan 07 2015
next sibling parent "weaselcat" <weaselcat gmail.com> writes:
On Wednesday, 7 January 2015 at 23:30:01 UTC, MattCoder wrote:
 On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei 
 Alexandrescu wrote:
 ...
 from http://dlang.org/phobos/std_array.html#.Appender one can 
 jump easily to its methods.

 Thanks, Nick!
Well done! I just think that would be nice to have a link to "go back" (Like a Up Arrow on the right corner for example) of each method. Matheus.
Agreed, a little up arrow next to the functions to take you back to the parent struct would be nice.
Jan 07 2015
prev sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 1/7/15 3:30 PM, MattCoder wrote:
 On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu wrote:
 ...
 from http://dlang.org/phobos/std_array.html#.Appender one can jump
 easily to its methods.

 Thanks, Nick!
Well done! I just think that would be nice to have a link to "go back" (Like a Up Arrow on the right corner for example) of each method. Matheus.
Thought of the same, but then figured the "Back" button works well. One other comment: the font and styling of the phrase "Jump To:" and the respective targets could be nicer - e.g. smaller and sleeker. -- Andrei
Jan 07 2015
prev sibling next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Wed, Jan 07, 2015 at 03:18:02PM -0800, Andrei Alexandrescu via Digitalmars-d
wrote:
 We just deployed Nick's work at
 https://github.com/D-Programming-Language/dlang.org/pull/726, which enables
 jump-to navigation for structures. For example, from
 http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its
 methods.
 
 Thanks, Nick!
Thanks, Nick! OTOH, there's yet more to fix. The most blatant being, can we please, pretty please with a cherry on top, REMOVE nested symbols like "front", "back", and "empty" from the blob of links at the top of the page??! They are completely meaningless when put out of the context of their containing struct/class (a module like std.range may have several "front"s, and nobody knows which one points to which), and now with Nick's fix they are also redundant. T -- "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net)
Jan 07 2015
prev sibling next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Wed, Jan 07, 2015 at 03:33:23PM -0800, H. S. Teoh via Digitalmars-d wrote:
 On Wed, Jan 07, 2015 at 03:18:02PM -0800, Andrei Alexandrescu via
Digitalmars-d wrote:
 We just deployed Nick's work at
 https://github.com/D-Programming-Language/dlang.org/pull/726, which enables
 jump-to navigation for structures. For example, from
 http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its
 methods.
 
 Thanks, Nick!
Thanks, Nick! OTOH, there's yet more to fix. The most blatant being, can we please, pretty please with a cherry on top, REMOVE nested symbols like "front", "back", and "empty" from the blob of links at the top of the page??! They are completely meaningless when put out of the context of their containing struct/class (a module like std.range may have several "front"s, and nobody knows which one points to which), and now with Nick's fix they are also redundant.
[...] Actually, I take that back. In this particular case "front", "empty", and friends are actually module-level UFCS functions. So actually, this is no longer a problem. Hooray! And sorry for the noise. T -- Those who've learned LaTeX swear by it. Those who are learning LaTeX swear at it. -- Pete Bleackley
Jan 07 2015
prev sibling parent "Colin" <grogan.colin gmail.com> writes:
On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu 
wrote:
 We just deployed Nick's work at 
 https://github.com/D-Programming-Language/dlang.org/pull/726, 
 which enables jump-to navigation for structures. For example, 
 from http://dlang.org/phobos/std_array.html#.Appender one can 
 jump easily to its methods.

 Thanks, Nick!

 Andrei
Nice! std.datetime is a little* nicer to navigate now. (Your not guessing which toISOExtString your clicking on for example). * I do mean a LITTLE. That module is still an enigma wrapped up in a mystery all shrouded in a veil of deceit.
Jan 08 2015