-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Tutorial 'continue.scrbl' signatures rendering confusing to readers #50
Comments
Ya, it does look weird now. How about just inserting some |
I think inserting link breaks is a good temporary solution. In any case, as John Clements said in the mailing list (https://groups.google.com/forum/#!topic/racket-users/hGmq8pzgRGc), using I propose that there should be another family of forms that references the |
Hi
I propose that there should be another family of forms that references
the def* forms. Greg Hendershott proposed ref* which I think is brilliant.
This suggestion should be a feature request against scribble/manual
repository
I’ll look at doing linebreaks as an interim measure.
On Wed, 16 Jan 2019 at 16:19, sorawee ***@***.***> wrote:
I think inserting link breaks is a good temporary solution. In any case,
as John Clements said in the mailing list (
https://groups.google.com/forum/#!topic/racket-users/hGmq8pzgRGc), using
defthing/defproc/def* in the guide is not ideal because we don't want to
define anything and it wouldn't link to the actual definition in the Racket
reference.
I propose that there should be another family of forms that references the
def* forms. Greg Hendershott proposed ref* which I think is brilliant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGmD9MKPOeOngyAs0jtL6XXWMb_mOVlks5vD1EMgaJpZM4aCA3k>
.
--
----
|
We could also re-word to give the I agree |
@sorawee @greghendershott @jeapostrophe @jbclements @mbutterick Hi, To summarise; function signatures rendering reduce readability of the Continue Tutorial (thanks @sorawee for raising this) Options suggested to resolve this include
I see the Continue tutorial as a flagship tutorial for Racket and worth investing some time in. To my mind these the suggestions above can be decided into two broad groups;
i'd like to suggest that both are good proposals and not mutually exclusive;
Is anyone interested in doing or leading one of these tasks, or recruiting someone else who could? (contribution to the racket project looks great on a CV) On the topic of rewriting please see issue #53 Notes:
|
sorry forgot @bennn |
To make the belonging of
|
See also |
IMHO |
The rendering of signatures in the Continue tutorial is confusing to readers
In the tutorial, functions are often described, then followed by their signature in the familiar scribble/manual format.
Unfortunately the hairline at the top of the signature, in addition to the large gap above, and lack of a gap below gives the impression the signature is associated with the subsequent text.
e.g. http://docs.racket-lang.org/continue/index.html?q=specform#%28def._%28%28lib._web-server%2Fservlet..rkt%29._extract-binding%2Fsingle%29%29
My suggestion is the rendering of continue is changed to support the 'description followed by signature' style of the text. I'd suggest moving the hairline to the bottom of the signature, and increasing the spacing between the signature and the subsequent paragraph.
Options to resolve;
https://github.com/racket/web-server/blob/master/web-server-doc/web-server/scribblings/tutorial/continue.scrbl
https://github.com/racket/scribble/blob/master/scribble-lib/scribble/private/manual-proc.rkt
The text was updated successfully, but these errors were encountered: