aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-10 17:10:50 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-11 18:00:15 +0200
commit8560d5d0045cc5d6d28dcce1bc3e51bf89e5e979 (patch)
treee6ade097c9baa3c2dc52822f8c2250d9f560d760
parentDocument how find-undocumented's pattern builder work. (diff)
downloadcalp-8560d5d0045cc5d6d28dcce1bc3e51bf89e5e979.tar.gz
calp-8560d5d0045cc5d6d28dcce1bc3e51bf89e5e979.tar.xz
Allow find-undocumented to skip files.
-rw-r--r--module/scripts/find-undocumented.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/scripts/find-undocumented.scm b/module/scripts/find-undocumented.scm
index 01dde818..8c321fc2 100644
--- a/module/scripts/find-undocumented.scm
+++ b/module/scripts/find-undocumented.scm
@@ -102,6 +102,9 @@
(define (main . args)
(define source-directory "module")
(define doc-dir "doc/ref")
+ (define skip-files
+ '("module/graphvis.scm"
+ "module/glob.scm"))
(define documented-symbols
(concatenate
@@ -126,6 +129,8 @@
(define defined-symbols
(concatenate
(for path in (all-modules-under-directory source-directory)
+ (when (member path skip-files)
+ (continue))
(define components* (drop (path-split path) (length (path-split source-directory))))
(define name
(map string->symbol