You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently there is some problem with using file->lines to load up code inside codeblock.
Instead of storing the example program in example-cover.rkt and trying to sideload it into overview.scrbl, probably better to actually keep it inside overview.scrbl and run it in an examples evaluator. Thus the example-cover.pdf file will get updated every time the docs are rebuilt.
The bootstrapping process for the docs thus becomes:
touch scribblings/example-cover.png (to prevent errors the very first time you build scribble docs)
Build scribble docs, thus creating my-book.pdf and example-cover.pdf
make png, thus updating example-cover.png
git commit -m 'Update example cover png'
The text was updated successfully, but these errors were encountered:
Apparently there is some problem with using
file->lines
to load up code insidecodeblock
.Instead of storing the example program in
example-cover.rkt
and trying to sideload it intooverview.scrbl
, probably better to actually keep it insideoverview.scrbl
and run it in anexamples
evaluator. Thus theexample-cover.pdf
file will get updated every time the docs are rebuilt.The bootstrapping process for the docs thus becomes:
touch scribblings/example-cover.png
(to prevent errors the very first time you build scribble docs)my-book.pdf
andexample-cover.pdf
make png
, thus updatingexample-cover.png
git commit -m 'Update example cover png'
The text was updated successfully, but these errors were encountered: