Test first generated doc.
This commit is contained in:
parent
abeb773ce4
commit
28ad38926a
3 changed files with 37 additions and 6 deletions
|
@ -1,7 +1,20 @@
|
|||
|
||||
(import duck-extract
|
||||
util-time)
|
||||
(import duck-extract)
|
||||
|
||||
(print "# Utility modules")
|
||||
(newline)
|
||||
(print-module-duck util-time)
|
||||
(define-syntax gen-duck
|
||||
(syntax-rules ()
|
||||
((_ fname title mod ...)
|
||||
(begin
|
||||
(import mod ...)
|
||||
(with-output-to-file fname
|
||||
(lambda ()
|
||||
(print "# " title)
|
||||
(let ()
|
||||
(newline)
|
||||
(print-module-duck mod))
|
||||
...
|
||||
))))))
|
||||
|
||||
(gen-duck "doc/d-utils.md"
|
||||
"Utility modules"
|
||||
util-time)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue