Enhancements for the scribble language (a documentation language based on Racket)
Go to file
Matthew Flatt 949c5776c8 scribble/manual: make racketblock fall back to racket-style spacing
When source-location information isn't available, usually due to macros
in compiled modules, make `racketblock` fall back to `racket`-like
spacing. This improvement is visible, for example, in the documentation
for functions like `recycle-icon`.

Using `quote-syntax/srcloc` in a macro is probably a better solution,
because that will preserve the original layout including line breaks,
but the default-spacing fallback seems like an improvement over
unreadable output.

original commit: 86df55a877feca51680aaab9b955ea9220229c14
2014-01-07 16:22:07 -07:00
pkgs/scribble-pkgs scribble/manual: make racketblock fall back to racket-style spacing 2014-01-07 16:22:07 -07:00