Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
On Tue, Apr 28, 2020 at 11:41 AM Sam Tobin-Hochstadt wrote: > I believe you're missing a `defmodule` inside test.scrbl. > Aha. Okay, I: *) Added @defmodule[test] to the test.scrbl file *) Created a main.rkt that did (require "test.rkt") and (provide (all-from-out "test.rkt")) *) Did a raco pkg

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread Sam Tobin-Hochstadt
I believe you're missing a `defmodule` inside test.scrbl. Sam On Tue, Apr 28, 2020 at 11:32 AM David Storrs wrote: > > Here's my test code. I get the test.html file out at the end and, as > expected, the explanation of bar says "Calls foo" with foo in blue with a red > line underneath. What

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
Here's my test code. I get the test.html file out at the end and, as expected, the explanation of bar says "Calls foo" with foo in blue with a red line underneath. What am I missing? ; test.rkt #lang racket (provide (all-defined-out)) (define (foo) 7) (define (bar) (foo)) -- ; test.sc

Re: [racket-users] Functions not being linked in scribble

2020-04-28 Thread Ben Greenman
On 4/28/20, David Storrs wrote: > According to what I see in Scribble, both actual examples and in the > documentation, I had thought that if I did @defproc[func-name] then > func-name would become a link target and later uses of @racket[func-name] > would automatically link to that site. I'm cle

[racket-users] Functions not being linked in scribble

2020-04-28 Thread David Storrs
According to what I see in Scribble, both actual examples and in the documentation, I had thought that if I did @defproc[func-name] then func-name would become a link target and later uses of @racket[func-name] would automatically link to that site. I'm clearly missing something; my functions are