I want to make some documentation about a project I'm making and I want to make it using #lang scribble/manual
.
Since I have some user-defined procedures I would like to make my manual look like this, what I mean is the blue procedure/syntax
square in the manual.
How can I do something like that?
Thank you!
You can use Scribble forms like
defproc
,defform
, etc. to define these "blue box" blocks in the documentation.The relevant doc pages for those forms have examples which show their use, so I'll just copy one of the examples from the docs which might help you get started:
The docs for
defproc
are here. There are examples for the other forms further down the page.You may also want to read the following guide to documenting Racket libraries: http://docs.racket-lang.org/scribble/how-to-doc.html